-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Support for multicast DNS #19
Comments
Have you checked for the issues mentioned here? Have you tried with other remotes? |
I have tried setting the sslVerify to false to no avail. Github remotes seem to work fine. |
Update, I tried looking up the remote's IP address and cloning by the actual IP instead of the .local URL seems to work fine. So it's an issue with the way the DNS lookups are done and probably something to do with an upstream library. Should I close this issue? |
That's quite an exotic of a setup. I may try to create a similar setup but not soon, as I want to release 1.1 and I'm quite busy until the end of january. Can you please run |
Yeah, no worries. I am aware it's a rather exotic setup :) The relevant part of the output when started from the terminal:
It does indeed seem like the mDNS lookup doesn't work. |
Yeah, after a bit of research I've found that apparently mDNS lookup is not build-in in any Java/Kotlin SDK 😞 I'll have to search for a lib to do it in a future release. I'll edit the issue as this is a new feature. If using the IP directly is an option, I'd stick with that as a workaround until I can add support for it. |
The remote I'm using sadly auto redirects to the .local address, so I just went back to CLI git. If this was a more permanent setup, I'd set up a DNS server, but it's a rather ad hoc setup that will only be used for a week, so I can't be bothered. |
I'm in a similar situation again and I figured out that as a workaround, manually adding the .local domain into /etc/hosts file makes gitnuro work as intended. |
Sorry for the late response, I completly missed the notification. Thanks for the feedback, I'll add it to the readme. I've been looking more into it but I don't think there is much I can do aside from documenting your workaround, since it would require diving into JGit internals, something I don't really want to do in case I also use alternative Git libraries such as libgit2 (Not planned for now but it may happen in the future) and it may require a lot of effort for such a particular use case. I'll close it for now. If someone is willing to implement it in the future, we can reopen it. |
": can't open git-upload-pack" error after trying to interact with a HTTP remote
Describe the bug
Every time I try to do anything with a HTTP remote (pull, push, fetch...), the operation fails with an error popup, with the text as described in the title. All of the operations work just fine when done from the CLI git. My remote doesn't support HTTPS or SSH, so I couldn't test if any of those works as it should with the same remote.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The operation was supposed to complete as if done via CLI git.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: