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

spesmilo / electrum / 10957 / 3
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 22 Dec 2020 09:54AM UTC
Files 64
Run time 19s
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

22 Dec 2020 09:48AM UTC coverage: 57.818% (+0.002%) from 57.816%
10957.3

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')
...

14148 of 24470 relevant lines covered (57.82%)

0.58 hits per line

Source Files on job 10957.3
  • Tree
  • List 0
  • Changed 39
  • Source Changed 1
  • Coverage Changed 39
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9004
  • Travis Job 10957.3
  • 731756f6 on github
  • Prev Job for on master (#10952.3)
  • Next Job for on master (#10958.1)
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