password refused
Package:
pipenv
22232

Exception Class:
ExceptionPxssh
Raise code
pass
elif i==2: # password prompt again
# For incorrect passwords, some ssh servers will
# ask for the password again, others return 'denied' right away.
# If we get the password prompt again then this means
# we didn't get the password right the first time.
self.close()
raise ExceptionPxssh('password refused')
elif i==3: # permission denied -- password was bad.
self.close()
raise ExceptionPxssh('permission denied')
elif i==4: # terminal type again? WTF?
self.close()
raise ExceptionPxssh('Weird error. Got "terminal type" prompt twice.')
elif i==5: # Timeout
Links to the raise (1)
https://github.com/pypa/pipenv/blob/e7fb099e659a7fe661f0be9d4b1d05b681b6d562/pipenv/vendor/pexpect/pxssh.py#L440Ways to fix
Error producing code:
echo 'my-package = {git = "https://my_user:[email protected]/user/my_project.git",ref = "v0.1"}' >> Pipfile
pipenv install -e git+ssh://mydomain.org/user/my_project#egg=my_project
Correct code:
echo 'my-package = {git = "https://my_user:[email protected]/user/my_project.git",ref = "v0.1"}' >> Pipfile
pipenv install -e git+ssh://mydomain.org/user/my_project#egg=my_project
Comment:
This error will only be raised if you input the wrong password,
If you see this exception make sure you type in the right password in your pipfile before using pipenv
Add a possible fix
Please authorize to post fix