Azure / Azure/azure-documentdb-java

Error "Date header doesn't conform to the required format" connecting through the proxy

Aperta
#107 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
51
Fork
52
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Attempt to connect from behind the corporate proxy fails.
Using connection policy:
`
ConnectionPolicy policy = ConnectionPolicy.GetDefault();
policy.setConnectionMode(ConnectionMode.Gateway);
policy.setProxy(new HttpHost(...));
`
Leads to the following error when querying the DB:

com.microsoft.azure.documentdb.DocumentClientException: Message: {"Errors":["Date header doesn't conform to the required format. Please ensure that the time is provided in GMT and conforms to RFC 1123 date-time specifications."]}

This is a showstopper for us as we need to connect to Consmos DB from the corporate network.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.