0

Hi everyone i have problem when clone or pull in gitlab onpremise like this

git clone https://gitlab.example.net/webapps/baseservice.git
Cloning into 'baseservice'...
fatal: unable to access 'https://gitlab.example.net/webapps/baseservice.git/': The requested URL returned error: 403

by the way i'm using gitlab docker container (Gitlab CE version v16.0.3) and pointing subdomain using apache2.4 vhost reserve proxy. This script of apache vhost:

<VirtualHost *:80>
   ServerName gitlab.example.net
   Redirect permanent / https://gitlab.example.net
</VirtualHost>

<VirtualHost *:443>
  SSLEngine On
  SSLCertificateFile /etc/apache2/certs/wildcard.crt
  SSLCertificateKeyFile /etc/apache2/certs/wildcard.key
  SSLCertificateChainFile /etc/apache2/certs/wildcard_bundle_ca.crt

  ServerName gitlab.example.net
  ProxyPreserveHost On
  ProxyPass / http://123.456.1.234:10080/
  ProxyPassReverse / http://123.456.1.234:10080/

  ProxyRequests     Off
  AllowEncodedSlashes NoDecode
</VirtualHost>

thanks for help I'll apreciate , sorry for my English

user3562918
  • 76
  • 10
  • 1
    `/` at the end of URL is valid character. Why you think it's causing issues? Maybe you are not authorized or URL is wrong (indicated by status code **403**)? – Justinas Jul 03 '23 at 06:37
  • @Justinas thanks for quick reply, my account role is owner of the project. – user3562918 Jul 03 '23 at 06:41
  • Does this answer your question? [gitlab runner The requested URL returned error: 403](https://stackoverflow.com/questions/40006690/gitlab-runner-the-requested-url-returned-error-403) – Justinas Jul 03 '23 at 06:50
  • That does not mean you are actually adding credentials where it's needed. – Justinas Jul 03 '23 at 06:51
  • issue solved : my ip public of web server has banned by gitlab container :) – user3562918 Jul 03 '23 at 09:39

0 Answers0