FriendCode / gittle

Pythonic Git for Humans
Other
732 stars 90 forks source link

push when authenticating with username/password #78

Open controversial opened 8 years ago

controversial commented 8 years ago

When I try to push with username and password, I get the following error:

Traceback (most recent call last):
  File "/Users/luke/Desktop/pythonista-cloud/index.py", line 37, in pushFile
    repo.push_to(origin)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gittle/gittle.py", line 338, in push_to
    progress=progress
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dulwich/client.py", line 924, in send_pack
    "git-receive-pack", url)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dulwich/client.py", line 888, in _discover_references
    resp = self._http_request(url, headers)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dulwich/client.py", line 868, in _http_request
    raise GitProtocolError("unexpected http response %d" % e.code)
dulwich.errors.GitProtocolError: unexpected http response 401

Does this indicate an incorrect password? I get this error with any credentials, correct or otherwise.

zangsir commented 8 years ago

I have the exact same error when pushing with username and password.

sephib commented 7 years ago

I'm running on Windows and having the same error. did you manage to solve this issue?