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

envinfo command hangs on Alpine Linux #266

Open
ProchaLu opened this issue Oct 15, 2024 · 4 comments
Open

envinfo command hangs on Alpine Linux #266

ProchaLu opened this issue Oct 15, 2024 · 4 comments

Comments

@ProchaLu
Copy link

I have a small project deployed on Fly.io, where I need to check my environment using envinfo. The app is running on an Alpine Linux environment, and when I try to execute envinfo, the terminal stops responding and hangs indefinitely. This seems similar to the behavior described in this previously merged issue.

As the attached video demonstrates, I SSH into the Fly.io console and run the envinfo command. After submitting the command, the server hangs, and no further output is produced. The terminal becomes completely unresponsive.

Screen.Recording.2024-10-15.at.18.57.50.mov
This was referenced Oct 15, 2024
@karlhorky
Copy link

I could also confirm this myself with [email protected], some files in my repo https://github.com/karlhorky/flyio-test :

The command I ran on the Fly.io SSH shell (shell accessible through flyctl ssh console) was:

./node_modules/.bin/envinfo

Output:

➜  flyio-test git:(main) flyctl ssh console 
Connecting to fdaa:a:8736:a7b:1ad:19fc:8093:2... complete
1857472c250638:/app# ./node_modules/.bin/envinfo
^C
1857472c250638:/app# ./node_modules/.bin/envinfo
^C
1857472c250638:/app# ./node_modules/.bin/envinfo
^C
1857472c250638:/app# npx envinfo
^C
1857472c250638:/app# 

@gengjiawen
Copy link
Collaborator

This looks like a alpine bug, I will try to post a hack for this alpine system bug

@karlhorky
Copy link

@gengjiawen thanks, that would be great!

@drichardcarl
Copy link

I also experienced this (on Alpine), only when using the default (no arguments) or specifying --system.
e.g npx envinfo or npx envinfo --system --binaries --npmPackages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants