laanwj on Nostr: might be, or it's some specific interaction with how handles authentication the ...
might be, or it's some specific interaction with how
https://github.com/0xtrr/cherry-server handles authentication
the sequence of events is the following:
- nostrudel sends a HEAD /upload request (no auth header), gets 405
- nostrudel sends a OPTIONS /upload request (no auth header), gets 200
- nostrudel sends a PUT /upload request (no auth header), gets 401 (this is what is shown in the image)
- nostrudel sends a OPTIONS /upload request (no auth header), gets 200
then it gives up
Published at
2024-11-15 16:56:52Event JSON
{
"id": "d805acf6490164e1c06a4d81b77f127fae882368f5291f2417fb6e1aff4660f8",
"pubkey": "0aa39e5aef99a000a7bdb0b499158c92bc4aa20fb65931a52d055b5eb6dff738",
"created_at": 1731689812,
"kind": 1,
"tags": [
[
"e",
"0000d9ca8dc05b1013a461ee31afbd046ab66bfe5ad66c1c7f60c05cfc2454cc",
"wss://nostr.x0f.org/",
"root"
],
[
"e",
"0d9d70eda0730701f0035d4fb641eaf585c73e0f01c6212ca55ad63511b2e41f",
"wss://nostr.wine/",
"reply"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"wss://nos.lol/",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "might be, or it's some specific interaction with how https://github.com/0xtrr/cherry-server handles authentication\n\nthe sequence of events is the following: \n\n- nostrudel sends a HEAD /upload request (no auth header), gets 405\n- nostrudel sends a OPTIONS /upload request (no auth header), gets 200\n- nostrudel sends a PUT /upload request (no auth header), gets 401 (this is what is shown in the image)\n- nostrudel sends a OPTIONS /upload request (no auth header), gets 200\n\nthen it gives up",
"sig": "f2a6abca4a7cc389640161e0d820ba6d6c7344db311b602f1f78768c47db4e14831e6b9a9bbd74697e7c8877db348c2a9585401907623625f0de9219b8c20616"
}