#11069 Git hooks issues
Closed: Fixed with Explanation by kevin. Opened by vondruch.

I am facing git hook issues. Several times my push was denied:

Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 386 bytes | 386.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Unspecified ref refs/heads/rawhide is blocked
remote: Denied push for ref 'refs/heads/rawhide' for user 'vondruch'
remote: All changes have been rejected
To ssh://pkgs.fedoraproject.org/rpms/rubygem-eventmachine
 ! [remote rejected] rawhide -> rawhide (pre-receive hook declined)
error: failed to push some refs to 'ssh://pkgs.fedoraproject.org/rpms/rubygem-eventmachine'

And now I have received different error, so can it be PDC having some issues?

Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Delta compression using up to 8 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 378 bytes | 378.00 KiB/s, done.
Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
remote: Emitting a message to the fedora-messaging message bus.
remote: * Publishing information for 1 commits
remote: Sending to redis to log activity and send commit notification emails
remote: * Publishing information for 1 commits
remote:   - to fedora-message
remote: 2023-01-03 16:58:13,803 [WARNING] pagure.lib.notify: pagure is about to send a message that has no schemas: pagure.git.receive
To ssh://pkgs.fedoraproject.org/rpms/rubygem-pg
   c4e9aef..e23fbcb  rawhide -> rawhide
Could not execute build: The following error occurred while trying to get the active release branches in PDC: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at 
 root@localhost to inform them of the time this error occurred,
 and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>

Actually, the later was failed fedpkg build, which is not distinguishable in output of my tool. So this might be two issues, or not, not sure ....

pdc just does this after some amount of uptime. ;(

I've restarted it and no longer see any errors... so I think it's fixed until the next time it starts throwing 500's. ;(

Metadata Update from @kevin:
- Issue close_status updated to: Fixed with Explanation
- Issue status updated to: Closed (was: Open)

Metadata