-
-
Notifications
You must be signed in to change notification settings - Fork 959
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
Port 22: No route to host when pushing to Self-Hosted Gitlab via Merge Request #8997
Comments
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you! |
Check networking setup:
|
Hello,
It still seems weird to me that the behavior to push is different that the one to pull ?! |
I don't think it's related to the push, but something has changed in the networking meanwhile. Docker network using the same IPv4 range as some others is a typical example – it works sometimes depending on what lands in ARP cache. |
Are you sure it's a Docker issue ? |
Is your component push url also including the port? |
Sure |
Weblate does no processing here – it just configures these URLs in git and calls |
Is there any way I can try to debug this or show logs ? |
The repository is stored in /data/vcs/PROJECT/COMPONENT/, you can check the content of |
Indeed, the URLs are not right:
The last push URL, the Weblate remote (what is it ?) is missing the port |
Ah, I didn't notice that in the initial post. In the case of merge requests, Weblate uses the GitLab API to create a fork and then uses whatever GitLab returns as an SSH URL for the repository. Would it be possible to configure GitLab so that it reports a valid SSH URL? As a workaround, you can configure push branch in Weblate, it will then push to the existing repository using the configured push URL. See https://docs.weblate.org/en/latest/admin/continuous.html#pushing-changes-from-weblate for more info. |
Once, my GitLab config was fixed, it started passing this step! Thanks a lot For reference, if you are using custom ports for GitLab, also set this config to the port you're using:
|
The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.
|
Describe the issue
Hello
I'm having a hard time pushing changes from Weblate to Self-Hosted GitLab merge request
I have successfully pulled from an ssh URL:
ssh://xxx:port/group/project.git
But each time I hit the push button, I get this error:
Of course, port 22 is not accessible. I have specified the port in the URL: it's not 22
Is there any way I have misconfigured something ?
Thanks in advance
I already tried
Steps to reproduce the behavior
Expected behavior
Since I have specified the port to use in the URL, it should not use default port 22
Screenshots
Exception traceback
How do you run Weblate?
Docker container
Weblate versions
Weblate deploy checks
Additional context
No response
The text was updated successfully, but these errors were encountered: