Hello!
I finally got my site up and running and (it seems anyway!) it is now quick and without errors!
How did I do it you may ask, as my site would load only in an app (and sluggishly), sometimes on the web locally, sometimes not, and never on the web (FF) on my phone…
I removed the site icon (well, the title said it already, but I’ll repeat it for dramatic effect).
Any one else have had the same problem?
Mine was pictrs refusing a fetch request, answering with a ECONNREFUSED 0.0.0.0:443
I have absolutely no 0.0.0.0 in any of my config files BTW.
Cheers!
Edit:
When the site “worked” there were usually a blank “square” instead of the logo, that’s why I tried to remove it. So it definitely seems to be some kind of problem linked to it anyways.
0.0.0.0 is shorthand for ANY IPv4 address present on this host. Nobody has an ACTUAL 0.0.0.0
Yeah I Know right! It was you who pointed it out when my config was in shambles :-)
I changed the icon and checked a newly posted image and they have the right address <3 !
This problem is no more, thank you!
Leaving this if ever it can help some other poor being :-D
And lemmy.ml does not have the pesky 0.0.0.0:
https://lemmy.ml/pictrs/image/fa6d9660-4f1f-4e90-ac73-b897216db6f3.png?format=webp&thumbnail=96
as I do:
https://0.0.0.0/pictrs/image/1fdef263-05e5-48e6-a065-a174a8002f85.png?format=webp&thumbnail=96
I do understand the problem, but how can I remedy it?
When I post an image to my site, it works perfectly well:
Edit:
I had a bad config for starters, so the images kept their wrong addresses, making the backend bail out before setting up the web page (as pictr returned an error, or that is what I think things went wrong).
Gotcha… Was just looking… while the 0.0.0.0 URL obviously doesn’t work, providing the proper domain, https://lemmy.mindoki.com/pictrs/image/1fdef263-05e5-48e6-a065-a174a8002f85.png?format=webp&thumbnail=96 works as expected. That means the image was inserted just fine but obviously the URL provided in the client/UI was bad. I’m thinking that at some point you had 0.0.0.0 in your lemmy.hjson file as the URL for pictrs.
Yeah I probably messed it up, fixed it, but was left with a site breaking image :-p
Thanks for all the help, it runs smooth now :-)