-
Notifications
You must be signed in to change notification settings - Fork 107
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
Images not previewing in Discord when using SSL (LetsEncrypt/Certbot certificate) #45
Comments
Discord could definitely be doing some weird stuff. If it stopped how things previewed on multiple different services I'd begin to think that its a ShareS issue, but other services and your web browser can clearly get the image data. Discord should have no problem getting this data so this is an issue with them |
If you could supply me an example link to an image that doesnt preview, I could try to get this resolved with Discord |
Absolutely, one moment. A friend (who knows way more about JS stuff than i do) was looking at it and couldnt really find any issue. I have now set up my second domain https://valorant.dev/ using Nginx as a Reverse Proxy and now it previews on this domain. |
Hi, |
As far as I can tell from experience, Discord does some weird stuff with it. When using Cloudflare it works perfectly fine but if I setup my DNS Through my website provider, Discord fails to display. Could potentially be due to IP Reputation as well. |
Im having similar issues. I am running this in unsecure (http) and then using a cloudflare certificate and nginx reverse proxy to have https routes to my sharex uploader. I can go through to it fine in https and view the image fine however, in discord it dosent embed. I tried editing the code to make sure the protocol for sharex was |
@Nuckerr Does cloudflare handle your DNS for your domain? |
Yes, and the ssl certificates |
This would be a sharex thing. As my SC no longer works either. I put the link it generates into a browser and it no longer loads the page to show me my SC anymore. Not sure if there is a fix for this. |
Basically title.
I tried a few different servers, domains and certificates now.
As soon as you swap from http to https the image previews in Skype, Telegram, Twitter and a few others when the link is posted, just Discord decides to not preview it. Clicking the link displays the image/video/text just fine.
Using Certbot to generate certificates for
domain.com
and*.domain.com
If
"secure":
is set tofalse
it works and previews.Domains tested on: https://valorant.dev and https://files.mango.sd. (both are set to public)
Tested with Ubuntu 16.04 and 20.04.
If this is an error on the ShareX Upload Server side it would be wonderful if it could be fixed.
Edit: example config (currently the one from https://valorant.dev
Edit2: Neither Nginx nor Apache are running on those servers, its just the ShareX Server
The text was updated successfully, but these errors were encountered: