mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[GH-ISSUE #454] Often receive error: No connections available #492
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#492
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sintanial on GitHub (May 11, 2018).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/454
I use trust_dns_resolver to resolve domains, and often i receive error "No connections available"
I receiving it on many hosts, for example: www.gstatic.com, fonts.googleapis.com
Sometimes it's working perfect, sometimes failed :(
In my case, i spawn dns resolver in separate thread, because trust_dns_resolver use old tokio api, but my code use new tokio version, so for solve this collision i use channels and separate thread
@bluejekyll commented on GitHub (May 11, 2018):
Thank you for the example. I’ll take a look a little later. Is it possible your dealing with any faulty connections?
A couple of things to try in the mean time: 1) increase the timeouts in the ResolverOpts, 2) if you can, try master, this has a new tokio library underneath that would be good to rule out as an issue.