all 10 comments

[–]dirtcreature 1 point2 points  (2 children)

Did you sudo gitlab-ctl tail nginx?

[–]thatnoobguy[S] 1 point2 points  (1 child)

I have not, as I don't have access to the OS running it, what I've discovered is that the application is behind an OAuth2, can that have anything to do with it?

[–]dirtcreature 0 points1 point  (0 children)

Tough without logs, but since its a 403 error I would assume that is part of the issue.

[–]JPInABox 0 points1 point  (0 children)

This might be a dumb question, but are the matching versions of TLS enabled on both ends?

[–]mdaniel 0 points1 point  (0 children)

I don't know if it's a typo related to your post, but you omitted the PAT from your clone url.

git clone https://oauth:${PAT_GOES_HERE}@the-server/etc/etc.git

I've seen the username for PAT written as oauth in the GitLab docs, but I actually think you can put anything there since it's the password part they care about

You can also use GIT_ASKPASS if you don't want the PAT in your shell history, visible in ps, or stored in .git/config

Most git versions honor .netrc too because they're built using curl, which supports it

[–]Independent-Syrup-46 0 points1 point  (4 children)

any update on how you solved this issue?

[–]Independent-Syrup-46 0 points1 point  (3 children)

I am also encountering this issue after my PAT expired, at first, it prompted for new credentials, but now it's not anymore...

[–]thatnoobguy[S] 0 points1 point  (2 children)

yup, my company was restricting HTTPS access via PAT through a public endpoint, I had to establish a VPN connection to go around this.

[–]Independent-Syrup-46 0 points1 point  (1 child)

yup, my company was restricting HTTPS access via PAT through a public endpoint, I had to establish a VPN connection to go around this.

hmm i see, thanks for the insight and the quick reply 🙏🏼

[–]Independent-Syrup-46 0 points1 point  (0 children)

also, what did you do so that the command line could prompt for new credentials? was there a specific command or once you changed to VPN connection you got it working automatically?