Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. GitHub Pages
  3. Missing or invalid credentials--never asked by the terminal for credentials

Missing or invalid credentials--never asked by the terminal for credentials

Scheduled Pinned Locked Moved Solved GitHub Pages
7 Posts 2 Posters 8.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jordanurbsJ Offline
    jordanurbsJ Offline
    jordanurbs
    wrote on last edited by jordanurbs
    #1

    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/'
    
    girishG 1 Reply Last reply
    0
    • jordanurbsJ jordanurbs

      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/'
      
      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @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

      jordanurbsJ 1 Reply Last reply
      0
      • girishG girish

        @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

        jordanurbsJ Offline
        jordanurbsJ Offline
        jordanurbs
        wrote on last edited by
        #3

        @girish yes it is fully up to date at 1.14.2

        girishG 1 Reply Last reply
        0
        • jordanurbsJ jordanurbs

          @girish yes it is fully up to date at 1.14.2

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @jordanurbs I tried a fresh install and it seems to work. Do you have happen to have anything in your ~/.netrc ? You can also check if git config -l has any credential.helper set (I think if you are on a Mac, it stores it in the keychain?)

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            I have git 2.25.1, I could do git -c credential.helper= push page master to force password query.

            jordanurbsJ 1 Reply Last reply
            0
            • girishG girish

              I have git 2.25.1, I could do git -c credential.helper= push page master to force password query.

              jordanurbsJ Offline
              jordanurbsJ Offline
              jordanurbs
              wrote on last edited by jordanurbs
              #6

              @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 unexpectedly
              

              I've been receiving timeouts trying to set up a gitlab repo as well. Is this maybe a firewall issue on my server's end?

              jordanurbsJ 1 Reply Last reply
              0
              • jordanurbsJ jordanurbs

                @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 unexpectedly
                

                I've been receiving timeouts trying to set up a gitlab repo as well. Is this maybe a firewall issue on my server's end?

                jordanurbsJ Offline
                jordanurbsJ Offline
                jordanurbs
                wrote on last edited by
                #7

                @jordanurbs @girish fixed, had to run

                git config --global http.version HTTP/1.1
                

                and then switch back

                1 Reply Last reply
                1
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search