Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 Hosting Provider down #815

Closed
sindudas opened this issue Jan 20, 2023 · 6 comments
Closed

IPv6 Hosting Provider down #815

sindudas opened this issue Jan 20, 2023 · 6 comments

Comments

@sindudas
Copy link

Description

When tried to do an ebusd restart, failed because can't connect to the hosting provider (now I know it). It was version 22.4, and done upgrade to 23.1 to see if resolves the issue.

At version 23.1:

2023-01-20 09:33:55.004 [network error] HTTP connect: invalid result -1
2023-01-20 09:33:55.005 [network error] HTTP method: 336462231=shutdown while in init
2023-01-20 09:33:55.005 [main error] invalid configPath URL (connect)

Done a tcpdump to see where it's trying to connect to. And got it was try with the IPv6 server.

Actual behavior

After setting static entry for "cfg.ebusd.eu" on the router, I got success trying to start ebusd

Expected behavior

If Hosting Provider got issues on IPv6 acces, it needs to be resolved.

It could be made to cache the information initially downloaded, so that if a subsequent start fails the connection it would not stop and use the cached information. It's just a suggestion, and I don't know if it's too crazy

ebusd version

23.1

ebusd arguments

--scanconfig -d enh:XXXXXXX:9999 -n --mqtthost=XXXXXX --mqttport=1883 --mqttuser=XXXXXXX --mqttpass=XXXXXXXXX --mqttlog --mqttjson --httpport=8080

Operating system

Debian 11 (Bullseye) / Ubuntu 20-21 / Raspbian 11 / Raspberry Pi OS 11 (including lite)

CPU architecture

x64

Dockerized

None

Hardware interface

adapter 3.0 WiFi

Related integration

other

Logs

2023-01-20 09:33:46.018 [network error] HTTP connect: invalid result -1
2023-01-20 09:33:46.018 [network error] HTTP method: 336462231=shutdown while in init
2023-01-20 09:33:46.018 [main error] invalid configPath URL (connect)

@john30
Copy link
Owner

john30 commented Jan 30, 2023

interesting. did you set the static value to IPv4 or v6?

@sindudas
Copy link
Author

sindudas commented Jan 31, 2023 via email

@john30
Copy link
Owner

john30 commented Feb 18, 2023

I guess this was temporary as currently a connection to v6 works. can you check again?

@sindudas
Copy link
Author

It works again, disabling the local dns hack.

@john30
Copy link
Owner

john30 commented Jun 3, 2023

solved with 30cf1a9 (see #751)

@john30 john30 closed this as completed Jun 3, 2023
@mefisto22
Copy link

It works again, disabling the local dns hack.

same issue here. how you solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants