-
Notifications
You must be signed in to change notification settings - Fork 947
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
Unable to make call to TimeZoneApi.getTimeZone() through proxy #160
Comments
I've just had some feedback from Stephen@fixie...
I'm going chase this and see I can follow the suggested example but I'm wondering if somebody else has already faced this and managed to get Google Maps Services Java (and by association OkHttp) to use https tunneling? thx |
Just another response from Stephen@fixie...
Are there plans to update the OkHttp dependency from v2.7.5 to a more recent version, e.g. v3.3.1? |
Upgrading to OkHttp 3 is on the todo list. Did I mention that we gladly accept PRs? =) |
@domesticmouse I hear you :) I'll see what I can muster. In any case, it looks as though the issue is with OkHttp and still waiting for the release of pull request square/okhttp#2458 |
It seems like pre-emptive proxy auth may not be necessary. This square/okhttp#2467 (already merged) could also fix the issue for most people. |
Hi, this is Stephen with Fixie. We've updated our proxy to play nicely with OkHttp without preemptive authentication, so you should be safe to close this ticket as long as you're on a version of OkHttp released after they merged #2467. |
@shebson great news, thx! |
I believe this is now dependent on migration to OkHttp3 #148 |
I'm going to close this out as a dupe. Thanks! |
Hi, After spending much effort I still have not been able to successfully make a call to TimeZoneApi.getTimeZone() through a proxy - a proxy is required as I'm making the request from a server running on Heroku and so does not have a fixed IP address. I'm not sure if I should be posting this issue here or to OkHttp or to usefixie (also see fixie@heroku) the proxy provider, but I'm going to start here.
I'm testing on OS X (10.11.6 Beta) and Java 1.8.0_40-b27 and using google-maps-services-0.1.15.jar
Firstly I'm able to successfully use the proxy using curl...
In my Java code I'm configuring the proxy as follows based on the guidance...
Here is the exception I'm getting...
There is a related issue OkHttp #1114 but I couldn't quite understand what the resolution was.
thx
The text was updated successfully, but these errors were encountered: