node-steam-guide icon indicating copy to clipboard operation
node-steam-guide copied to clipboard

Error: socket hang up

Open 007andmax opened this issue 5 years ago • 3 comments

I have problem:

2019-01-14T16:31:25.036Z - error: Error polling for trade offers: Error: socket hang up 2019-01-14T18:31:43.234Z - error: Error polling for trade offers: Error: socket hang up My server:

  • Ubuntu 14.04 Plesk (64bit)
  • I use nodejs server with express + ssl

I use:

  • ufw
  • iptables

But still have problem. mb you have tutorial how settings server for bot, or mb you can help?

007andmax avatar Feb 20 '19 23:02 007andmax

In the new guide, I'll try to make sure everything is written to be hosted on a server rather than localhost. See #100!

andrewda avatar Jan 04 '20 04:01 andrewda

In the new guide, I'll try to make sure everything is written to be hosted on a server rather than localhost. See #100!

Does this problem exist only on the localhost?

Senzweb avatar Jan 19 '20 03:01 Senzweb

@Senzweb I actually didn't read this closely enough. Looks like the error is likely because we're not using secure websockets. I'll either use wss:// in the new guide, or use polling instead.

andrewda avatar Jan 19 '20 05:01 andrewda