adobe-research / theseus

A pretty darn cool JavaScript debugger for Brackets
Other
1.34k stars 69 forks source link

WebSockets break the proxy #3

Open alltom opened 11 years ago

alltom commented 11 years ago
  1. Go Live on a page that uses WebSockets through the proxy server (ex: io.connect('http://localhost')) will default to the port of the proxy server)
  2. Wait for the connection to open. It can take a few seconds.
  3. Reload the tab.

The proxy server will refuse the connection. Presumably it has crashed.

If the you connect the socket to the original server directly (ex: io.connect('http://localhost:3000')) then there is no problem.