Greasy Fork is available in English.

Diskussionen » Greasy Fork Rückmeldungen

I added Webhook to Github, but it seems to have no effect.

§
Veröffentlicht: 24.10.2020

After I updated Github (push), I found that greasyfork was not updated simultaneously.
I still need to go to the script management interface to manually synchronize the script!
Or an automatic synchronization script once a day.
I do not know what to do, I hope you can help me!

All of my scripts are stored in a repository Github project: https: //github.com/XIU2/UserScript

§
Veröffentlicht: 24.10.2020

Github Webhooks prompt 403:

Cache-Control: no-cache
Content-Type: text/html; charset=utf-8
Date: Sat, 24 Oct 2020 02:24:18 GMT
Referrer-Policy: strict-origin-when-cross-origin
Server: nginx/1.14.0 + Phusion Passenger 6.0.4
Status: 403 Forbidden
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Powered-By: Phusion Passenger 6.0.4
X-Request-Id: 4d704491-852d-4694-9202-949bcaf6c276
X-Runtime: 0.008046
X-Xss-Protection: 1; mode=block
§
Veröffentlicht: 24.10.2020

This is yesterday:

Headers

Access-Control-Allow-Origin: *
Cache-Control: max-age=0, private, must-revalidate
Content-Type: application/json; charset=utf-8
Date: Fri, 23 Oct 2020 13:40:45 GMT
Etag: W/"3a9920af96e19ec8b76600adcd047fc2"
Referrer-Policy: strict-origin-when-cross-origin
Server: nginx/1.14.0 + Phusion Passenger 6.0.4
Status: 200 OK
Strict-Transport-Security: max-age=31536000
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Powered-By: Phusion Passenger 6.0.4
X-Request-Id: 9341a70e-fff1-4cac-bbbd-a0ec0525bc9b
X-Runtime: 0.020894
X-Xss-Protection: 1; mode=block

Body

{"updated_scripts":[],"updated_failed":[]}
§
Veröffentlicht: 24.10.2020

I found that Secret has changed. But I don't know at all, will it change regularly?
After testing, the script works normally after modifying the Secret.

§
Veröffentlicht: 24.10.2020

I don't think the secret changes, but maybe you changed it for some other purpose and didn't realize it would break this.

§
Veröffentlicht: 02.03.2022

Same error happened to me.

Cache-Control: no-cache
Content-Type: text/html; charset=utf-8
Date: Wed, 02 Mar 2022 17:10:03 GMT
Referrer-Policy: strict-origin-when-cross-origin
Server: nginx/1.18.0 (Ubuntu)
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Request-Id: 10795c08-6af0-4bf7-b8f6-1ff6a2597334
X-Runtime: 0.005367
X-Xss-Protection: 0

After updating Secret, web hook delivery was successful.

Access-Control-Allow-Origin: *
Cache-Control: max-age=0, private, must-revalidate
Content-Type: application/json; charset=utf-8
Date: Wed, 02 Mar 2022 17:10:41 GMT
Etag: W/"99e16c41220f54646d60a7c50e4857e5"
Referrer-Policy: strict-origin-when-cross-origin
Server: nginx/1.18.0 (Ubuntu)
Strict-Transport-Security: max-age=31536000
Vary: Accept
X-Backend-Server: archer
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Request-Id: e2b78c9f-8101-44d0-8538-c4bdf53cf3bf
X-Runtime: 0.608974
X-Xss-Protection: 0

Antwort schreiben

Anmelden um eine Antwort zu senden.