Azure / Azure/azure-documentdb-java

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

Offen
#107 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
51
Forks
52
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.