problem to clone project, own server

2,223 views
Skip to first unread message

Jorge V GM

unread,
Mar 26, 2018, 12:44:08 PM3/26/18
to git-for-windows
hello:

I am having problem to clone my project, I get this error:

fatal: unable to access 'http://user:pass...@mydevserver.com:public_html/dev_git/ZZZ/YYY/online/.git/': Port number ended with 'p'

I am working in my own git server hosted in arvixen.com

I am cloning via git bash, git -GUI,netbeans without success

please help

regards

Jorge VS



Konstantin Khomoutov

unread,
Mar 26, 2018, 1:05:01 PM3/26/18
to Jorge V GM, git-for-windows
On Sun, Mar 25, 2018 at 07:31:44AM -0700, Jorge V GM wrote:

> I am having problem to clone my project, I get this error:
>
> fatal: unable to access
> 'http://user:pass...@mydevserver.com:public_html/dev_git/ZZZ/YYY/online/.git/':
> Port number ended with 'p'
>
> I am working in my own git server hosted in arvixen.com
>
> I am cloning via git bash, git -GUI,netbeans without success

"public_html" is indeed not a valid port number.

A typical URL for an HTTP request has the form

http[s]://[auth@]server[:port]/[path]

So you have "public_html" specified in the "port" part of the URL.


I think, in order to fix the problem you need to change the URL to

'http://user:pass...@mydevserver.com/~/public_html/dev_git/ZZZ/YYY/online/.git/'

Note that this implies that "public_html" is indeed a directory under
the home directory of the user "user" on that server, and your web
server has the "userdirs" facility turned on.
That is merely a guess.
If that's not the case, just use the full path as understood by your
webserver after the "mydevserver.com" part, starting it with a slash,
'/'.

Reply all
Reply to author
Forward
0 new messages