Git clone returns error fatal: unable to access. The requested URL returned error: 417

louis.poulin's Avatar

louis.poulin

09 Jan, 2017 08:49 PM

I'm trying to use Git for the first time with an existing RhodeCode 4.4.2 Community Edition on RedHat 6.5 and when I do a git clone on a repo I just created, I get the following error message:
fatal: unable to access 'http://[email blocked]/testgit20170109/': The requested URL returned error: 417

In the vcsserver.log, I can see the following:
2017-01-09 15:34:41.960 ERROR [vcsserver.pygrack] Error processing command
Traceback (most recent call last):
  File "/opt/rhodecode/store/2wj0z0b1shp65yans6c6knjzk4d9brx2-python2.7-rhodecode-vcsserver-4.4.2/lib/python2.7/site-packages/vcsserver/pygrack.py", line 131, in inforefs
    shell=False
  File "/opt/rhodecode/store/2wj0z0b1shp65yans6c6knjzk4d9brx2-python2.7-rhodecode-vcsserver-4.4.2/lib/python2.7/site-packages/vcsserver/subprocessio.py", line 389, in __init__
    **kwargs)
  File "/opt/rhodecode/store/ys071a9lnfr64gg6xkns2qdknidpv4nc-python2.7-subprocess32-3.2.6/lib/python2.7/site-packages/subprocess32.py", line 822, in __init__
    restore_signals, start_new_session)
  File "/opt/rhodecode/store/ys071a9lnfr64gg6xkns2qdknidpv4nc-python2.7-subprocess32-3.2.6/lib/python2.7/site-packages/subprocess32.py", line 1567, in _execute_child
    raise child_exception_type(errno_num, err_msg)
OSError: [Errno 8] Exec format error
2017-01-09 15:34:41.961 ERROR [vcsserver.pygrack] HTTP Error
Traceback (most recent call last):
  File "/opt/rhodecode/store/2wj0z0b1shp65yans6c6knjzk4d9brx2-python2.7-rhodecode-vcsserver-4.4.2/lib/python2.7/site-packages/vcsserver/pygrack.py", line 367, in __call__
    resp = app(request, environ)
  File "/opt/rhodecode/store/2wj0z0b1shp65yans6c6knjzk4d9brx2-python2.7-rhodecode-vcsserver-4.4.2/lib/python2.7/site-packages/vcsserver/pygrack.py", line 135, in inforefs
    raise exc.HTTPExpectationFailed()
HTTPExpectationFailed: Expectation failed.

I tried with a RhodeCode 4.4.2 CE fresh install and it works. I compared all the RhodeCode's config files and they are the same.

Any idea?

Thanks,

Louis

  1. 1 Posted by louis.poulin on 09 Jan, 2017 09:06 PM

    louis.poulin's Avatar

    And if I look at system info, I don't see a Git version, it's blank.

  2. Support Staff 2 Posted by Marcin Kuzminsk... on 09 Jan, 2017 09:11 PM

    Marcin Kuzminski's Avatar

    Hi,

    Yes this is a known problem in 4.4.X series. We fixed that in 4.5.X release. To fix this either install GIt into your system, or upgrade to 4.5.X of RhodeCode which properly links to GIT we ship with our installer.

    Best,

  3. 3 Posted by louis.poulin on 10 Jan, 2017 12:43 PM

    louis.poulin's Avatar

    Great, thank you for the fast reply!

  4. 4 Posted by louis.poulin on 10 Jan, 2017 06:52 PM

    louis.poulin's Avatar

    The upgrade did the trick! Thanks!

  5. louis.poulin closed this discussion on 10 Jan, 2017 06:52 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

15 Oct, 2018 12:10 PM
15 Oct, 2018 05:20 AM
10 Oct, 2018 08:11 AM
03 Oct, 2018 01:16 PM
01 Oct, 2018 08:41 AM

 

28 Sep, 2018 10:12 AM
26 Sep, 2018 04:34 AM
21 Sep, 2018 04:40 PM
20 Sep, 2018 07:42 PM
18 Sep, 2018 03:30 PM
11 Sep, 2018 09:12 AM