vtsykun / packeton

:package: Private, self-hosted Packagist/Composer/Satis repository with unlimited private repos.
https://demo.packeton.org
MIT License
382 stars 62 forks source link

GitHub incoming Webhook yields 406 response #257

Open mwolff-fn opened 1 month ago

mwolff-fn commented 1 month ago

Description

I am trying to get incoming GitHub webhooks to work with a Packeton instance. For this, I have tried the following steps:

No matter what payload format I choose, the webhook endpoint will always respond with HTTP code 406 and this request body:

{"status":"error","message":"Missing or invalid payload"}

Instead of defining the webhook on an individual repository, I have also tried a global webhook attached to the organization - again, no difference.

Am I missing something?

Can you reproduce the bug on the Packeton demo site?

Not applicable

Database

SQLite

Screenshots

No response

How are you running Packeton?

Packeton is installed manually (git clone) and is running in a custom Docker container within a Nomad cluster. Webserver is Apache w/ mod_php.