prawnsalad / KiwiIRC

This is **DEPRECATED**! Please go to https://github.com/kiwiirc/kiwiirc
https://kiwiirc.com
GNU Affero General Public License v3.0
891 stars 277 forks source link

Kiwi cannot connect to freenode in Safari in Firefox (CSP error) #957

Closed CrazyPython closed 5 years ago

CrazyPython commented 5 years ago

Used on: https://webchat.freenode.net/

JS console (Firefox):

Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “http:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “http:” within script-src: ‘strict-dynamic’ specified
This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https://developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffects for further details and to join the discussion on related tools and features!
i@https://webchat.freenode.net/static/js/app.e8000b96a2645b83977c.js:1:313800
a@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:104701
L11a/</</r.prototype.handle@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:104769
value/<@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:128463
L11a/</</i.prototype.emit@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:7:34630
value/this.emit@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:98648
value/<@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:128405
L11a/</</i.prototype.emit@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:7:34630
value/this.emit@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:98648
NOTICE@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:74823
value@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:98202
value@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:98033
value/</<@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:127209
a@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:104754
e@https://webchat.freenode.net/static/js/app.e8000b96a2645b83977c.js:1:32476
a@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:104701
n@https://webchat.freenode.net/static/js/app.e8000b96a2645b83977c.js:1:312083
a@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:104701
L11a/</</r.prototype.handle@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:104769
value/<@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:127131
L11a/</</i.prototype.emit@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:7:34630
value@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:63014
o@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:13:60179
BzvE/i.prototype.emit@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:1:57119
n/<@https://webchat.freenode.net/static/js/app.e8000b96a2645b83977c.js:1:381434
BzvE/i.prototype.emit@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:1:57119
r/n.connect/n.ws.onmessage@https://webchat.freenode.net/static/js/app.e8000b96a2645b83977c.js:1:380700
1iuT/r.prototype.dispatchEvent@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:1:30011
jpNK/</r.prototype._transportMessage/<@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:18:77044
jpNK/</r.prototype._transportMessage@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:18:76995
qMFN/r.prototype.emit@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:24:3762
r/this.ws.onmessage@https://webchat.freenode.net/static/js/vendor.328d3f3669c7d835f5f5.js:18:88579

There is a similar error when I use Kiwi IRC in Safari, even when all extensions are disabled.

Kiwi's error (both browsers):

We couldn't connect to the server :( Closing Link: 71-135-5-88.lightspeed.rlghnc.sbcglobal.net (Connection timed out) 
$ ping 71-135-5-88.lightspeed.rlghnc.sbcglobal.net
PING 71-135-5-88.lightspeed.rlghnc.sbcglobal.net (71.135.5.88): 56 data bytes
64 bytes from 71.135.5.88: icmp_seq=0 ttl=63 time=10.724 ms
64 bytes from 71.135.5.88: icmp_seq=1 ttl=63 time=11.659 ms
prawnsalad commented 5 years ago

This is an unrelated repository. Moved your issue here: https://github.com/freenode/kiwiirc/issues/16