Missing or invalid credentials--never asked by the terminal for credentials
-
I'm never asked for credentials and keep getting this error when trying to push:
git push page master Missing or invalid credentials. Error: socket hang up at connResetException (internal/errors.js:610:14) at Socket.socketOnEnd (_http_client.js:453:23) at Socket.emit (events.js:327:22) at endReadableNT (_stream_readable.js:1220:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) { code: 'ECONNRESET' } Missing or invalid credentials. Error: socket hang up at connResetException (internal/errors.js:610:14) at Socket.socketOnEnd (_http_client.js:453:23) at Socket.emit (events.js:327:22) at endReadableNT (_stream_readable.js:1220:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) { code: 'ECONNRESET' } remote: Unauthorized fatal: Authentication failed for 'https://....com/_git/page/' -
I'm never asked for credentials and keep getting this error when trying to push:
git push page master Missing or invalid credentials. Error: socket hang up at connResetException (internal/errors.js:610:14) at Socket.socketOnEnd (_http_client.js:453:23) at Socket.emit (events.js:327:22) at endReadableNT (_stream_readable.js:1220:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) { code: 'ECONNRESET' } Missing or invalid credentials. Error: socket hang up at connResetException (internal/errors.js:610:14) at Socket.socketOnEnd (_http_client.js:453:23) at Socket.emit (events.js:327:22) at endReadableNT (_stream_readable.js:1220:12) at processTicksAndRejections (internal/process/task_queues.js:84:21) { code: 'ECONNRESET' } remote: Unauthorized fatal: Authentication failed for 'https://....com/_git/page/' -
@jordanurbs there was bug in the package, can you check if you updated to the latest release that @nebulon pushed out earlier today? It should be 1.14.2
@girish yes it is fully up to date at 1.14.2
-
@girish yes it is fully up to date at 1.14.2
-
I have git 2.25.1, I could do
git -c credential.helper= push page masterto force password query.@girish said in Missing or invalid credentials--never asked by the terminal for credentials:
git -c credential.helper= push page master
This solved it. Thank you @girish.
Problem is, now I get this error after successful authentication:
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1) fatal: the remote end hung up unexpectedly fatal: the remote end hung up unexpectedlyI've been receiving timeouts trying to set up a gitlab repo as well. Is this maybe a firewall issue on my server's end?
-
@girish said in Missing or invalid credentials--never asked by the terminal for credentials:
git -c credential.helper= push page master
This solved it. Thank you @girish.
Problem is, now I get this error after successful authentication:
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1) fatal: the remote end hung up unexpectedly fatal: the remote end hung up unexpectedlyI've been receiving timeouts trying to set up a gitlab repo as well. Is this maybe a firewall issue on my server's end?
@jordanurbs @girish fixed, had to run
git config --global http.version HTTP/1.1and then switch back
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login