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

connection refused #356

Closed
seisdr opened this issue Dec 15, 2023 · 4 comments
Closed

connection refused #356

seisdr opened this issue Dec 15, 2023 · 4 comments

Comments

@seisdr
Copy link

seisdr commented Dec 15, 2023

~/wg $ ./wgcf register
2023/12/15 23:38:20 Using config file: wgcf-account.toml
This project is in no way affiliated with Cloudflare
Cloudflare's Terms of Service: https://www.cloudflare.com/application/terms/
✔ Yes
2023/12/15 23:38:21 Post "https://api.cloudflareclient.com/v0a1922/reg": dial tcp: lookup api.cloudflareclient.com on [::1]:53: read udp [::1]:43031->[::1]:53: read: connection refused
~/wg $
@ViRb3
Copy link
Owner

ViRb3 commented Dec 19, 2023

Seems like api.cloudflareclient.com doesn't resolve to an IP address. If you're running wgcf on Android, then this is a known issue, check #79. Otherwise, make sure you're not blocking the domain via hosts or firewall. Maybe try changing your system DNS? Either way, this is a system issue and unrelated to wgcf, so closing.

@ViRb3 ViRb3 closed this as completed Dec 19, 2023
@seisdr
Copy link
Author

seisdr commented Dec 19, 2023

It used to work fine on termux a couple months ago

@ViRb3
Copy link
Owner

ViRb3 commented Dec 19, 2023

That must have been an accident then. Android is not officially supported at the moment, although doing so should be quite easy. Still haven't had the time to do it, but maybe over Christmas?

For a workaround, try: #31 (comment)

@seisdr
Copy link
Author

seisdr commented Dec 19, 2023

Oh I see, I ran it in a chroot and it's working now, no /etc/resolv.conf doesn't exist in termux
termux witeguard package wg-quick is configured to work with Android
thanks

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

No branches or pull requests

2 participants