Vector Source URL redirected from HTTPS to HTTP #2494
Unanswered
sainathsanga
asked this question in
Q&A
Replies: 1 comment
-
You may get better help asking in the maplibre-gl repo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to create map component from custom vector tiles that I am hosting on Maplibre Martin. I am hosting my react application and martin on my kubernetes cluster behind TLS ingress. I can reach martin through HTTPS url on browser and through cURL. For the react application to talk to martin, I have set up CORS on ingress and everything checks out.
While loading the map initially, react application connects to martin on the configured HTTPS url and status is 200. However, all the subsequent tiles are being accessed on HTTP url. Screenshots from the developer console on chrome:
This behavior is causing mixed content errors as browser is blocking HTTP calls.
How can I force all the calls to be HTTPS?
I cannot change anything on the ingress side as the request is being blocked by the browser itself.
Thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions