Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Long poll exception problem? #18

Open
ghost opened this Issue · 1 comment

1 participant

@ghost

I get the following from time to time. This is the same no matter what pool I am mining from. I am not tech savvy enough to say if it's a bug or if it's a configuration issue. I thought I might post it in any case.

System is x64 Arch Linux with the poclbm-git package from AUR (pulling from this git tree).

https://aur.archlinux.org/packages.php?ID=49193

19/06/2011 10:19:44, long poll exception:
Traceback (most recent call last):
File "/home/johan/poclbm/BitcoinMiner.py", line 259, in longPollThread
(connection, result) = self.request(connection, url, self.headers)
File "/home/johan/poclbm/BitcoinMiner.py", line 222, in request
response = connection.getresponse()
File "/usr/lib/python2.7/httplib.py", line 1027, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 407, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 365, in _read_status
line = self.fp.readline()
File "/usr/lib/python2.7/socket.py", line 430, in readline
data = recv(1)
timeout: timed out

@clopez

Same problem here... (Debian SID/AMD64). Wit Last poclbm from git (HEAD=cdf3b3c).

This issue happens with some polls (deepbit and mtred for example) but not with others (bicoins.lc)

pit.deepbit.net:8332 06/07/2011 16:35:08, long poll exception:

Traceback (most recent call last):
File "/home/bitcoin/poclbm/BitcoinMiner.py", line 338, in longPollThread
(connection, result) = self.request(connection, url, self.headers)
File "/home/bitcoin/poclbm/BitcoinMiner.py", line 308, in request
result = loads(response.read())
File "/usr/lib/python2.6/json/init.py", line 307, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.6/json/decoder.py", line 319, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.6/json/decoder.py", line 338, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

I though the commit cdf3b3c would fix this but it's not the case.

http://forum.bitcoin.org/index.php?topic=15929.msg331889#msg331889

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.