-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Unable to resolve domain name when trying to migrate a repo #16881
Comments
If you can't access the url from the device Gitea can't access it too. So yeah, could be a firewall issue. I have a Synology NAS too and can use curl with Github without problems. |
I don't really see what configuration I could change to improve my situation, but I tried the "allow local networks" set to 'true' and now I get a different Error message in the log file:
Though I don't know what I can make of that. |
The device (in my case the NAS) itself can access the repo fine (e.g. I can use the download station to download the code from the repo as .zip file -> the device has access to the internet and the DNS works aswell. |
Turns out, this was not a problem with gitea. If you have issues with containers not being able to access the internet, try this: I added a rule that allowed all ports with a source IP of 172.17.0.0 and 255.255.0.0 for the subnet which is the same as /16. Thanks. |
Docker (20.10.3-0554), running on Synology NAS (920+, DSM 6.2.4-25556) , set up via the DSM Docker GUI. I access gitea via the reverse proxy built into DSM (git.DOMAIN.me:443 -> localhost:3333 [in docker 3333:3000]).
[x]
):UI:
Console:
Logfile:
Description
I don't know if this is the right place for this, but I have searched almost all Issues/Forum posts/Discord messages from the last two years and still don't know an answer.
My Gitea instance is working perfectly fine, I can connect to it from the outside and from inside my network. However, Gitea seems to not be able to "talk" to the outside world or at least the DNS is not resolving.
Whenever I try to migrate or mirror from any outside repo (Public or not; Github/Gitlab/other Gitea; Selfhosted or official) I get the "not a valid URL" error.
Similar to Issue #15570 , When I try to connect or even ping any domain name from inside the gitea docker container, I get this:
If it helps this is the resolv.conf:
Is this some sort of problem with the Device firewall? If so which port do I additionally need to open? Or is this a problem with a DNS server? Honestly, I have no clue anymore, any feedback is appreciated.
...
The text was updated successfully, but these errors were encountered: