-
Notifications
You must be signed in to change notification settings - Fork 216
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
Proxy server blocks API requests ending in ".com" #1745
Comments
I think the issue is specifically related to the |
Hi, sending log file with maximum verbosity. It is as you say. During call to calendar API there is a 403 response from our corporate proxy server, denying the access because of downloading unrecognized media type file. I just masked "id" part of the URL from the response with asterisks. I tried to intercept the call and tamper it manually using trailing slash and it does work. Just don't know how to force it in the app. Thank you. |
📦 Please have a go with hotfix v2.10.2.7.zip (see instructions for applying) and let me know how it goes? |
The first call should fail and then a second call should have the |
Sure, here you go. But I am pretty sure no other request follows after first failure. :( |
The error response you are receiving has completely changed 😕 In your previous log we had the proxy HTML response logged in the
Now you are just getting:
The hotfix I don't believe would have changed this. Have you made a change with your interception? Were/are you using something like Fiddler or BurpSuite? |
Burp Suite for request analysis, but I don't use it when generating logfiles. I had to upgrade the application version from 2.10.0.0 beta to 2.10.2.0 alpha prior to applying the hotfix, so maybe this was the change? |
The Google API libraries were updated in 2.10.1, so I guess they've changed what is being returned - seems a retrograde step to go from the verbose proxy HTTP response to "No error message was specified". Ah well, this is why I always ask for issues to be raised only on the latest alpha....! |
📦 Please give it another go with hotfix v2.10.2.8.zip (see instructions for applying). |
I'm sorry for not using alpha from the beginning. I tried both and decided beta is safer option. Now I can confirm it sends two requests, both without trailing slash though. :( |
📦 Third time's a charm for hotfix v2.10.2.9.zip... 🤞 |
Yep, that did it!
Thank you very much, I appreciate the effort in such specific case. If you need perhaps someone for Czech translation, I can be of help. |
Thanks for confirming and the offer for Czech translations 👍 |
OGCS v2.10.0.0
Hi, today I encountered an issue with corporate proxy server blocking requests to Google API to:
www.googleapis.com/calendar/v3/users/me/calendarList/{id}@group.calendar.google.com
Reason is it stupidly evaulates the request as a download of file with ".com" extension. Solution is to add a slash at the end of request URL like this:
www.googleapis.com/calendar/v3/users/me/calendarList/{id}@group.calendar.google.com/
It still works on Google side and is enough to trick the proxy to allow it through. Only problem is, that if I change the settings.xml file ("Id" tag), OGCS internaly url-encode the value and slash is translated to %2f, which is not working.
So my question is, is there a way how to achieve this change without any third-party tools? Can appending of slash be added as an option to OGCS in future versions?
Thank you.
The text was updated successfully, but these errors were encountered: