1

I am trying to connect to remote socket server and i get an error: "Socket connection failed for unknown reasons"

spent a lot of time, and I could not find a solution ( Please, helpe me/ thanks

enter image description here

My client dep: socketcluster-client 9.0.2, angularjs 1.5.7enter image description here

2 Answers2

0

You can try another system which has similar system, check ClusterWS

https://github.com/ClusterWS/ClusterWS

Dmitrii Goriunov
  • 178
  • 2
  • 17
0

I had this exact same error and I was trying to connect to a third party external API that was providing data through websockets. If this is what you are trying to do, socketcluster may not work because it only enables connection with a socketcluster client and a socketcluster server regardless of whether they are in the same domain or different domain. Hope that helps

PirateApp
  • 5,433
  • 4
  • 57
  • 90