linuxserver / docker-emulatorjs

Web based retro emulation frontend with rom scanning and automated art ingestion.
GNU General Public License v3.0
509 stars 51 forks source link

Impossible to Download the "the default fileset" #60

Closed GauthierCrp closed 5 months ago

GauthierCrp commented 11 months ago

Hello EveryOne,

I tried to install EmulatorJS on Docker. I can reach the config panel but when I click on "Download the defaut fileset to begin" the download stay stuck at the first file, and nothing more.

image

The data and config repertories are located in /home/Docker/emulatorJS/data or config. Like for other container that are working. The container seems to have in internet access without any issue.

Any idea ?

Many Thanks in advance. Best Regards, Gauthier

Khalil473 commented 11 months ago

Same here, tried giving 777 prevs just to test if it will work, nothing yet happens, the to be downloaded is created and that's it.

image

xerxist commented 10 months ago

Same thing here

node:internal/deps/undici/undici:11576 Error.captureStackTrace(err, this); ^

TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: Error: connect ECONNREFUSED ::1:5001 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 5001 } }

Jahn16 commented 10 months ago

Same thing here

node:internal/deps/undici/undici:11576 Error.captureStackTrace(err, this); ^

TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: Error: connect ECONNREFUSED ::1:5001 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 5001 } }

Facing this issue as well, did you find out how to solve it @xerxist?

thelamer commented 10 months ago

The error seems to indicate that IPFS is not running inside the container. (port 5001 ECONNREFUSED) But also :: is ipv6 could this be an ipv6 thing?

Jahn16 commented 10 months ago

The error seems to indicate that IPFS is not running inside the container. (port 5001 ECONNREFUSED) But also :: is ipv6 could this be an ipv6 thing?

I've checked with netcat that I could establish a connection on port 5001, but about ipv6 I don't know what the problem could be

Jahn16 commented 10 months ago

I'm running on kubernetes btw, using docker-compose it works as expected

Jahn16 commented 10 months ago

Managed to solve it, localhost was resolving to ::1 instead of 127.0.01, so I removed that entry from /etc/hosts and it worked. But perhaps it would be nice to bind to ::5001 as well on the application side

GauthierCrp commented 9 months ago

Hi,

Did you change in the container or on the Host the /etc/hosts file ? Could you show what you've changed ?

I still can't download anything... :(

Best Regards

GauthierCrp commented 9 months ago

image In the log of the container, I can find this error, when I try to download files

Jahn16 commented 9 months ago

Same thing here

node:internal/deps/undici/undici:11576 Error.captureStackTrace(err, this); ^

TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:11576:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: Error: connect ECONNREFUSED ::1:5001 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 5001 } }

My problem was related to this logs, that resulted in not being able to download the default fileset. However the cause of your problem probably is different based on the logs you provided

TheBeat98 commented 9 months ago

Does anyone know how to resolve this issue in Unraid? The logs state the same issue as @Jahn16 . Thank you.

mfranciscojr commented 9 months ago

same problem here, also stuck on downloading part

LinuxServer-CI commented 7 months ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 7 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

thelamer commented 7 months ago

Linking https://github.com/linuxserver/docker-emulatorjs/issues/52 as possible cause

thelamer commented 7 months ago

Can anyone in this thread test this:

exec in the container and modify the config to support ipv6?

docker exec -it emulatorjs bash
sed -i 's#"/ip4/127.0.0.1/tcp/5001"#["/ip4/127.0.0.1/tcp/5001","/ip6/::1/tcp/5001"]#g' /data/.ipfs/config

Then restart? This fixed it for other people here: https://github.com/linuxserver/docker-emulatorjs/issues/52#issuecomment-1873891655

LinuxServer-CI commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

homerr commented 5 months ago

Please re-open if issue is not resolved