Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord invite link returns 401 #2196

Closed
Olshansk opened this issue Sep 24, 2023 · 2 comments
Closed

Discord invite link returns 401 #2196

Olshansk opened this issue Sep 24, 2023 · 2 comments

Comments

@Olshansk
Copy link

I found the link to the datasette discord channel via this query.

The following video should be self explanatory:

Screen.Recording.2023-09-24.at.11.14.08.AM.mov

Link for reference: https://discord.com/invite/ktd74dm5mw

@simonw
Copy link
Owner

simonw commented Oct 12, 2023

I can't replicate this bug. Closing, but please re-open if it's still happening.

As an aside, the link I promote is https://datasette.io/discord which redirects:

curl -i 'https://datasette.io/discord'
HTTP/2 301 
location: https://discord.gg/ktd74dm5mw
content-type: text/plain
x-cloud-trace-context: 8dcfd08d3d1fa44f7ee78568e0f5305e;o=1
date: Thu, 12 Oct 2023 21:54:17 GMT
server: Google Frontend
content-length: 0
curl -i 'https://discord.gg/ktd74dm5mw'
HTTP/2 301 
date: Thu, 12 Oct 2023 21:54:28 GMT
content-type: text/plain;charset=UTF-8
content-length: 0
location: https://discord.com/invite/ktd74dm5mw
strict-transport-security: max-age=31536000; includeSubDomains; preload
permissions-policy: interest-cohort=()
x-content-type-options: nosniff
x-frame-options: DENY
x-robots-tag: noindex, nofollow, noarchive, nocache, noimageindex, noodp
x-xss-protection: 1; mode=block
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Dzzrf%2FgGkfFxtzSAQ46slMVDLcFjsH9fsvVkzHtgUUiZ891rXAa6LvTRpHK%2BdSMSQ54F57hS9z1mZXXklIbONZW1bfBuFjSK9J4XmjjLjsFUulMXvpjfCLkB6PI%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 815294ddff282511-SJC

@simonw simonw closed this as completed Oct 12, 2023
simonw added a commit that referenced this issue Oct 12, 2023
This issue reminded me to use the datasette.io/discord redirect URL.
@Olshansk
Copy link
Author

That worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants