subway icon indicating copy to clipboard operation
subway copied to clipboard

Untrusted SSL not working ?

Open fculpo opened this issue 11 years ago • 5 comments

I didn't manage to connect to my personal UnrealIRCd serving a self signed / invalid ssl cert. Subway just hangs at the login screen with the loading gif...

Trusted SSL like freenode are OK (but you knew that already :) )

fculpo avatar Jun 15 '13 22:06 fculpo

I think this might be related:

Subway crashes when I try to connect to some IRC servers with SSL enabled (self-signed or not). For some other servers with SSL it just hangs like in the first post, without any useful info in the console output. However, Freenode SSL works! Non-SSL connections also work fine.

Using node.js v0.10.12 on an Ubuntu box. npm list

Output when it crashes:

user@box:/opt/subway# ./subway
   info  - socket.io started
Subway started on port 3000
Can't resolve image path: ../img/glyphicons-halflings.png
Can't resolve image path: ../img/glyphicons-halflings-white.png
Can't resolve image path: /assets/images/join.png
Can't resolve image path: /assets/images/part.png
Can't resolve image path: /assets/images/topic.png
Can't resolve image path: /assets/images/active.png
Can't resolve image path: /assets/images/idle.png
   debug - served static content /socket.io.js
   debug - client authorized
   info  - handshake authorized PPFN0A-ZJfPqGRywe12N
   debug - setting request GET /socket.io/1/websocket/PPFN0A-ZJfPqGRywe12N
   debug - set heartbeat interval for client PPFN0A-ZJfPqGRywe12N
   debug - client authorized for
   debug - websocket writing 1::
   debug - emitting heartbeat for client PPFN0A-ZJfPqGRywe12N
   debug - websocket writing 2::
   debug - set heartbeat timeout for client PPFN0A-ZJfPqGRywe12N
   debug - got heartbeat packet
   debug - cleared heartbeat timeout for client PPFN0A-ZJfPqGRywe12N
   debug - set heartbeat interval for client PPFN0A-ZJfPqGRywe12N
Restoring connection 1...
node: ../src/node_object_wrap.h:61: static T* node::ObjectWrap::Unwrap(v8::Handle<v8::Object>) [with T = node::crypto::Connection]: Assertion `handle-    >InternalFieldCount() > 0' failed.
Aborted

gyng avatar Jun 25 '13 14:06 gyng

FWIW, I've been connecting to a server that does self-signed SSL for awhile, so it definitely works in at least some cases.

cwc avatar Aug 12 '13 16:08 cwc

Also having this issue. nodejs 0.10.16-1 on cent6 x64 from epel. Self signed SSL cert with IRC server inspircd 2.0.13, not sure to what extent that's relevant.

Preston4tw avatar Oct 04 '13 23:10 Preston4tw

I'm having same issue with node 0.10.21 and ZNC bouncer...

subterfugium avatar Oct 29 '13 12:10 subterfugium

I'm having the same issue. Running a ZNC bouncer with certificate signed by private CA. Symptoms are exactly the same as fculpo reports.

tlaundal avatar Feb 09 '14 18:02 tlaundal