ass icon indicating copy to clipboard operation
ass copied to clipboard

[BUG] Title

Open artificialai223 opened this issue 2 years ago • 5 comments

Is there an existing Issue for this bug?

  • [X] I have searched the existing issues

Expected behavior

It should display the image as it is the Direct endpoint.

Actual behavior

https://cdn.dropcode.xyz/bleak-pessimistic-rhino/direct

It instead says { message: "Unauthorized" } with no error in server console.

Steps to reproduce

No response

Logs (optional)

No response

ass version

latest (git clone around 4 hours ago)

Deployment

Manual

File storage

S3

Operating system

Ubuntu 20.04

Node version

v16.5.0

Storage method

papito

Reverse proxy

  • [X] I am using a reverse proxy

Reverse proxy software

NGINX Proxy Manager (version unknown)

Cloudflare

  • [X] I am using Cloudflare

artificialai223 avatar May 20 '22 20:05 artificialai223

The file is in the S3 bucket and the /thumbnail endpoint works.

artificialai223 avatar May 20 '22 20:05 artificialai223

@tycrek Any help would be appreciated.

artificialai223 avatar May 21 '22 16:05 artificialai223

Which S3 host are you using? Also, are you able to view the file on the public S3 URL (if any)? Lastly, do you have viewDirect enabled in your config?

tycrek avatar May 21 '22 17:05 tycrek

viewDirect is not enabled, I am using Contabo and there is no public S3 url.

@tycrek

artificialai223 avatar May 22 '22 13:05 artificialai223

@tycrek Any response?

artificialai223 avatar May 24 '22 18:05 artificialai223

Sorry for the delay.

ass effectively just acts as a proxy for the response from the S3 host, so what you see on the browser is what ass is receiving. There might be something misconfigured with your S3 host, or you may have to adjust how ass talks to S3.

tycrek avatar Oct 14 '22 15:10 tycrek