You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get the Ratchet Push Integration Tutorial working and have run into a few issues. I am using Windows 7 and XAMPP. This issue has also been posted here.
When I run the following in cmd.exe (command line) to start the executable (push-server.php) nothing seems to happen:
C:\xampp\htdocs>php bin/push-server.php
There is a flashing prompt below the line but nothing else happens. I have to hit Ctrl + C to get out of it.
When I first loaded the page with the client side script in my web browser I got the following errors (in the JavaScript console):
[blocked] The page at 'https://localhost/' was loaded over HTTPS, but ran insecure content from 'ws://localhost:8080/': this content should also be loaded over HTTPS.
Uncaught SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.
Since my website runs over HTTPS I made the following changes:
ws://localhost:8080 CHANGED TO wss://localhost:8080
However, after these changes I still get the following error and warning:
WebSocket connection to 'wss://localhost:8080/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
WebSocket connection closed
As I was setting up the push integration tutorial I documented everything I did step by step. You can view this document here. I'm hoping someone will be able to help me figure out where I went wrong so that I can get the push integration tutorial working. Please feel free to make changes to the document I attached with any corrections. I think it would be useful to have a correct version of this step by step document to help people setup this tutorial in Windows & XAMPP.
Please let me know if you have any questions. I greatly appreciate all of your help!
The text was updated successfully, but these errors were encountered:
Hello everyone,
I am trying to get the Ratchet Push Integration Tutorial working and have run into a few issues. I am using Windows 7 and XAMPP. This issue has also been posted here.
C:\xampp\htdocs>php bin/push-server.php
There is a flashing prompt below the line but nothing else happens. I have to hit Ctrl + C to get out of it.
Since my website runs over HTTPS I made the following changes:
However, after these changes I still get the following error and warning:
As I was setting up the push integration tutorial I documented everything I did step by step. You can view this document here. I'm hoping someone will be able to help me figure out where I went wrong so that I can get the push integration tutorial working. Please feel free to make changes to the document I attached with any corrections. I think it would be useful to have a correct version of this step by step document to help people setup this tutorial in Windows & XAMPP.
Please let me know if you have any questions. I greatly appreciate all of your help!
The text was updated successfully, but these errors were encountered: