this post was submitted on 26 Jul 2023
1 points (60.0% liked)

Lemmy Support

4654 readers
21 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] muddybulldog@mylemmy.win 1 points 1 year ago (3 children)

0.0.0.0 is shorthand for ANY IPv4 address present on this host. Nobody has an ACTUAL 0.0.0.0

https://en.m.wikipedia.org/wiki/0.0.0.0

[–] Valmond@lemmy.ml 1 points 1 year ago (1 children)

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:

https://lemmy.mindoki.com/pictrs/image/edc27c1a-bba5-4c98-b6b7-e0e194cfa3e5.png?format=webp&thumbnail=256

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).

[–] muddybulldog@mylemmy.win 2 points 1 year ago (1 children)

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.

[–] Valmond@lemmy.ml 1 points 1 year ago

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 :-)

load more comments (1 replies)