Conversation
Notices
-
Embed this notice
Alex Gleason (alex@gleasonator.com)'s status on Sunday, 11-Jun-2023 03:09:24 JST Alex Gleason @tedb You should move media to a subdomain for security reasons -
Embed this notice
Ted B (tedb@gigaohm.bio)'s status on Sunday, 11-Jun-2023 03:09:25 JST Ted B Yep too many redirects -
Embed this notice
Ted B (tedb@gigaohm.bio)'s status on Sunday, 11-Jun-2023 03:09:26 JST Ted B Guessing it’s probably something borked in the nginx media section (although I didn’t change it and I’m using ansible to configure nginx so same config).
location / { proxy_pass http://phoenix; } location ~ ^/(media|proxy) { proxy_cache pleroma_media_cache; slice 1m; proxy_cache_key $host$uri$is_args$args$slice_range; proxy_set_header Range $slice_range; proxy_cache_valid 200 206 301 304 1h; proxy_cache_lock on; proxy_ignore_client_abort on; proxy_buffering on; chunked_transfer_encoding on; proxy_pass http://phoenix; }After 3am here I need 😴
-
Embed this notice
Ted B (tedb@gigaohm.bio)'s status on Sunday, 11-Jun-2023 03:09:27 JST Ted B I see access logs on nginx trying over and over in a redirect loop it seems, but no error logs at the same time
xxxxxxxx - - [10/Jun/2023:17:37:01 +0000] "GET /media/ccf9e875-3cf3-45dd-a958-36f4ba3664a4/tedb.jpg HTTP/2.0" 302 137 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0" xxxxxxxx - - [10/Jun/2023:17:37:01 +0000] "GET /media/ccf9e875-3cf3-45dd-a958-36f4ba3664a4/tedb.jpg HTTP/2.0" 302 137 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0" xxxxxxxx - - [10/Jun/2023:17:37:02 +0000] "GET /media/ccf9e875-3cf3-45dd-a958-36f4ba3664a4/tedb.jpg HTTP/2.0" 302 137 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0" xxxxxxxx - - [10/Jun/2023:17:37:02 +0000] "GET /media/ccf9e875-3cf3-45dd-a958-36f4ba3664a4/tedb.jpg HTTP/2.0" 302 137 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0" xxxxxxxx - - [10/Jun/2023:17:37:02 +0000] "GET /media/ccf9e875-3cf3-45dd-a958-36f4ba3664a4/tedb.jpg HTTP/2.0" 302 137 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0" xxxxxxxx - - [10/Jun/2023:17:37:02 +0000] "GET /media/ccf9e875-3cf3-45dd-a958-36f4ba3664a4/tedb.jpg HTTP/2.0" 302 137 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0" xxxxxxxx - - [10/Jun/2023:17:37:03 +0000] "GET /media/ccf9e875-3cf3-45dd-a958-36f4ba3664a4/tedb.jpg HTTP/2.0" 302 137 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0" xxxxxxxx - - [10/Jun/2023:17:37:03 +0000] "GET /media/ccf9e875-3cf3-45dd-a958-36f4ba3664a4/tedb.jpg HTTP/2.0" 302 137 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0" xxxxxxxx - - [10/Jun/2023:17:37:03 +0000] "GET /media/ccf9e875-3cf3-45dd-a958-36f4ba3664a4/tedb.jpg HTTP/2.0" 302 137 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0" xxxxxxxx - - [10/Jun/2023:17:37:03 +0000] "GET /media/ccf9e875-3cf3-45dd-a958-36f4ba3664a4/tedb.jpg HTTP/2.0" 302 137 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0" xxxxxxxx - - [10/Jun/2023:17:37:04 +0000] "GET /media/ccf9e875-3cf3-45dd-a958-36f4ba3664a4/tedb.jpg HTTP/2.0" 302 137 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0" -
Embed this notice
Ted B (tedb@gigaohm.bio)'s status on Sunday, 11-Jun-2023 03:09:28 JST Ted B I was thinking maybe a DB problem? But I used the pleroma docs on a custom db dump and restore and all worked well there. -
Embed this notice
Ted B (tedb@gigaohm.bio)'s status on Sunday, 11-Jun-2023 03:09:29 JST Ted B For example https://gigaohm.bio/media/ccf9e875-3cf3-45dd-a958-36f4ba3664a4/tedb.jpg -
Embed this notice
Ted B (tedb@gigaohm.bio)'s status on Sunday, 11-Jun-2023 03:09:30 JST Ted B @alex after I moved the server, I'm getting 302 redirects on my media (uploads) that are then not loading. Where do I start debugging that? 🙏
-
Embed this notice