Azure / Azure/azure-documentdb-java

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

Open
#107 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
51
Forks
52
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.