acmacalister / jetfire

WebSocket (RFC 6455) client library for iOS & OS X
Apache License 2.0
518 stars 83 forks source link

nw_connection_get_connected_socket 1 Connection has no connected handler #73

Closed bakkiraju closed 7 years ago

bakkiraju commented 7 years ago

On High Sierra Beta (17A362a)

From my OS X command line application When I try to connect to URL ws://127.0.0.1:10134 I see success

But from my OS X app, when I connect to same url, I am seeing

2017-10-06 17:38:14.739725-0700 crafttest[70526:6739789] [] nw_socket_connect connectx failed (fd 14, 127.0.0.1:10134 stream, pid: 70526): [1] Operation not permitted 2017-10-06 17:38:14.739934-0700 crafttest[70526:6739792] [] nw_connection_get_connected_socket 1 Connection has no connected handler 2017-10-06 17:38:14.739956-0700 crafttest[70526:6739792] TCP Conn 0x60c000162400 Failed : error 0:1 [1] 2017-10-06 17:38:14.749492-0700 crafttest[70526:6738000] websocket is disconnected: The operation couldn’t be completed. Operation not permitted

bakkiraju commented 7 years ago

I followed this post and added the capability mentioned there and it worked, it was os x app capability thing not jetfire issue

https://stackoverflow.com/questions/42109952/findersync-extension-http-request-to-failing/42125119