Does not work over HTTPS (on Heroku)
See original GitHub issueJust added the route to an Express app I have deployed to Heroku and I’m getting the following error (repeated every second):
Mixed Content: The page at 'https://mysitename.herokuapp.com/status' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://mysitename.herokuapp.com:41338/socket.io/?EIO=3&transport=polling&t=LQPzECX'. This request has been blocked; the content must be served over HTTPS.
XMLHttpRequest cannot load http://mysitename.herokuapp.com:41338/socket.io/?EIO=3&transport=polling&t=LQPzECX. Failed to start loading.
Can you maybe provide a way to specify whether the Socket.io call be made over HTTPS, or better yet, handle this automatically?
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Heroku SSL added but visiting domain still says connection is ...
When I look in my Heroku GUI, at my settings for example-101.herokuapp.com, under 'Custom Domains' it lists www.mycustomdomain.com and mycustomdomain.com, each ...
Read more >Heroku SSL
Heroku doesn't support SSLv3, TLS 1.0, or TLS 1.1 for security reasons. Heroku curates the cipher suites to strike a balance between security ......
Read more >Troubleshooting Heroku SSL errors - DNSimple Help
This article describes somes of the most common errors you may experience when installing a certificate on Heroku, along with the corresponding solutions....
Read more >Https version of web application is not working but http is?
I use Namecheap to setup my DNS and I do this using: CNAME Record | www | www.my_domain.herokudns.com. I found this information using...
Read more >How To Force HTTPS (SSL/TLS) on Heroku - Expedited Security
Before you can force HTTPS connections for clients connecting to your Heroku app you need to implement one of the many different methods...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you guys for your input and fast reaction! Version
0.0.9
has been published on NPM with HTTPS and HTTP support.You can test https support here: https://safe-fjord-78017.herokuapp.com/status
Just checked the latest version - doesn’t work. If I browse to my web site without specifying http/https in the address page, and then add the ‘/status’ route, I get
GET http://www.mysite.com:41338/socket.io/?EIO=3&transport=polling&t=LQQXZPh net::ERR_CONNECTION_REFUSED