Open Exilon24 opened 1 year ago
you have tried to connect localhost, could you show me your server side(localhost socket.io server) code?
I forgot to update this issue. I don't actually have server side code on localhost 😬. BUT, I have problems connecting to the API mentioned above. That seems to be a specific problem towards their API as I've managed to connect to other APIs. I'm only leaving this thread open so I can post a solution here when I get it. Sorry for the confusion.
I've written a bit of code to connect to my machine and just make sure it can connect to different URLs. So far, I've had no success using different SocketAPI's so I checked my localhost and I cannot connect to it either. Here is the code:
Output (Debug ran for 40s):
Clearly its not connecting but I don't know why. Am I meant to be running a SocketIO server on my machine elsewhere? If so, how come I have the same problem with other API's? For example, I'm using the streamlabs API here:
And the output for this (Ran for 3m):
Have I made a dumb mistake or something? Because I cannot for the life of me tell what I'm doing wrong. Please help.