• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

spesmilo / electrum / 10957
63%

Build:
DEFAULT BRANCH: master
Ran 22 Dec 2020 09:54AM UTC
Jobs 3
Files 64
Run time 33s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
10957

push

travis-ci

SomberNight
<a href="https://github.com/spesmilo/electrum/commit/<a class=hub.com/spesmilo/electrum/commit/731756f6e86a009dc3bd85dc72c5d5a8e897637a">731756f6e<a href="https://github.com/spesmilo/electrum/commit/731756f6e86a009dc3bd85dc72c5d5a8e897637a">&quot;&gt;dns hacks: use a default timeout of 30 sec for dns requests

dnspython changed the overall timeout for a request from 30 sec to 5 sec in version 2.0
(see https://github.com/rthalley/dnspython/commit/</a><a class="double-link" href="https://github.com/spesmilo/electrum/commit/<a class="double-link" href="https://github.com/spesmilo/electrum/commit/7ed1648b8427e77b1f21d1896ca8aaff11598e74">7ed1648b8</a>">7ed1648b8</a><a href="https://github.com/spesmilo/electrum/commit/731756f6e86a009dc3bd85dc72c5d5a8e897637a"> )

5 seconds is not enough in some network conditions...
We manually set the timeout back to 30 sec.

Note that in case these dns hacks are applied, and the timeout is reached,
we fallback to the system dns resolver, which hopefully can get a response.

-----

log was full of:

I | dns_hacks | dnspython failed to resolve dns (AAAA) for &#39;electrum.org&#39; with error: Timeout(&#39;The DNS operation timed out after 5.000827789306641 seconds&#39;)
I | dns_hacks | dnspython failed to resolve dns (A) for &#39;electrum.org&#39; with error: Timeout(&#39;The DNS operation timed out after 5.000998020172119 seconds&#39;)
I | dns_hacks | dnspython failed to resolve dns (AAAA) for &#39;electrum.hsmiths.com&#39; with error: Timeout(&#39;The DNS operation timed out after 5.000227451324463 seconds&#39;)
I | dns_hacks | dnspython failed to resolve dns (A) for &#39;electrum.hsmiths.com&#39; with error: Timeout('The DNS operation timed out after 5.000523328781128 seconds')
...

14044 of 24361 relevant lines covered (57.65%)

1.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10957.1 22 Dec 2020 09:54AM UTC 0
57.58
Travis Job 10957.1
2 10957.2 22 Dec 2020 09:54AM UTC 0
57.58
Travis Job 10957.2
3 10957.3 22 Dec 2020 09:54AM UTC 0
57.82
Travis Job 10957.3
Source Files on build 10957
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #10957
  • 731756f6 on github
  • Prev Build on master (#10952)
  • Next Build on master (#10958)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc