Comments (3)
I also manually tested sending a POST to the webhook to make sure it wasn't permissions on the Discord end. No issues with that. Seems to be something on the server end.
from humblebundlebot.
I could not get it to work, either.
from humblebundlebot.
Did a test request with postman and Insomnia, with postman i get the response "1" and with Insomnia it is empty - if i send wrong type or webhook it gives an error. but i see nothing posted to Discord
* Preparing request to https://humblebundlenotifications.azurewebsites.net/api/TestWebhook/
* Current time is 2022-10-31T18:48:43.053Z
* Enable automatic URL encoding
* Using default HTTP version
* Enable SSL validation
* Found bundle for host humblebundlenotifications.azurewebsites.net: 0x2b69e8655a0 [serially]
* Can not multiplex, even if we wanted to!
* Re-using existing connection! (#4) with host humblebundlenotifications.azurewebsites.net
* Connected to humblebundlenotifications.azurewebsites.net (52.252.160.21) port 443 (#4)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> POST /api/TestWebhook/ HTTP/1.1
> Host: humblebundlenotifications.azurewebsites.net
> User-Agent: insomnia/2022.6.0
> Content-Type: application/json
> Accept: */*
> Content-Length: 179
| {
| "type": 0,
| "webhook": "https://discord.com/api/webhooks/*************",
| "webhookType": 0
| }
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Length: 0
< Date: Mon, 31 Oct 2022 18:48:42 GMT
< Server: Microsoft-IIS/10.0
< Cache-Control: no-cache
< Expires: -1
< Pragma: no-cache
< X-Powered-By: ASP.NET
JSON request works fine
* Preparing request to https://humblebundlenotifications.azurewebsites.net/api/TestWebhook/
* Current time is 2022-10-31T18:46:19.860Z
* Enable automatic URL encoding
* Using default HTTP version
* Enable SSL validation
* Too old connection (490 seconds), disconnect it
* Connection 2 seems to be dead!
* Closing connection 2
* TLSv1.2 (OUT), TLS header, Unknown (21):
* TLSv1.2 (OUT), TLS alert, decode error (562):
* Too old connection (490 seconds), disconnect it
* Connection 3 seems to be dead!
* Closing connection 3
* TLSv1.2 (OUT), TLS header, Unknown (21):
* TLSv1.2 (OUT), TLS alert, decode error (562):
* Hostname in DNS cache was stale, zapped
* Trying 52.252.160.21:443...
* Connected to humblebundlenotifications.azurewebsites.net (52.252.160.21) port 443 (#4)
* ALPN, offering h2
* ALPN, offering http/1.1
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use http/1.1
* Server certificate:
* subject: C=US; ST=WA; L=Redmond; O=Microsoft Corporation; CN=*.azurewebsites.net
* start date: Mar 14 18:39:55 2022 GMT
* expire date: Mar 9 18:39:55 2023 GMT
* subjectAltName: host "humblebundlenotifications.azurewebsites.net" matched cert's "*.azurewebsites.net"
* issuer: C=US; O=Microsoft Corporation; CN=Microsoft Azure TLS Issuing CA 01
* SSL certificate verify ok.
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> POST /api/TestWebhook/ HTTP/1.1
> Host: humblebundlenotifications.azurewebsites.net
> User-Agent: insomnia/2022.6.0
> Content-Type: application/json
> Accept: */*
> Content-Length: 115
| {
| "type": 0,
| "webhook": "https://webhook.site/******",
| "webhookType": 1
| }
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Content-Length: 0
< Date: Mon, 31 Oct 2022 18:46:20 GMT
< Server: Microsoft-IIS/10.0
< Cache-Control: no-cache
< Expires: -1
< Pragma: no-cache
< X-Powered-By: ASP.NET
* Connection #4 to host humblebundlenotifications.azurewebsites.net left intact
from humblebundlebot.
Related Issues (20)
- Possibilty to add a hook outside of discord HOT 4
- [FEATURE] Add way to test a webhook HOT 5
- [BUG] No bundles since 10/9/19 HOT 1
- [BUG] Non-bundle blog post trips mixed-bundle webhook HOT 2
- Testing HOT 1
- [FEATURE] Omit bundle updates HOT 1
- [BUG] HOT 1
- [BUG] Register Webhook fails HOT 8
- [BUG] Bundles not posting HOT 1
- [BUG] HOT 2
- Registration Site stuck on 'Loading' HOT 2
- How can we pull and run this ourselves? Need to make some changes. HOT 3
- Nothing being posted HOT 1
- Custom Partner Links HOT 3
- System did not attempt to deliver a bundle message to a Registered Webhook HOT 3
- [BUG] Missing bundles HOT 11
- [FEATURE] As a User, I want to be able to register for all bundles at once HOT 3
- [CRITICAL ISSUE] http://blog.humblebundle.com/rss no longer exists causing bot to fail HOT 1
- [FEATURE] CurrentBundles Endpoint
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from humblebundlebot.