Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ialexandrov opened this issue May 2, 2018 · 2 comments

Comments

@ialexandrov
Copy link

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.

@moderakh
Copy link
Contributor

moderakh commented Jun 7, 2018

don't you get the "Date header doesn't conform to the required format. " error when you don't use proxy?
@ialexandrov

@st0ve
Copy link

st0ve commented Feb 29, 2020

Did you ever find a solution to this issue? I'm running into the exact same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants