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

Impossible to Download the "the default fileset" #60

Closed
GauthierCrp opened this issue Sep 25, 2023 · 18 comments
Closed

Impossible to Download the "the default fileset" #60

GauthierCrp opened this issue Sep 25, 2023 · 18 comments

Comments

@GauthierCrp
Copy link

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
Copy link

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
Copy link

xerxist commented Oct 13, 2023

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
Copy link

Jahn16 commented Oct 26, 2023

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
Copy link
Member

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
Copy link

Jahn16 commented Oct 27, 2023

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
Copy link

Jahn16 commented Oct 27, 2023

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

@Jahn16
Copy link

Jahn16 commented Oct 28, 2023

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
Copy link
Author

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
Copy link
Author

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

@Jahn16
Copy link

Jahn16 commented Nov 14, 2023

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
Copy link

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

@mfranciscojr
Copy link

same problem here, also stuck on downloading part

@LinuxServer-CI
Copy link
Contributor

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.

@thelamer thelamer transferred this issue from linuxserver/emulatorjs Jan 8, 2024
@LinuxServer-CI LinuxServer-CI moved this from Non-Docker Issues to Issues in Issue & PR Tracker Jan 8, 2024
Copy link

github-actions bot commented Jan 8, 2024

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

@thelamer
Copy link
Member

thelamer commented Jan 8, 2024

Linking #52 as possible cause

@thelamer
Copy link
Member

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:
#52 (comment)

@LinuxServer-CI
Copy link
Contributor

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
Copy link
Member

homerr commented Mar 17, 2024

Please re-open if issue is not resolved

@homerr homerr closed this as completed Mar 17, 2024
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

9 participants