Issues with latest update and socket.io
Posted: Sun Aug 31, 2014 7:23 pm
Hello,
A number of users of my website have reported connection issues since the most recent NoScript update for Firefox. The website has a <script> tag for loading the socket.io client. It appears that this file is neither loaded, nor reported as blocked by NoScript. Once users manually navigate to that URL in another tab, the connection will work fine (assuming they have allowed scripts on my domain).
Steps to reproduce:
1. Install NoScript
2. Navigate to http://cytu.be/r/test
3. Allow scripts from http://cytu.be
4. Observe that an error notice is added to the page stating that the connection failed (this is because the socket.io client didn't load). You can verify that the script didn't load by opening the console and observing that "io" is undefined.
5. Navigate to https://ssl.cytu.be:8443/socket.io/socket.io.js in another tab
6. Reload http://cytu.be/r/test
7. Observe that the page loads as expected, with no connection failures
Any ideas why this is happening or how to fix it?
calzoneman
A number of users of my website have reported connection issues since the most recent NoScript update for Firefox. The website has a <script> tag for loading the socket.io client. It appears that this file is neither loaded, nor reported as blocked by NoScript. Once users manually navigate to that URL in another tab, the connection will work fine (assuming they have allowed scripts on my domain).
Steps to reproduce:
1. Install NoScript
2. Navigate to http://cytu.be/r/test
3. Allow scripts from http://cytu.be
4. Observe that an error notice is added to the page stating that the connection failed (this is because the socket.io client didn't load). You can verify that the script didn't load by opening the console and observing that "io" is undefined.
5. Navigate to https://ssl.cytu.be:8443/socket.io/socket.io.js in another tab
6. Reload http://cytu.be/r/test
7. Observe that the page loads as expected, with no connection failures
Any ideas why this is happening or how to fix it?
calzoneman