You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by GitBox <gi...@apache.org> on 2022/12/12 16:41:48 UTC

[GitHub] [incubator-kvrocks] juancrescente created a discussion: Network is unreachable when using domain

GitHub user juancrescente created a discussion: Network is unreachable when using domain

Hi!

I was setting up a new instance and getting a lot of these:

E20221212 16:34:30.149008  8902 replication.cc:251] [replication] Failed to connect the master, err: Network is unreachable

The weird thing is that I was able to connect to the master using the same port and domain using the redis-cli, so it was reachable. The issue was solved when I replaced the domain name by the host IP. I wonder why kvrocks is it not able to connect but the redis-cli is

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1178

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] juancrescente added a comment to the discussion: Network is unreachable when using domain

Posted by GitBox <gi...@apache.org>.
GitHub user juancrescente added a comment to the discussion: Network is unreachable when using domain

adding a though here, is the a domain cache at the app level or something?

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1178#discussioncomment-4380900

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk added a comment to the discussion: Network is unreachable when using domain

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: Network is unreachable when using domain

You can use `nslookup {YOUR DOMAIN}` to have a look at if it's an ipv6 address.

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1178#discussioncomment-4395594

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] juancrescente added a comment to the discussion: Network is unreachable when using domain

Posted by GitBox <gi...@apache.org>.
GitHub user juancrescente added a comment to the discussion: Network is unreachable when using domain

interestingly I was hitting into this issue again. The solution was to move out of unstable to 2.2 and it's gone
@git-hulk 

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1178#discussioncomment-4403029

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] juancrescente added a comment to the discussion: Network is unreachable when using domain

Posted by GitBox <gi...@apache.org>.
GitHub user juancrescente added a comment to the discussion: Network is unreachable when using domain

do we have a way to disable it in kvrocks? 
it's strange that redis-cli is working

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1178#discussioncomment-4391578

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk edited a comment on the discussion: Network is unreachable when using domain

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk edited a comment on the discussion: Network is unreachable when using domain

@juancrescente Wanna confirm if your Kvrocks contains this commit: https://github.com/apache/incubator-kvrocks/pull/1172? if yes, it's caused by `SockConnect` with timeout implementation that doesn't support resolving domain yet. cc @caipengbo 

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1178#discussioncomment-4423413

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk added a comment to the discussion: Network is unreachable when using domain

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: Network is unreachable when using domain

Kvrocks won't cache the domain, it totally depends on OS behavior. I'm wondering if it's related to ipv6.

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1178#discussioncomment-4387425

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] juancrescente added a comment to the discussion: Network is unreachable when using domain

Posted by GitBox <gi...@apache.org>.
GitHub user juancrescente added a comment to the discussion: Network is unreachable when using domain

seems to be ipv4

```
Server:         10.1.0.2
Address:        10.1.0.2#53

Non-authoritative answer:
Name:   kvrocks-master.mydomain.com.internal
Address: 10.1.0.34

```

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1178#discussioncomment-4400708

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk added a comment to the discussion: Network is unreachable when using domain

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: Network is unreachable when using domain

@juancrescente Wanna confirm if your Kvrocks contains this commit: https://github.com/apache/incubator-kvrocks/pull/1172? if yes, it's caused by `SockConnect` with timeout implementation that doesn't support resolving hostname yet. cc @caipengbo 

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1178#discussioncomment-4423413

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk edited a comment on the discussion: Network is unreachable when using domain

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk edited a comment on the discussion: Network is unreachable when using domain

Thanks for @juancrescente feedback, I will investigate it soon.

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1178#discussioncomment-4405583

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org


[GitHub] [incubator-kvrocks] git-hulk added a comment to the discussion: Network is unreachable when using domain

Posted by GitBox <gi...@apache.org>.
GitHub user git-hulk added a comment to the discussion: Network is unreachable when using domain

Thanks @juancrescente feedback, I will investigate it soon.

GitHub link: https://github.com/apache/incubator-kvrocks/discussions/1178#discussioncomment-4405583

----
This is an automatically sent email for issues@kvrocks.apache.org.
To unsubscribe, please send an email to: issues-unsubscribe@kvrocks.apache.org