I cannot send my changes into my Pagure fork because auth is invalid

Hello all

I made a fork: Overview - rpms/mesa - src.fedoraproject.org

when I try to upload my work, I got this:

Username for 'https://src.fedoraproject.org': sincorchetes
Password for 'https://sincorchetes@src.fedoraproject.org': 
fatal: Authentication failed for 'https://src.fedoraproject.org/forks/sincorchetes/rpms/mesa.git/'

The user and password are correct…

Strace

[sincorchetes@fedora mesa]$ GIT_CURL_VERBOSE=1 GIT_TRACE=1 git push -u origin solve-intel-blinking
11:38:19.789630 git.c:455               trace: built-in: git push -u origin solve-intel-blinking
11:38:19.790094 run-command.c:668       trace: run_command: GIT_DIR=.git git remote-https origin https://src.fedoraproject.org/forks/sincorchetes/rpms/mesa.git
11:38:19.790991 git.c:742               trace: exec: git-remote-https origin https://src.fedoraproject.org/forks/sincorchetes/rpms/mesa.git
11:38:19.791015 run-command.c:668       trace: run_command: git-remote-https origin https://src.fedoraproject.org/forks/sincorchetes/rpms/mesa.git
11:38:19.795665 http.c:664              == Info: Couldn't find host src.fedoraproject.org in the (nil) file; using defaults
11:38:19.873816 http.c:664              == Info:   Trying 38.145.60.21:443...
11:38:20.002557 http.c:664              == Info: Connected to src.fedoraproject.org (38.145.60.21) port 443 (#0)
11:38:20.002954 http.c:664              == Info: ALPN, offering h2
11:38:20.002960 http.c:664              == Info: ALPN, offering http/1.1
11:38:20.008448 http.c:664              == Info: successfully set certificate verify locations:
11:38:20.008478 http.c:664              == Info:  CAfile: /etc/pki/tls/certs/ca-bundle.crt
11:38:20.008481 http.c:664              == Info:  CApath: none
11:38:20.008648 http.c:664              == Info: TLSv1.3 (OUT), TLS handshake, Client hello (1):
11:38:20.143053 http.c:664              == Info: TLSv1.3 (IN), TLS handshake, Server hello (2):
11:38:20.143221 http.c:664              == Info: TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
11:38:20.143270 http.c:664              == Info: TLSv1.3 (IN), TLS handshake, Certificate (11):
11:38:20.143604 http.c:664              == Info: TLSv1.3 (IN), TLS handshake, CERT verify (15):
11:38:20.143744 http.c:664              == Info: TLSv1.3 (IN), TLS handshake, Finished (20):
11:38:20.143792 http.c:664              == Info: TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
11:38:20.143820 http.c:664              == Info: TLSv1.3 (OUT), TLS handshake, Finished (20):
11:38:20.143876 http.c:664              == Info: SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
11:38:20.143881 http.c:664              == Info: ALPN, server accepted to use http/1.1
11:38:20.143890 http.c:664              == Info: Server certificate:
11:38:20.143917 http.c:664              == Info:  subject: C=US; ST=North Carolina; L=Raleigh; O=Red Hat, Inc.; CN=*.fedoraproject.org
11:38:20.143941 http.c:664              == Info:  start date: Feb 27 00:00:00 2020 GMT
11:38:20.143946 http.c:664              == Info:  expire date: Mar  2 12:00:00 2022 GMT
11:38:20.143954 http.c:664              == Info:  subjectAltName: host "src.fedoraproject.org" matched cert's "*.fedoraproject.org"
11:38:20.143963 http.c:664              == Info:  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA
11:38:20.143967 http.c:664              == Info:  SSL certificate verify ok.
11:38:20.144011 http.c:611              => Send header, 0000000238 bytes (0x000000ee)
11:38:20.144018 http.c:623              => Send header: GET /forks/sincorchetes/rpms/mesa.git/info/refs?service=git-receive-pack HTTP/1.1
11:38:20.144038 http.c:623              => Send header: Host: src.fedoraproject.org
11:38:20.144040 http.c:623              => Send header: User-Agent: git/2.34.1
11:38:20.144042 http.c:623              => Send header: Accept: */*
11:38:20.144044 http.c:623              => Send header: Accept-Encoding: deflate, gzip, br
11:38:20.144058 http.c:623              => Send header: Accept-Language: en-US, *;q=0.9
11:38:20.144061 http.c:623              => Send header: Pragma: no-cache
11:38:20.144062 http.c:623              => Send header:
11:38:20.270469 http.c:664              == Info: TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
11:38:20.270550 http.c:664              == Info: TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
11:38:20.270563 http.c:664              == Info: old SSL session ID is stale, removing
11:38:20.272233 http.c:664              == Info: Mark bundle as not supporting multiuse
11:38:20.272270 http.c:611              <= Recv header, 0000000027 bytes (0x0000001b)
11:38:20.272293 http.c:623              <= Recv header: HTTP/1.1 401 Unauthorized
11:38:20.272298 http.c:611              <= Recv header, 0000000037 bytes (0x00000025)
11:38:20.272323 http.c:623              <= Recv header: Date: Sun, 16 Jan 2022 11:38:20 GMT
11:38:20.272329 http.c:611              <= Recv header, 0000000016 bytes (0x00000010)
11:38:20.272334 http.c:623              <= Recv header: Server: Apache
11:38:20.272338 http.c:611              <= Recv header, 0000000073 bytes (0x00000049)
11:38:20.272341 http.c:623              <= Recv header: Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
11:38:20.272346 http.c:611              <= Recv header, 0000000029 bytes (0x0000001d)
11:38:20.272350 http.c:623              <= Recv header: X-Frame-Options: SAMEORIGIN
11:38:20.272355 http.c:611              <= Recv header, 0000000033 bytes (0x00000021)
11:38:20.272359 http.c:623              <= Recv header: X-Xss-Protection: 1; mode=block
11:38:20.272363 http.c:611              <= Recv header, 0000000033 bytes (0x00000021)
11:38:20.272367 http.c:623              <= Recv header: X-Content-Type-Options: nosniff
11:38:20.272372 http.c:611              <= Recv header, 0000000030 bytes (0x0000001e)
11:38:20.272376 http.c:623              <= Recv header: Referrer-Policy: same-origin
11:38:20.272381 http.c:611              <= Recv header, 0000000107 bytes (0x0000006b)
11:38:20.272389 http.c:623              <= Recv header: www-authenticate: Basic error="invalid_request", error_description="No bearer token found in the request"
11:38:20.272410 http.c:611              <= Recv header, 0000000021 bytes (0x00000015)
11:38:20.272414 http.c:623              <= Recv header: content-length: 381
11:38:20.272419 http.c:611              <= Recv header, 0000000045 bytes (0x0000002d)
11:38:20.272422 http.c:623              <= Recv header: content-type: text/html; charset=iso-8859-1
11:38:20.272426 http.c:611              <= Recv header, 0000000017 bytes (0x00000011)
11:38:20.272428 http.c:623              <= Recv header: AppTime: D=1720
11:38:20.272447 http.c:611              <= Recv header, 0000000054 bytes (0x00000036)
11:38:20.272450 http.c:623              <= Recv header: X-Fedora-ProxyServer: proxy10.iad2.fedoraproject.org
11:38:20.272454 http.c:611              <= Recv header, 0000000049 bytes (0x00000031)
11:38:20.272457 http.c:623              <= Recv header: X-Fedora-RequestID: YeQDrHXM3mUYWBvZ_OXMWQAAAME
11:38:20.272460 http.c:611              <= Recv header, 0000000002 bytes (0x00000002)
11:38:20.272462 http.c:623              <= Recv header:
11:38:20.272490 http.c:664              == Info: Connection #0 to host src.fedoraproject.org left intact
Username for 'https://src.fedoraproject.org': sincorchetes
Password for 'https://sincorchetes@src.fedoraproject.org': 
11:38:30.468239 http.c:664              == Info: Found bundle for host src.fedoraproject.org: 0x56012d3aef80 [serially]
11:38:30.468250 http.c:664              == Info: Can not multiplex, even if we wanted to!
11:38:30.468263 http.c:664              == Info: Re-using existing connection! (#0) with host src.fedoraproject.org
11:38:30.468270 http.c:664              == Info: Connected to src.fedoraproject.org (38.145.60.21) port 443 (#0)
11:38:30.468282 http.c:664              == Info: Server auth using Basic with user 'sincorchetes'
11:38:30.468327 http.c:611              => Send header, 0000000305 bytes (0x00000131)
11:38:30.468336 http.c:623              => Send header: GET /forks/sincorchetes/rpms/mesa.git/info/refs?service=git-receive-pack HTTP/1.1
11:38:30.468341 http.c:623              => Send header: Host: src.fedoraproject.org
11:38:30.468344 http.c:623              => Send header: Authorization: Basic <redacted>
11:38:30.468347 http.c:623              => Send header: User-Agent: git/2.34.1
11:38:30.468349 http.c:623              => Send header: Accept: */*
11:38:30.468352 http.c:623              => Send header: Accept-Encoding: deflate, gzip, br
11:38:30.468355 http.c:623              => Send header: Accept-Language: en-US, *;q=0.9
11:38:30.468357 http.c:623              => Send header: Pragma: no-cache
11:38:30.468360 http.c:623              => Send header:
11:38:30.626971 http.c:664              == Info: Mark bundle as not supporting multiuse
11:38:30.627007 http.c:611              <= Recv header, 0000000027 bytes (0x0000001b)
11:38:30.627010 http.c:623              <= Recv header: HTTP/1.1 401 Unauthorized
11:38:30.627014 http.c:611              <= Recv header, 0000000037 bytes (0x00000025)
11:38:30.627019 http.c:623              <= Recv header: Date: Sun, 16 Jan 2022 11:38:30 GMT
11:38:30.627025 http.c:611              <= Recv header, 0000000016 bytes (0x00000010)
11:38:30.627029 http.c:623              <= Recv header: Server: Apache
11:38:30.627033 http.c:611              <= Recv header, 0000000073 bytes (0x00000049)
11:38:30.627037 http.c:623              <= Recv header: Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
11:38:30.627041 http.c:611              <= Recv header, 0000000029 bytes (0x0000001d)
11:38:30.627045 http.c:623              <= Recv header: X-Frame-Options: SAMEORIGIN
11:38:30.627049 http.c:611              <= Recv header, 0000000033 bytes (0x00000021)
11:38:30.627053 http.c:623              <= Recv header: X-Xss-Protection: 1; mode=block
11:38:30.627058 http.c:611              <= Recv header, 0000000033 bytes (0x00000021)
11:38:30.627062 http.c:623              <= Recv header: X-Content-Type-Options: nosniff
11:38:30.627066 http.c:611              <= Recv header, 0000000030 bytes (0x0000001e)
11:38:30.627070 http.c:623              <= Recv header: Referrer-Policy: same-origin
11:38:30.627093 http.c:664              == Info: Authentication problem. Ignoring this.
11:38:30.627097 http.c:611              <= Recv header, 0000000110 bytes (0x0000006e)
11:38:30.627101 http.c:623              <= Recv header: www-authenticate: Basic error="invalid_token", error_description="Reference token could not be introspected"
11:38:30.627106 http.c:611              <= Recv header, 0000000021 bytes (0x00000015)
11:38:30.627108 http.c:623              <= Recv header: content-length: 381
11:38:30.627112 http.c:611              <= Recv header, 0000000045 bytes (0x0000002d)
11:38:30.627130 http.c:623              <= Recv header: content-type: text/html; charset=iso-8859-1
11:38:30.627133 http.c:611              <= Recv header, 0000000018 bytes (0x00000012)
11:38:30.627135 http.c:623              <= Recv header: AppTime: D=31866
11:38:30.627138 http.c:611              <= Recv header, 0000000054 bytes (0x00000036)
11:38:30.627141 http.c:623              <= Recv header: X-Fedora-ProxyServer: proxy10.iad2.fedoraproject.org
11:38:30.627146 http.c:611              <= Recv header, 0000000049 bytes (0x00000031)
11:38:30.627167 http.c:623              <= Recv header: X-Fedora-RequestID: YeQDtnXM3mUYWBvZ_OXOeAAAAMo
11:38:30.627171 http.c:611              <= Recv header, 0000000002 bytes (0x00000002)
11:38:30.627174 http.c:623              <= Recv header:
11:38:30.627201 http.c:664              == Info: Connection #0 to host src.fedoraproject.org left intact
fatal: Authentication failed for 'https://src.fedoraproject.org/forks/sincorchetes/rpms/mesa.git/'

2 Likes

https://docs.fedoraproject.org/en-US/ci/pull-requests/

did you try using fedpkg push?

2 Likes

If you are not a package maintainer, you need to use anonymous cloning etc. as detailed here:

https://docs.fedoraproject.org/en-US/package-maintainers/Joining_the_Package_Maintainers/#one_off_contributions

3 Likes

Thanks! I’m performing mockbuild now :smiley:

2 Likes