[bug] media proxy can't load picturs from gotosocial instances #537

Open
opened 2023-05-09 20:35:22 +00:00 by YokaiRick · 2 comments
Contributor

Your setup

From source

Extra details

Ubuntu 22.04

Version

145c73076d

PostgreSQL version

14

What were you trying to do?

Frontend doesn't display pictures from gotosocial instances. They fail with http error 416 in reverse proxy logs.

As soon as i deactivate media proxy pictures getting displayed correctly.

What did you expect to happen?

Pictures getting displayed

What actually happened?

For Profile Pictures the default one is displayed, other pictures in post doesn't load at all. Akkoma Logs is full of media proxy errors which i post below.

Logs

May 09 20:27:50 rick-akkoma-1 mix[47408]: 20:27:50.743 request_id=F12TjUJEtaguevYAALSF [error] Elixir.Pleroma.ReverseProxy: request to "https://cutebox.cc/fileserver/019DYSQDJG4PTWHTJZ9C6HBTK6/emoji/original/01JE4Q81Y4CB4T4A07TSWRQVKY.png" failed with HTTP status 416
May 09 20:27:50 rick-akkoma-1 mix[47408]: 20:27:50.747 request_id=F12TjUIX1cuWq4cAAO4E [error] Elixir.Pleroma.ReverseProxy: request to "https://cutebox.cc/fileserver/01XQW77N8AA4GX7744533J3K3B/attachment/original/01S3EWRRBY327EG103SRJX1T5N.jpg" failed with HTTP status 416
May 09 20:27:50 rick-akkoma-1 mix[47408]: 20:27:50.843 request_id=F12TjU

And another goto instance:

May 09 20:33:41 rick-akkoma-1 mix[47408]: 20:33:41.570 request_id=F12T3vS1Zhxu_WMAAOeh [error] Elixir.Pleroma.ReverseProxy: request to "https://social.gulas.ch/fileserver/01Q5VHSC8FW759T55S76MRFHM8/attachment/original/01A8PVT8K5AHJ5T6212YP3K63A.png" failed with HTTP status 416
May 09 20:33:41 rick-akkoma-1 mix[47408]: 20:33:41.571 request_id=F12T3vVTRWNkvVoAAOfB [error] Elixir.Pleroma.ReverseProxy: request to "https://social.gulas.ch/fileserver/01E6T0F9802ZCCHW876MYT8Y5F/attachment/original/01797H405B7CSHN1WY1GFPP4ZM.jpeg" failed with HTTP status 416
May 09 20:33:41 rick-akkoma-1 mix[47408]: 20:33:41.577 request_id=F12T3vXnKSqGbsAAAOfh [error] Elixir.Pleroma.ReverseProxy: request to "https://social.gulas.ch/fileserver/010AVBTC7RBZ2YAC56BAVCPYT7/attachment/original/017KKAYGBVZVKJ29YG8GKHYXSK.png" failed with HTTP status 416

Severity

I can manage

Have you searched for this issue?

  • I have double-checked and have not found this issue mentioned anywhere.
### Your setup From source ### Extra details Ubuntu 22.04 ### Version 145c73076d ### PostgreSQL version 14 ### What were you trying to do? Frontend doesn't display pictures from gotosocial instances. They fail with http error 416 in reverse proxy logs. As soon as i deactivate media proxy pictures getting displayed correctly. ### What did you expect to happen? Pictures getting displayed ### What actually happened? For Profile Pictures the default one is displayed, other pictures in post doesn't load at all. Akkoma Logs is full of media proxy errors which i post below. ### Logs ```shell May 09 20:27:50 rick-akkoma-1 mix[47408]: 20:27:50.743 request_id=F12TjUJEtaguevYAALSF [error] Elixir.Pleroma.ReverseProxy: request to "https://cutebox.cc/fileserver/019DYSQDJG4PTWHTJZ9C6HBTK6/emoji/original/01JE4Q81Y4CB4T4A07TSWRQVKY.png" failed with HTTP status 416 May 09 20:27:50 rick-akkoma-1 mix[47408]: 20:27:50.747 request_id=F12TjUIX1cuWq4cAAO4E [error] Elixir.Pleroma.ReverseProxy: request to "https://cutebox.cc/fileserver/01XQW77N8AA4GX7744533J3K3B/attachment/original/01S3EWRRBY327EG103SRJX1T5N.jpg" failed with HTTP status 416 May 09 20:27:50 rick-akkoma-1 mix[47408]: 20:27:50.843 request_id=F12TjU And another goto instance: May 09 20:33:41 rick-akkoma-1 mix[47408]: 20:33:41.570 request_id=F12T3vS1Zhxu_WMAAOeh [error] Elixir.Pleroma.ReverseProxy: request to "https://social.gulas.ch/fileserver/01Q5VHSC8FW759T55S76MRFHM8/attachment/original/01A8PVT8K5AHJ5T6212YP3K63A.png" failed with HTTP status 416 May 09 20:33:41 rick-akkoma-1 mix[47408]: 20:33:41.571 request_id=F12T3vVTRWNkvVoAAOfB [error] Elixir.Pleroma.ReverseProxy: request to "https://social.gulas.ch/fileserver/01E6T0F9802ZCCHW876MYT8Y5F/attachment/original/01797H405B7CSHN1WY1GFPP4ZM.jpeg" failed with HTTP status 416 May 09 20:33:41 rick-akkoma-1 mix[47408]: 20:33:41.577 request_id=F12T3vXnKSqGbsAAAOfh [error] Elixir.Pleroma.ReverseProxy: request to "https://social.gulas.ch/fileserver/010AVBTC7RBZ2YAC56BAVCPYT7/attachment/original/017KKAYGBVZVKJ29YG8GKHYXSK.png" failed with HTTP status 416 ``` ### Severity I can manage ### Have you searched for this issue? - [x] I have double-checked and have not found this issue mentioned anywhere.
YokaiRick added the
bug
label 2023-05-09 20:35:22 +00:00

I am also noticing this happen with gts instances.

I am also noticing this happen with gts instances.

please do not comment just to bump, +1 emoji exists for a reason

416 is range not satisfiable, probably due to whatever setup gts have

unfortunately it is incredibly hard to test this since i cannot for the life of me get gts to federate on local https..

please do not comment just to bump, +1 emoji exists for a reason 416 is range not satisfiable, probably due to whatever setup gts have unfortunately it is incredibly hard to test this since i cannot for the life of me get gts to federate on local https..
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: AkkomaGang/akkoma#537
No description provided.