-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
Manager app doesn't follow redirect from server #76
Comments
You have to use proper proxy, not redirection. |
@tananaev So HTTPS listener is proxying the SSL requests locally to Traccar server as you advise. We do have users who their apps are configured to use the HTTP listener, but the Android app fails to follow the redirector and fails with an error instead. The iOS app behaves well in that case. |
If you proxied everything correctly and you have a valid SSL certificate, there should be no issues. |
SSL Cert is not the issue is this works in both iPhone and in a browser (including Android's). That makes sense, as I guess that HttpURLConnection doesn't recourse the request while receiving 302 |
So you are using redirect. Just use correct URL from the beginning. |
We have configured a HTTPS forwarder for our Traccar server.
While configuring Traccar Manager for Android URL upon first execution, configuring the HTTPS URL works. However, configuring the HTTP URL, while relying on redirection by the HTTPS forwarder, results with a server error.
Same configuration with the iPhone Traccar Manager app works well.
Specifying the HTTP URL in Chrome for Android obviously works.
The text was updated successfully, but these errors were encountered: