Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Error: socket hang up #97

Open
plowman opened this issue Mar 17, 2017 · 0 comments
Open

Error: socket hang up #97

plowman opened this issue Mar 17, 2017 · 0 comments

Comments

@plowman
Copy link

plowman commented Mar 17, 2017

We're running freight + hubot, and a few times a day, Hubot reports the following error trying to speak to the freight web process:

Error: socket hang up

We are using a supervisor to keep freight going, and the run environment looks something like this:

export PATH=~/.virtualenvs/freight/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
export PYTHONPATH=~/.virtualenvs/freight/lib/python2.7/site-packages/
export FREIGHT_CONF=~/freight/freight.conf.py
~/.virtualenvs/freight/bin/python ~/freight/bin/web --addr :5000 --debug

Unfortunately, there is nothing in the logs that's different from when freight is working normally. So far, the only fix we've found is to just restart the freight webserver.

Do you have any thoughts on why this might be happening?

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

No branches or pull requests

1 participant