tootbrute

@tootbrute@lemmy.ca

This profile is from a federated server and may be incomplete. Browse more on the original instance.

Yeah, Linux breaks sometimes, we're here for you.

Four days ago, I woke up, as I usually expect to after going to sleep and I turned on my really fucking awesome Archlinux gaming rig, hit the desktop and decide, hmmmm… I haven’t updated in a while(a week), let’s pacman -Syyuu and get up to speed. Well, I got up to speed and my favorite game, the best game of all time,...

tootbrute,

This is the nightmare scenario i never want to happen, so i run Fedora Silverblue

What is your go to music grabbing solution?

I’m looking for a YR-DLP GUI for just music, or a good way to access music in general. I had a lidarr-on-steroids instance running but it kept disconnecting from deezer and i’d love to get that back up and running but it looks like it’s not supported any more. Yt-dlp looks like a decent enough plan B, but i’m open to...

tootbrute,

Oracle free tier is fine for messing around

tootbrute,

I still think we should try it on musk himself. Those monkeys just didnt have moxie

tootbrute,

Exactly why taiwan is looking to build their own system. You can’t entrust anything to musk with his deep saudi-china links

Taiwan, meanwhile, is hesitant to use Starlink’s services for fear of Musk’s close ties with China. A dominant player in the global chips market, Taiwan feels exposed to the constant threat of Chinese invasion. Using Starlink might be one way to bolster its national and data security—especially when Taiwan suspects China of cutting its submarine internet cables. But for Taiwan to rely too heavily on Starlink might prove unwise, in the event that China pressures Musk to limit network access abruptly, as he has done in certain situations in Ukraine.

qz.com/china-taiwan-starlink-elon-musk-satellite-…

tootbrute,
tootbrute, (edited )

OK thanks for the tip.

Firefox, F12, debugger


<span style="color:#323232;">API error: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
</span><span style="color:#323232;">e https://tw.arkadi.one/static/js/client.js:2
</span><span style="color:#323232;">    p https://tw.arkadi.one/static/js/client.js:2
</span><span style="color:#323232;">    C https://tw.arkadi.one/static/js/client.js:2
</span><span style="color:#323232;">    w https://tw.arkadi.one/static/js/client.js:2
</span><span style="color:#323232;">    y https://tw.arkadi.one/static/js/client.js:2
</span><span style="color:#323232;">    s https://tw.arkadi.one/static/js/client.js:2
</span>

Caddy log

{“level”:“error”,“ts”:1692060935.893172,“logger”:“http.log.access.log0”,“msg”:“handled request”,“request”:{“remote_ip”:“49.159.84.13”,“remote_port”:“41462”,“client_ip”:“IP_REDACTED”,“proto”:“HTTP/2.0”,“method”:“POST”,“host”:“tw.arkadi.one”,“uri”:“/api/v3/user/register”,“headers”:{“Referer”:[“https://tw.arkadi.one/setup”],“Cookie”:[],“Content-Type”:[“application/json”],“Accept-Encoding”:[“gzip, deflate, br”],“Dnt”:[“1”],“Te”:[“trailers”],“User-Agent”:[“Mozilla/5.0 (Windows NT 10.0; rv:109.0) Gecko/20100101 Firefox/116.0”],“Origin”:[“https://tw.arkadi.one”],“Sec-Fetch-Dest”:[“empty”],“Content-Length”:[“112”],“Accept-Language”:[“en-CA,en-US;q=0.7,en;q=0.3”],“Sec-Fetch-Mode”:[“cors”],“Sec-Fetch-Site”:[“same-origin”],“Accept”:[“*/*”]},“tls”:{“resumed”:false,“version”:772,“cipher_suite”:4865,“proto”:“h2”,“server_name”:“tw.arkadi.one”}},“bytes_read”:0,“user_id”:“”,“duration”:0.002207562,“size”:0,“status”:502,“resp_headers”:{“Server”:[“Caddy”],“Alt-Svc”:[“h3=”:443“; ma=2592000”]}}

I don’t see anything wrong here though it says it is an error. Hmm.

EDIT: Ok one thing that could be wrong is it says the protcol is HTTP/2.0.

I noticed on the troubleshooting page of Lemmy it says

Make sure that websocket is working correctly, by checking the browser console for errors. In nginx, the following headers are important for this:


<span style="color:#323232;">proxy_http_version 1.1;
</span><span style="color:#323232;">proxy_set_header Upgrade $http_upgrade;
</span><span style="color:#323232;">proxy_set_header Connection "upgrade";
</span>

So, I am now searching if I can get Caddy to serve HTTP/1.1 for websockets?

tootbrute,

I am running this on an arm64 server and there isn’t an official docker build for arm.

I figured out how to get past that screen.

I added this to my Caddyfile after reading this caddy.community/t/…/9


<span style="color:#323232;">tw.arkadi.one {
</span><span style="color:#323232;">        import caddy-common
</span><span style="color:#323232;">        reverse_proxy   http://localhost:1234
</span><span style="color:#323232;">
</span><span style="color:#323232;">        @websockets {
</span><span style="color:#323232;">                header Connection Upgrade
</span><span style="color:#323232;">                header Upgrade websocket
</span><span style="color:#323232;">        }
</span><span style="color:#323232;">
</span><span style="color:#323232;">        handle @lemmy {
</span><span style="color:#323232;">                reverse_proxy @websockets   http://lemmy_lemmy_1:8536
</span><span style="color:#323232;">}
</span>

I got my instance running. Thanks for the suggestions.

tootbrute,

Thanks! I was going to post something on the documentation github about my hack. I’m not sure why it worked but adding that worked.

Maybe it is something to do with Caddy and Nginx not working well together?

We really need an ARM build of this though.

Linux for the Airheaded Layman?

I have tried to learn Linux for ages, and have experimented with installing Arch and Ubuntu. Usually something goes wrong when I try to set up a desktop environment after installing Arch in VirtualBox. KDE gave me a problem where I couldn't log in after getting to the point where my username was displayed in a similar format to...

tootbrute,

Get Fedora Silverblue. It is rock solid. Install Distrobox or Boxes to emulate other systems on top of that.

You could also move on to something else later if toy like.

tootbrute,

I grew up in Canada but now live in Asia. I dread, absolutely dread going to any country where 'tipping' is normal. Why do we have to pay someone to do their job? The price should be the price on the menu.

I would travel to any country in Asia that doesn't have tipping rather than go back to Vancouver to pay $12 for a beer and be expected to tip for someone taking a bottle of beer from the fridge. I could never move back to Canada. /rant over.

tootbrute,

Hi. Canadian living in South East Asia. On Mastodon, @elias Linux, coffee, and board game enthusiast.

Checking out this Lemmy thing until I try self-hosting it myself.

tootbrute,

My down vote is all in good fun :D

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • GTA5RPClips
  • magazineikmin
  • InstantRegret
  • thenastyranch
  • cubers
  • Youngstown
  • ethstaker
  • slotface
  • mdbf
  • rosin
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • khanakhh
  • tacticalgear
  • ngwrru68w68
  • cisconetworking
  • modclub
  • everett
  • osvaldo12
  • normalnudes
  • provamag3
  • anitta
  • tester
  • Leos
  • lostlight
  • All magazines