Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server regularly crashes #32

Closed
feross opened this issue Nov 22, 2015 · 1 comment
Closed

Server regularly crashes #32

feross opened this issue Nov 22, 2015 · 1 comment
Labels

Comments

@feross
Copy link
Member

feross commented Nov 22, 2015

We have supervisor listening to automatically restart the server, but we should prevent the crashes because they cause the site to be intermittently unavailable.

Error: socket hang up
    at createHangUpError (_http_client.js:203:15)
    at Socket.socketCloseListener (_http_client.js:235:23)
    at emitOne (events.js:82:20)
    at Socket.emit (events.js:169:7)
    at TCP._onclose (net.js:469:12)
@feross feross added the bug label Nov 22, 2015
feross added a commit that referenced this issue Nov 22, 2015
@feross
Copy link
Member Author

feross commented Nov 22, 2015

Confirmed this is fixed now.

==> www/log/webtorrent.io/site.log <==
Sun, 22 Nov 2015 20:17:00 GMT webtorrent-www:tracker warning: no peer with that `to_peer_id`
Sun, 22 Nov 2015 20:17:00 GMT webtorrent-www:tracker warning: no peer with that `to_peer_id`
Sun, 22 Nov 2015 20:17:09 GMT webtorrent-www:tracker warning: no peer with that `to_peer_id`
Sun, 22 Nov 2015 20:18:02 GMT webtorrent-www:router [proxy error] GET /torrents/sintel-1024-surround.mp4 socket hang up
Sun, 22 Nov 2015 20:19:30 GMT webtorrent-www:tracker warning: no peer with that `to_peer_id`
Sun, 22 Nov 2015 20:20:53 GMT webtorrent-www:router [proxy error] GET /torrents/sintel-1024-surround.mp4 socket hang up
Sun, 22 Nov 2015 20:20:56 GMT webtorrent-www:tracker warning: no peer with that `to_peer_id`
Sun, 22 Nov 2015 20:21:06 GMT webtorrent-www:tracker warning: no peer with that `to_peer_id`
Sun, 22 Nov 2015 20:21:07 GMT webtorrent-www:tracker warning: no peer with that `to_peer_id`

No server crash now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant