Caused by HTTP Strict Transport Security (aka HSTS),mentioned here
It mentioned that you can visit chrome://net-internals/#hsts to unload HSTS preloading through the UI interface for the corresponding URL.
At the same time, you can also exclude the corresponding URL in chrome://settings/content/insecureContent.
But our service needs to be deployed to different servers or virtual machines, it should not be manual.
what i expected?
Is there a way to disable HSTS by using code? Or force the use of http protocol to access the specified URL?
I have the same issue and haven't come to a better solution than changing the url to desired (before redirect) in the delay of EC by hand (this works for my testing purposes).
What happened?
When I pass an URL to load a website, say, http://yoururl.com, it redirects to https://yoururl.com
What caused it?
Caused by HTTP Strict Transport Security (aka HSTS),mentioned here It mentioned that you can visit chrome://net-internals/#hsts to unload HSTS preloading through the UI interface for the corresponding URL. At the same time, you can also exclude the corresponding URL in chrome://settings/content/insecureContent. But our service needs to be deployed to different servers or virtual machines, it should not be manual.
what i expected?
Is there a way to disable HSTS by using code? Or force the use of http protocol to access the specified URL?
Any help would be grateful!