{"action":"opened","issue":{"url":"https://api.github.com/repos/Genoil/cpp-ethereum/issues/124","repository_url":"https://api.github.com/repos/Genoil/cpp-ethereum","labels_url":"https://api.github.com/repos/Genoil/cpp-ethereum/issues/124/labels{/name}","comments_url":"https://api.github.com/repos/Genoil/cpp-ethereum/issues/124/comments","events_url":"https://api.github.com/repos/Genoil/cpp-ethereum/issues/124/events","html_url":"https://github.com/Genoil/cpp-ethereum/issues/124","id":193696222,"number":124,"title":"Mining Expanse sometimes triggers job timeout error","user":{"login":"miningpoolhub","id":6733455,"avatar_url":"https://avatars.githubusercontent.com/u/6733455?v=3","gravatar_id":"","url":"https://api.github.com/users/miningpoolhub","html_url":"https://github.com/miningpoolhub","followers_url":"https://api.github.com/users/miningpoolhub/followers","following_url":"https://api.github.com/users/miningpoolhub/following{/other_user}","gists_url":"https://api.github.com/users/miningpoolhub/gists{/gist_id}","starred_url":"https://api.github.com/users/miningpoolhub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miningpoolhub/subscriptions","organizations_url":"https://api.github.com/users/miningpoolhub/orgs","repos_url":"https://api.github.com/users/miningpoolhub/repos","events_url":"https://api.github.com/users/miningpoolhub/events{/privacy}","received_events_url":"https://api.github.com/users/miningpoolhub/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-06T06:48:15Z","updated_at":"2016-12-06T06:48:15Z","closed_at":null,"body":"This is a report from one of pool miner.\r\n\r\n------------------------------\r\n  m  00:35:20|ethminer  Mining on PoWhash #fe5431cc : 38.04MH/s [A13+0:R0+0:F0]\r\n  m  00:35:23|ethminer  Mining on PoWhash #fe5431cc : 38.45MH/s [A13+0:R0+0:F0]\r\n  m  00:35:25|ethminer  Mining on PoWhash #fe5431cc : 38.87MH/s [A13+0:R0+0:F0]\r\n  ℹ  00:35:26|stratum  No new work received in 180 seconds.\r\n  ℹ  00:35:26|stratum  Reconnecting in 3 seconds...\r\n  ℹ  00:35:29|stratum  Connecting to stratum server hub.miningpoolhub.com:20565\r\nCould not resolve hosthub.miningpoolhub.com:20565, Operation canceled  ℹ  00:35:29|stratum  Reconnecting in 3 seconds...\r\n  ℹ  00:35:32|stratum  Connecting to stratum server hub.miningpoolhub.com:20565\r\n\r\n\r\nonce disconnected it doesent connect again, only manual restart works\r\n--------------------------------\r\n\r\n\r\nMiningPoolHub sends every new job 55 seconds even when block height did not change, but ethminer ignores that job because headerHash did not change.\r\nAs Expanse's block time is 1 minute, there could be 180 sec (3min) of no job changes normally and miner get disconnected.\r\n\r\nI checked this issue and found that it only updates `p_worktimer` when headerHash changes.\r\nhttps://github.com/Genoil/cpp-ethereum/blob/master/libstratum/EthStratumClient.cpp#L437\r\n\r\nSimply changing timeout to 10 minutes would solve it. Or maybe some stricter condition checker would be good."}}
{"actor":{"display_login":"miningpoolhub"}}