this post was submitted on 18 Feb 2024
71 points (91.8% liked)

Selfhosted

40329 readers
465 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] afk_strats@lemmy.world 1 points 9 months ago* (last edited 9 months ago) (2 children)

~~Your link is not on https and asking me to download a .bin file. Extremely sus~~

Edit: link looks good now

[–] Krafting@lemmy.world 3 points 9 months ago (1 children)
[–] thejevans@lemmy.ml 2 points 9 months ago (1 children)

The same thing happened to me when I first tried to go there, but it's fine now.

[–] stratosfear@lemmy.sdf.org 1 points 9 months ago (1 children)

Also prompting me to download a .bin

[–] Krafting@lemmy.world 1 points 9 months ago (2 children)

OKey, so that's a bit concerning... I'd love to get my hand on this "bin" file, I cannot reproduce the issue on my side... Also the site should be HTTPS only. I had a bug with caching recently that showed the ActivityPub data instead of the blog post, could it be that ? Are you on mobile, and the browser cannot show JSON data properly so it tries to download it with a weird name ?

[–] stratosfear@lemmy.sdf.org 0 points 9 months ago* (last edited 9 months ago) (1 children)

I am on Android mobile. Firefox only prompts to download downloadfile.bin. Duckduckgo browser actually opens the file contents. I'll post it here, since I'm getting it from public I'm hoping that's okay. This is the content...

{"@context":["https://www.w3.org/ns/activitystreams",{"Hashtag":"as:Hashtag"}],"id":"https://blog.krafting.net/my-first-server-rack/","type":"Note","attachment":[{"type":"Image","url":"https://blog.krafting.net/wp-content/uploads/2024/02/603fb502-9977-461f-92c6-7375055fdec6-min-scaled.jpg","mediaType":"image/jpeg"},{"type":"Image","url":"https://blog.krafting.net/wp-content/uploads/2024/02/20240129_184909-min-scaled.jpg","mediaType":"image/jpeg"},{"type":"Image","url":"https://blog.krafting.net/wp-content/uploads/2024/02/20240129_185338-min-scaled.jpg","mediaType":"image/jpeg"},{"type":"Image","url":"https://blog.krafting.net/wp-content/uploads/2024/02/20240129_193432-min-scaled.jpg","mediaType":"image/jpeg"}],"attributedTo":"https://blog.krafting.net/author/admin/","content":"\u003Cp\u003E\u003Cstrong\u003EMy First Server Rack!\u003C/strong\u003E\u003C/p\u003E\u003Cp\u003E\u003Ca href=\u0022https://blog.krafting.net/my-first-server-rack/\u0022\u003Ehttps://blog.krafting.net/my-first-server-rack/\u003C/a\u003E\u003C/p\u003E\u003Cp\u003E\u003Ca rel=\u0022tag\u0022 class=\u0022hashtag u-tag u-category\u0022 href=\u0022https://blog.krafting.net/tag/homelab/\u0022\u003E#homelab\u003C/a\u003E \u003Ca rel=\u0022tag\u0022 class=\u0022hashtag u-tag u-category\u0022 href=\u0022https://blog.krafting.net/tag/management/\u0022\u003E#management\u003C/a\u003E \u003Ca rel=\u0022tag\u0022 class=\u0022hashtag u-tag u-category\u0022 href=\u0022https://blog.krafting.net/tag/networking/\u0022\u003E#networking\u003C/a\u003E \u003Ca rel=\u0022tag\u0022 class=\u0022hashtag u-tag u-category\u0022 href=\u0022https://blog.krafting.net/tag/rack/\u0022\u003E#rack\u003C/a\u003E \u003Ca rel=\u0022tag\u0022 class=\u0022hashtag u-tag u-category\u0022 href=\u0022https://blog.krafting.net/tag/server/\u0022\u003E#server\u003C/a\u003E \u003Ca rel=\u0022tag\u0022 class=\u0022hashtag u-tag u-category\u0022 href=\u0022https://blog.krafting.net/tag/startech/\u0022\u003E#startech\u003C/a\u003E\u003C/p\u003E","contentMap":{"en":"\u003Cp\u003E\u003Cstrong\u003EMy First Server Rack!\u003C/strong\u003E\u003C/p\u003E\u003Cp\u003E\u003Ca href=\u0022https://blog.krafting.net/my-first-server-rack/\u0022\u003Ehttps://blog.krafting.net/my-first-server-rack/\u003C/a\u003E\u003C/p\u003E\u003Cp\u003E\u003Ca rel=\u0022tag\u0022 class=\u0022hashtag u-tag u-category\u0022 href=\u0022https://blog.krafting.net/tag/homelab/\u0022\u003E#homelab\u003C/a\u003E \u003Ca rel=\u0022tag\u0022 class=\u0022hashtag u-tag u-category\u0022 href=\u0022https://blog.krafting.net/tag/management/\u0022\u003E#management\u003C/a\u003E \u003Ca rel=\u0022tag\u0022 class=\u0022hashtag u-tag u-category\u0022 href=\u0022https://blog.krafting.net/tag/networking/\u0022\u003E#networking\u003C/a\u003E \u003Ca rel=\u0022tag\u0022 class=\u0022hashtag u-tag u-category\u0022 href=\u0022https://blog.krafting.net/tag/rack/\u0022\u003E#rack\u003C/a\u003E \u003Ca rel=\u0022tag\u0022 class=\u0022hashtag u-tag u-category\u0022 href=\u0022https://blog.krafting.net/tag/server/\u0022\u003E#server\u003C/a\u003E \u003Ca rel=\u0022tag\u0022 class=\u0022hashtag u-tag u-category\u0022 href=\u0022https://blog.krafting.net/tag/startech/\u0022\u003E#startech\u003C/a\u003E\u003C/p\u003E"},"published":"2024-02-05T19:10:19Z","tag":[{"type":"Hashtag","href":"https://blog.krafting.net/tag/homelab/","name":"#homelab"},{"type":"Hashtag","href":"https://blog.krafting.net/tag/management/","name":"#management"},{"type":"Hashtag","href":"https://blog.krafting.net/tag/networking/","name":"#networking"},{"type":"Hashtag","href":"https://blog.krafting.net/tag/rack/","name":"#rack"},{"type":"Hashtag","href":"https://blog.krafting.net/tag/server/","name":"#server"},{"type":"Hashtag","href":"https://blog.krafting.net/tag/startech/","name":"#startech"}],"updated":"2024-02-05T19:22:17Z","url":"https://blog.krafting.net/my-first-server-rack/","to":["https://www.w3.org/ns/activitystreams#Public","https://blog.krafting.net/wp-json/activitypub/1.0/users/1/followers"],"cc":[]}

