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

Long poll exception problem? #18

Open
ghost opened this issue Jun 19, 2011 · 1 comment
Open

Long poll exception problem? #18

ghost opened this issue Jun 19, 2011 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 19, 2011

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
Copy link

clopez commented Jul 6, 2011

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant