question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Verify using IPv4 addresess when IPv6 isn't available logic for Armeria's DNS resolvers work

See original GitHub issue

I had a report that after upgrading Armeria, requests started to fail with for example com.linecorp.armeria.client.UnprocessedRequestException: io.netty.channel.AbstractChannel$AnnotatedNoRouteToHostException: null: cloudtrace.googleapis.com/2404:6800:4004:80a:0:0:0:200a:443, scheme=gproto+https, headers=[:method=UNKNOWN, :path=?, :scheme=https, :authority=?], content=DefaultRpcRequest{serviceType=GrpcLogUtil, method=google.devtools.cloudtrace.v2.TraceService/BatchWriteSpans

https://github.com/netty/netty/pull/9048 was added to Netty to fix things like this but there may be a regression after Armeria forked the DNS resolver. Haven’t investigated anything though.

/cc @danada

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
anuraagacommented, Feb 7, 2020

Also for reference, the client being referenced in that stack trace, cloudtrace.googleapis.com does not use an endpoint group, just a normal endpoint.

https://github.com/curioswitch/curiostack/blob/master/common/google-cloud/core/src/main/java/org/curioswitch/curiostack/gcloud/core/grpc/GrpcApiClientBuilder.java#L52

1reaction
minwooxcommented, Feb 6, 2020

Ah, So This is happened after upgrading Armeria, right?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unavailable IPv4 blocks IPv6 dns lookups - Server Fault
I'm using a IPv4 + IPv6 on a server (#1). Sometimes the IPv4 address is mapped to another server (#2), so #1 isn't...
Read more >
DNS server order IPv6/IPv4 - Apple Support Communities
MacOS first tries to connect to DNS server that in IPv6 space, then if fails tries to connect to DNS server of IPv4....
Read more >
DNS - IPv6 registering but not IPv4 - TechNet - Microsoft
With some Vista clients, I noticed in DNS when they dynamically register, that some have IPv4 addresses and IPv6 addresses (this is fine)....
Read more >
Untitled
Auxerre france office de tourisme, Jonathan swift works crossword puzzle clue, Touring mc sverige, Million ways to die in the wild west sheep...
Read more >
Verda - Blog - LINE ENGINEERING
To work with Verda, we created a bucket and used the s3cmd command-line tool to ... Address IPv4 interface address RFC1195 232 IPv6...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found