søren peter mørch

Conversation

Recent posts in reply to #2w6yh6a

eldersnake@we.loveprivacy.club
Unfortunately not on that front. Still the same 404 posting errors and oddly occasional login errors.

That's why I was wondering if using Go 1.22.4 could be an issue. I don't know how exactly. Only way to test is to rebuild it with an older version I guess, which is why I did the make clean in the first place. Old habits die hard lol.
Read replies 4 weeks ago
bender@twtxt.net
@eldersnake are your replies creating new posts? I know this is a reply to a question from @prologic, but it is not within the same thread.
In reply to: #2w6yh6a 4 weeks ago
prologic@twtxt.net
@eldersnake So you're still having the exact same problems?! 🤔 And no I don't think the version of the compiler has much to do with this 😢
In reply to: #2w6yh6a 3 weeks ago
prologic@twtxt.net
FWIW `go v1.22.2` here, but I'll upgrade now just to be sure...
In reply to: #2w6yh6a 3 weeks ago
prologic@twtxt.net
Upgraded my Go compiler and I'm still not able to reproduce those 404(s) you're seeing. For clarity, this is what you expect to see in the server logs:

```
DEBU[0163] no subscriptions found for http://10.0.0.164:8000/user/admin/twtxt.txt
[yarnd] 2024/06/19 23:13:23 (10.0.0.164:64888) "POST /post HTTP/1.1" 200 0 8.323709ms
DEBU[0163] reloading templates in debug mode...
[yarnd] 2024/06/19 23:13:23 (10.0.0.164:64888) "GET / HTTP/1.1" 200 18120 87.933208ms
```

for every post there should be a `POST /post ...` followed pretty quickly by a `GET /`
In reply to: #2w6yh6a 3 weeks ago
prologic@twtxt.net
But there should *never ever* be a `GET /post` -- There is no handler/route for that, that *will* indeed 404, really strange you're still seeing this? And what's this login issue?
In reply to: #2w6yh6a 3 weeks ago
eldersnake@we.loveprivacy.club
@bender hmm you may be right...
In reply to: #2w6yh6a 3 weeks ago
prologic@twtxt.net
@eldersnake That one was 👌
In reply to: #2w6yh6a 3 weeks ago
eldersnake@we.loveprivacy.club
@prologic The login issue I cant yet narrow down as to when it happens as sometimes I login fine. But it gives off a 401 forbidden error. Anyway I've been focusing on the posting error as I figured it must be related. Registering and logging in as a new user works every time, which is weird.
In reply to: #2w6yh6a 3 weeks ago
prologic@twtxt.net
@eldersnake I don't see the subsequent `GET /`, You are right that a `POST /post` does an internal XHR redirect to whatever view you're on to refresh it.
In reply to: #2w6yh6a 3 weeks ago
prologic@twtxt.net
Oh you deleted that last Twt 🤣
In reply to: #2w6yh6a 3 weeks ago
eldersnake@we.loveprivacy.club
@prologic Yeah realised I hit the character limit lol
In reply to: #2w6yh6a 3 weeks ago
prologic@twtxt.net
@eldersnake LOL all good. Feel free to use https://gist.mills.io 👌
In reply to: #2w6yh6a 3 weeks ago
Comment via email