I can erase the direct post link and then the site loads, but then if I click the post title it loads the text again...

[–] Krafting@lemmy.world 1 points 9 months ago (1 children)

Okey so the "bin" is actually the activitypub data... I don't know why this is still happening... there might be something wrong somewhere, but where...

[–] stratosfear@lemmy.sdf.org 0 points 9 months ago (1 children)

It's working now. I did reset my router today to get IPv6 working for me, so unsure if that changed anything or in was on your end, but FYI.

[–] Krafting@lemmy.world 1 points 9 months ago

My blog doesn't have IPv6 sadly... and I did nothing, the issue just seems to appear randomly... I did nothing yesterday so yeah...

[–] Krafting@lemmy.world 1 points 9 months ago (1 children)

OKey, so that's a bit concerning... I'd love to get my hand on this "bin" file, I cannot reproduce the issue on my side... Also the site should be HTTPS only. I had a bug with caching recently that showed the ActivityPub data instead of the blog post, could it be that ? Are you on mobile, and the browser cannot show JSON data properly so it tries to download it with a weird name ?

[–] afk_strats@lemmy.world 2 points 9 months ago (1 children)

I'm not really a networking expert so I can't make too good of a guess as to what happened. I'm on the latest Firefox mobile release on Android and was accessing from a Colorado IP. When I originally tried the site, nothing was rendered. It was a blank page or just a redirect for download. I didn't download the .bin. I clicked your link twice before sending my message.

[–] Krafting@lemmy.world 1 points 9 months ago

Well, thanks for the follow-up anyway, I did some tweaks, and I hope it won't happen again... I'll see.