Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Download not working on version 3.5+ #1276

Open
Blacky25 opened this issue Nov 3, 2024 · 1 comment
Open

[Bug] Download not working on version 3.5+ #1276

Blacky25 opened this issue Nov 3, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Blacky25
Copy link

Blacky25 commented Nov 3, 2024

RomM version
3.5+

Describe the bug
I'm unable to download the games from the library. I get "ERR_INVALID_RESPONSE" for the example link:
http://rommhost:port/api/roms/9/content/hidden%20hidden%20(Japan,%20Europe)%20(Ja).sg?

To Reproduce
Start complete fresh with docker-compose. Create the Admin User and start the library scan. After seein the first covers i try to press the arrow for download and then this happens.

Expected behavior
Download the game of course

Screenshots
I think it is not needed it is just the default browser error

Desktop (please complete the following information):

  • OS: Linux Mint 21.3 Cinnamon
  • Firefox (and I also tested google chrome from my smartphone
  • idk latest i think

Additional context
This is the log while accessing the download:

clientip:0 - "GET /api/roms/19/content/XXXX.sc HTTP/1.0" 200

2024/11/03 19:43:14 [error] 27#27: *5 open() "/romm/library/roms/XXXX.sc" failed (13: Permission denied), client: clientip, server: localhost, request: "GET /api/roms/19/content/XXXXXX.sc? HTTP/1.1", upstream: "http://unix:/tmp/gunicorn.sock/api/roms/19/content/XXXXXXXX.sc?", host: "rommhost:port", referrer: "http://rommhost:port/"

INFO:	  [nginx][2024-11-03 19:43:14]	clientip - - "GET /api/roms/19/content/XXXX.sc? HTTP/1.1" 403 555 "http://rommhost:port/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36" rt=0.027 uct="0.000" uht="0.027" urt="0.027"

XXXX is the game
rommhost is of course an ip
port is the port
and clientip the ip from the accessing machine.

Folder structure is

romm/library 
|-roms
     |-console a
     |-console b
|-bios
     |-console a
     |-console b

Starting fresh on Version 3.4 is working everything. Updating to the latest is giving me the ERR_INVALID_RESPONSE and starting fresh on the latest version is giving me ERR_INVALID_RESPONSE.

I completely deleted the browser history cookies etc between every attempt.

Because it tells in the error log that it is a permission error i already set my rom to permission 777 on the server but it still doesn't work.

I hope it is somehow clear what my problem is. This is the best i could do to describe it.

Greeting Blacky25

@Blacky25 Blacky25 added the bug Something isn't working label Nov 3, 2024
@Blacky25 Blacky25 changed the title [Bug] Bug title [Bug] Download not working on version 3.5+ Nov 3, 2024
@gantoine
Copy link
Member

Try reading through #1110 or #1245, see if anything in there helps.

@gantoine gantoine self-assigned this Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants