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.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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
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).
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 :-)