VisualSVN mac checkout error "nodename nor servname provided, or not known" - macos

I made a repository by VisualSVN in Windows Server 2012 R2.
After made the repository, I checkout the repository on Windows using TortoiseSVN and it worked.
However, when I checkout Mac mini device, an error occured.
svn checkout https://win-h3asdfasdf/svn/asdfasdf --username asdfasdf --password asdfasdf
svn: E170013: Unable to connecto to a repository at URL 'https://win-h3asdfasdf/svn/asdfasdf'
svn: E670008: nodename nor servname provided, or not known
Please let me know how can I fix it.

Guess, you already don't need an answer, but I faced the same error and got the solution. So I'll share it anyway:
The error says that the URL is wrong, and you probably get this link when you click on the "Checkout" button, so to avoid this error you should write the full name of the address like you get this link when you click on the button:
https://win-h3asdfasdf/svn/asdfasdf
, then you should add to it its full name:
https://win-h3asdfasdf.organization.com/svn/asdfasdf

Related

fatal: unable to look up user#example.com:port during git clone?

I'm trying to access a source code from a Windows 7 host using Git 2.23.0.windows.1. I have to use a Windows host and git:// protocol. Linux and other protocols are not allowed.
The error is:
$ git clone git://johndoe#source.example.com:22480/main
Cloning into 'main'...
fatal: unable to look up johndoe#source.example.com (port 22480)
(A non-recoverable error occurred during a database lookup. )
I'm finding hits for similar problems, like Cloning git repository Failure (fixed by switching to https://) and How to fix "fatal :unable to look up https (port 9418) (push problem). But I have not found my specific problem.
I believe git://johndoe#source.example.com:22480/main is well formed according to the git pull (1) man page. See the section Git Urls.
If I am parsing the error message correctly, it looks like Git is not separating the user from the url, port and protocol. That is, "unable to look up johndoe#source.example.com (port 22480)" should be "unable to look up source.example.com (port 22480)" (without the user part).
What is the problem and how do I fix it?
~/.gitconfig is pretty boring at the moment:
[user]
email = john.doe#example.com
name = John Doe
[winUpdater]
recentlySeenVersion = 2.23.0.windows.1
The only interesting thing is, the email address uses a dot john.doe#example.com, while the user in the url does not johndoe#source.example.com:22480. This is how the system is setup.
https://git-scm.com/docs/git-pull
The native transport (i.e. git:// URL) does no authentication…
I.e. the URL should be git://source.example.com:22480/main. Or switch to a different protocol that does authentication. Try ssh://johndoe#source.example.com:22480/main or https://johndoe#source.example.com:22480/main.

SVN checkout error E720006: Error running context

During checkout:
svn.exe checkout https://IPv4:40443/svn/project
An error occurs:
svn: E720006: Error running context: Nieprawidłowe dojście.
It's in polish language and it could be translated as (I hope):
...context: the handle is invalid
Is this error related with network connection or any Windows IO restriction?
I'm working on Windows 7, which is very restricted by administrator. So here everything could be blocked or limited.
The same checkout from "normal" computer works great. So where to search for problem? Disk? Network settings?

Cannot connect to local svn server

I am using VisualSVN Server 3.0.1 and TortoiseSVN 1.8. Using VisualSVN Server Manager, I made a repository called "lottery" in my C:\ drive. I started all the VisualSVN Server's services on the machine. I checked VisualSVN Server's HTTP service is running and VDFS service is running. I also made two users harry and sally with password 1234 using VisualSVN Server Manager. I made a directory C:\workdirs. In that, there are two folders harry and sally for my users. When I navigate into harry's folder and run my svn command, I get an error. Please help me to resolve it.
C:\workdirs\harry>svn co --username harry --password 1234 https://james/svn/lottery/
That url is copy pasted exactly from VisualSVN Server Manager. I get the error -
C:\workdirs\harry>svn co --username harry --password 1234 https://james/svn/lottery/
svn: E731001: Unable to connect to a repository at URL 'https://james/svn/lottery'
svn: E731001: No such host is known.
Solutions I tried -
Tortoise won't connect to subversion server
Apparently, you can’t go straight to the SVN folder you need to
include a repository file name in the path.
So, I tried to use the url with port and the repo folder name to see if it helps svn co --username harry --password 1234 https://james:443/svn/lottery/ Btw, james is the name of the svn server i saw in the visual svn server properties.
The resulting error is -
svn: E731004: Unable to connect to a repository at URL
'https://james/svn/lottery'
svn: E731004: The requested name is valid, but no data
of the requested type was found.
Next, I tried to use http instead of https and got the same error.
Next, I tried to use the url like this https://localhost/james:443/svn/lottery/
I got the error -
Error validating server certificate for 'https://localhost:443':
- The certificate is not issued by a trusted authority. Use the
fingerprint to validate the certificate manually!
- The certificate hostname does not match.
Certificate information:
- Hostname: steam
- Valid: from sometime in 2014 GMT until sometime in 2020 GMT
- Issuer:
- Fingerprint: 6a:7b:8c:....
(R)eject, accept (t)emporarily or accept (p)ermanently? p
svn: E175013: Unable to connect to a repository at URL
'https://localhost/james:443/svn/lottery'
svn: E175013: Access to '/james:443/svn/lottery' forbidden
Finally, I thought of using my computer's IP address as mentioned in the link I gave. I don't know what the IP is, but I tried using localhost instead and it worked !!!
C:\workdirs\harry>svn co --username
harry --password 1234 https://localhost/svn/lottery/
Checked out revision 0.
This worked for me -
svn co --username harry --password 1234 https://localhost/svn/lottery/
I did not have to add a port number after localhost. It works, but I don't know what happened. Btw, make sure that your Visual SVN windows services are running before you run this command.
Your local DNS is unaware about that "james" hostname represents your computer therefore you get the No such host is known error. If you work with VisualSVN Server alone, you could add a reference that "james" is your computer's name to your hosts file.
Otherwise, contact your network administrator and ask about what is your computer's hostname on your LAN.
Go to your project folder Right Click go to your tortiseSvn --> Relocate --> change your svn repository url

Any available solution for Mac Air : ssh githup operation timed out?

I've searched and tried kinds of solution before I ask this question, but obviously it doesn't work. That may be a common problem of Mac Air:
And the problem is that when I tried to establish new repo for git and type:
git remote add origin https://githup.com/username/reponame.git
git push -u origin master
I got this error:
fatal : unable to access 'https://githup.com/....': failed to connect to githup.com443; Operation timed out.
If I use git like this:
git remote add origin git#githup.com:username/repo.git
git push -u origin master
I got these:
ssh: connect to host githup.com port 22: Operation timed out
fatal: Could not read from remote repository.
I just begin to doubt that ssh service of Mac Air may be not available.
Any useful solution ?
Thanks very much in advance!!!
Have you tried https://github.com instead of https://githup.com.
I guess that is the error.

hg clone using mercurial throws "getaddrinfo failed" error (windows 7)

I have created a public repository on bit bucket website. I can run the clone command from outside the office network (LAN).
But it is not working inside the office network. I am suspecting it is to do with firewall or proxy settings. I can access the URL from browser window (IE9/Chrome).
Please help in fixing this problem. Thanks.
Command:
hg clone https://bitbucket.org/gbsandeep/test2
abort: error: getaddrinfo failed
PS: I went through other posts but it did not help.
Sounds like you might need to tell Mercurial what your proxy settings are. First hit for "mercurial proxy":
http://www.markhneedham.com/blog/2009/05/13/mercurial-pulling-from-behind-a-proxy/
If you need to figure out what settings to use, you should probably look at what your IE settings are, e.g. by going to the Internet Properties | Connections | LAN Settings dialog.
If you find yourself on this page because you've hit a getaddr error when using the hg-git plugin with a username, it is likely that you've hit the Fails with username in URL (getaddreinfo failed) bug.
Thus:
$ hg clone https://foo#stash/
abort: error: getaddrinfo failed
$ hg clone https://stash/
http authorization required for http://stash.....
realm: Atlassian Stash
user: ...
(Doesn't solve the original user's issue, but can be a cause of the same symptoms).
Just remove the http_proxy environment variable. (worked for me, after of 5 hours of headache).
Pls check whether you can access the repository directly first. e.g from web browser
For me, the solution was to set http_proxy env var.
In PyCharm mercurial clone dialog that was resolved by enabling the corporate vpn and setting up automatically detecting the proxy in Win 10. However, the PyCharm throwed some new exception like this:
6:03 PM Clone failed
Clone from your url here failed.
** Unknown exception encountered with possibly-broken third-party extension hg4ideapromptextension
** which supports versions unknown of Mercurial.
** Please disable hg4ideapromptextension and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.7.1)
** Extensions loaded: strip, mq, hg4ideapromptextension
Traceback (most recent call last):
File "hg", line 41, in

Resources