mushorg / glastopf

Web Application Honeypot
http://glastopf.org
560 stars 168 forks source link

Glastopf unable to reconnect to Hpfriends #120

Closed nsmfoo closed 11 years ago

nsmfoo commented 11 years ago

If Glastopf after initialization fails to publish data to Hpfriends due to hickups on the receiving end. The connection will not be re-established.

If you are experiencing this issue you will find the following in your logs after each request to Glastopf

2013-08-07 09:46:55,007 (pyhpfeeds) Socket error: [Errno 32] Broken pipe 2013-08-07 09:46:55,008 (pyhpfeeds) Disconnected from broker (in publish).

johnnykv commented 11 years ago

This issue is caused by a bug in the hpfeeds lib. (also see #114 and rep/hpfeeds#21). Temporary fix is to

pip install --upgrade git+https://github.com/johnnykv/hpfeeds.git#egg=hpfeeds
johnnykv commented 11 years ago

The fix har been merged into hpfeeds: rep/hpfeeds#21. Install the updated hpfeeds with:

pip install --upgrade git+https://github.com/rep/hpfeeds.git#egg=hpfeeds