Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Discord not displaying (preview) images hosted on CPanel - Page 2
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Discord not displaying (preview) images hosted on CPanel

2

Comments

  • @DeadlyChemist said:
    but then https://tcw.edu.pl/1.png
    should have worked but still didn't

    Unless you've changed it afterwards, that's not going through BunnyCDN. That's directly to your hosting.

  • @Decicus said:

    @DeadlyChemist said:
    but then https://tcw.edu.pl/1.png
    should have worked but still didn't

    Unless you've changed it afterwards, that's not going through BunnyCDN. That's directly to your hosting.

    media2.thechemicalworkshop.com is going thru bunny

  • So dc2 is in DNS, it's not loading, but I also visited this before and this could be DNS issue - no idea which one Discord uses and for how long it's cached there.

    dc1 is hardcoded in BunnyCDN to avoid DNS problems...
    https://i.imgur.com/vlFjRix.png
    and it's working :D

    testdc1test.b-cdn.net/1.png

  • @DeadlyChemist said:

    @Decicus said:

    @DeadlyChemist said:
    but then https://tcw.edu.pl/1.png
    should have worked but still didn't

    Unless you've changed it afterwards, that's not going through BunnyCDN. That's directly to your hosting.

    media2.thechemicalworkshop.com is going thru bunny

    Which comes back to my original point that I wrote in this post: https://lowendtalk.com/discussion/comment/3626235/#Comment_3626235 - Discord is likely caching that subdomain as "not working", hence you should test with a never used subdomain and proxy it through Bunny.

  • @JabJab said:
    So dc2 is in DNS, it's not loading, but I also visited this before and this could be DNS issue - no idea which one Discord uses and for how long it's cached there.

    dc1 is hardcoded in BunnyCDN to avoid DNS problems...
    https://i.imgur.com/vlFjRix.png
    and it's working :D

    testdc1test.b-cdn.net/1.png

    @Decicus said:

    @DeadlyChemist said:

    @Decicus said:

    @DeadlyChemist said:
    but then https://tcw.edu.pl/1.png
    should have worked but still didn't

    Unless you've changed it afterwards, that's not going through BunnyCDN. That's directly to your hosting.

    media2.thechemicalworkshop.com is going thru bunny

    Which comes back to my original point that I wrote in this post: https://lowendtalk.com/discussion/comment/3626235/#Comment_3626235 - Discord is likely caching that subdomain as "not working", hence you should test with a never used subdomain and proxy it through Bunny.

    let me make a brand new subdomain of thechemicalworkshop.com and route it thru bunny

  • DeadlyChemistDeadlyChemist Member
    edited February 2023

    https://eatmypictures.thechemicalworkshop.com/1.png

    discord never saw this subdomain, routed thru bunny*

  • JabJabJabJab Member
    edited February 2023

    Nope, not loading.

    Do you even see request in logs? Like I've run this in messages - dc2 should have log for "DISCORD_REQUEST_2.png" and dc1 should have log for "DISCORD_REQUEST_3.png" - but this should origin from bunny CDN rather than Discord proxy

    [5:01 PM]JabLuszko: https://dc2.jabluszko.org/DISCORD_REQUEST_2.png
    [5:02 PM]JabLuszko: https://testdc1test.b-cdn.net/DISCORD_REQUEST_3.png

  • @JabJab said:
    Nope, not loading.

    Do you even see request in logs? Like I've run this in messages - dc2 should have log for "DISCORD_REQUEST_2.png" and dc1 should have log for "DISCORD_REQUEST_3.png" - but this should origin from bunny CDN rather than Discord proxy

    [5:01 PM]JabLuszko: https://dc2.jabluszko.org/DISCORD_REQUEST_2.png
    [5:02 PM]JabLuszko: https://testdc1test.b-cdn.net/DISCORD_REQUEST_3.png

    spent yesterday like half an hour going thru logs and logs, can't find shit on cpanel, on bunny there was nothing either like an hour ago

  • Yes, 3rd party domain and 3rd party hostings works :D

    I would guess this is Discord + RN problem (like rate limiting on theirs cpanel or something?) and first requests goes 404/500/timeout, discord marks the (sub?)domain broken and then when we try via any CDN it still thinks (sub?)domain is broken and never tries.

    This however does not answers why the api subdomain works... but maybe answer is directly in subdomain and api is special whitelisted/not-rate limited thing?

  • Jetpack and imgproxy works just fine, atleast for me, so what i think is there is something wrong with server config, either webserver blocking discord origin or discord blocking the domain origin.

  • @TrK said:

    Jetpack and imgproxy works just fine, atleast for me, so what i think is there is something wrong with server config, either webserver blocking discord origin or discord blocking the domain origin.

    i'll ask racknerd, maybe they just know...
    im tired of this issues, if i post a request "looking for cpanel" i'll update here

  • Hello, this is slightly hard to explain
    
    Many websites and forums have image preview, which means if I post an image link it gets previewed for the user, this works on Telegram, Discord, some forums etc
    The Server (Discord, Telegram etc.) fetches the image from Server (CPanel), caches it and displays it to the user. For security/privacy reasons, the user does not fetch the image directly.
    
    I looked at all features, like CORS, hotlink protection etc, toggled them on and back off. Tried different subdomain, domain, routing thru CDN and more. routing image thru jetpack does work, but that's not my solution https://i0.wp.com/tcw.edu.pl/1.png
    
    This used to work 2weeks ago normally without any issues
    
    Is there a possibility you blacklisted discord servers on your end? 
    
    The images work perfectly fine on browser, but when discord tried to fetch them, they are blocked, can't find logs about it either.
    
    here is one of the images in question
    https://tcw.edu.pl/1.png
    
    I hope this can be resolved somehow
    

    all we do is wait

  • inlandinland Member
    edited February 2023

    @DeadlyChemist said: here is a link to a picture if you guys have clue why it is so
    https://media.thechemicalworkshop.com/TCWStandsFor/psychedelic fart/1.jpg

    Uhh, because it has an invalid self signed SSL certificate?
    It also results in a timeout when trying to load via Tor Browser, which is indicative that it may block Discord's IP addresses also.

    CORS has nothing to do with it.

  • Talked to support
    TL;DR

    They are aware as they seen this thread (good job ngl)
    Their fixes didn't work (fair, could be discord)
    They offered me free migration (might consider)

    They lended me another node to test on, didn't expect that but will definitely test it.
    After im done in few weeks/months testing, i'll let you know

    possible i'll switch to other country/hosting (only for my pics) because germany is meh.

    I'm not mad at RackNerd or anything incase people wanna hate, just annoyed at discord (again)

    Money isn't an issue, it's like 20$ per year or whatever probably

  • @inland said:

    @DeadlyChemist said: here is a link to a picture if you guys have clue why it is so
    https://media.thechemicalworkshop.com/TCWStandsFor/psychedelic fart/1.jpg

    Uhh, because it has an invalid self signed SSL certificate?
    It also results in a timeout when trying to load via Tor Browser, which is indicative that it may block Discord's IP addresses also.

    CORS has nothing to do with it.

    read my latest one, changing servers rn

  • bruh21bruh21 Member, Host Rep
    edited February 2023

    Sorry to plug but I can give you a free test plan for a month or two in Canada. It’s DirectAdmin though

  • FatGrizzlyFatGrizzly Member, Host Rep

    try loading the image via https://images-ext-1.discordapp.net/ , should be in the message, that might give you an insight too.

  • @bruh21 said:
    Sorry to plug but I can give you a free test plan for a month or two in Canada. It’s DirectAdmin though

    when i went to your website it shows me a banned user...

    @FatGrizzly said:
    try loading the image via https://images-ext-1.discordapp.net/ , should be in the message, that might give you an insight too.

    don't really understand how i do it ?

  • FatGrizzlyFatGrizzly Member, Host Rep

    @DeadlyChemist said:

    @bruh21 said:
    Sorry to plug but I can give you a free test plan for a month or two in Canada. It’s DirectAdmin though

    when i went to your website it shows me a banned user...

    @FatGrizzly said:
    try loading the image via https://images-ext-1.discordapp.net/ , should be in the message, that might give you an insight too.

    don't really understand how i do it ?

    i'm not really a discord guy, during sometime around 2020 a guy mentioned this. I'll try contacting him and let ya know.

  • DeadlyChemistDeadlyChemist Member
    edited February 2023

    @FatGrizzly said: i'm not really a discord guy, during sometime around 2020 a guy mentioned this. I'll try contacting him and let ya know.

    thanks !
    so far does not look like it's working on the new cpanel instance, i'll try some other tricks to isolate it futher but yeah.... maybe my domain is banned? (I'll try to isolate it futher...)

  • FatGrizzlyFatGrizzly Member, Host Rep

    @DeadlyChemist said:

    @FatGrizzly said: i'm not really a discord guy, during sometime around 2020 a guy mentioned this. I'll try contacting him and let ya know.

    thanks !
    so far does not look like it's working on the new cpanel instance, i'll try some other tricks to isolate it futher but yeah.... maybe my domain is banned? (I'll try to isolate it futher...)

    try passing some dummy query strings too, like ?lalalalal=lellelao. should invalidate any caches on discord if any.

  • @FatGrizzly said: try passing some dummy query strings too, like ?lalalalal=lellelao. should invalidate any caches on discord if any.

    still not working, i guess it's an issue with RackNerd servers or CPanel? I might order some CPanel hosting just to test

  • DeadlyChemistDeadlyChemist Member
    edited February 2023

    http://testingtcw.falconmc.org/forest_lightning_france.jpg
    https://testingtcw.falconmc.org/forest_lightning_france.jpg

    new-ish domain (to discord) new subdomain
    another picture
    another server (RN/CPanel)

    does not work

    what we know:

    • my domain/subdomain is not blocked
    • possible that RackNerd or CPanel is fucked. I'm looking to test another CPanel instance

    tonight will test my Direct Admin instance with myw

  • FatGrizzlyFatGrizzly Member, Host Rep

    I'm 100% sure at this point it's RN. cPanel doesn't by default block Google cloud ips

  • I can tell you that DA (with @hostslick) works :D
    I don't have any access to cPanel, cPanel is expensive... but if those requests never ever shows up in your access.log without any magic rules/deny/firewall you have there - brand new, default vhost... then it's most likely blocked. Why would RN block Google Cloud? The fuck knows.

  • bruh21bruh21 Member, Host Rep

    @DeadlyChemist said:

    @bruh21 said:
    Sorry to plug but I can give you a free test plan for a month or two in Canada. It’s DirectAdmin though

    when i went to your website it shows me a banned user...

    @FatGrizzly said:
    try loading the image via https://images-ext-1.discordapp.net/ , should be in the message, that might give you an insight too.

    don't really understand how i do it ?

    That’s not my hosting site, sorry. PM me if you’re still interested

  • @JabJab said:
    I can tell you that DA (with @hostslick) works :D
    I don't have any access to cPanel, cPanel is expensive... but if those requests never ever shows up in your access.log without any magic rules/deny/firewall you have there - brand new, default vhost... then it's most likely blocked. Why would RN block Google Cloud? The fuck knows.

    yeah, might open another thread, might go with DirectAdmin, but i need good country like netherlands

    guess ping your fav host in NL or any "free country" rules (im not posting DMCA content)

  • Have you tried disabling ModSecurity and checked the WAF Logs in cPGuard?

  • FatGrizzlyFatGrizzly Member, Host Rep

    @DeadlyChemist said:

    @JabJab said:
    I can tell you that DA (with @hostslick) works :D
    I don't have any access to cPanel, cPanel is expensive... but if those requests never ever shows up in your access.log without any magic rules/deny/firewall you have there - brand new, default vhost... then it's most likely blocked. Why would RN block Google Cloud? The fuck knows.

    yeah, might open another thread, might go with DirectAdmin, but i need good country like netherlands

    guess ping your fav host in NL or any "free country" rules (im not posting DMCA content)

    @Francisco Buyshared.net LUX location

Sign In or Register to comment.