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

Happy path project never serves traffic #5

Open
mcint opened this issue Dec 2, 2023 · 0 comments
Open

Happy path project never serves traffic #5

mcint opened this issue Dec 2, 2023 · 0 comments

Comments

@mcint
Copy link

mcint commented Dec 2, 2023

Following the suggestion to use this repo, from the signin redirect page, I cloned and launched (deconflicting the name).

The project never served traffic, and viewing the logs, errored saying

2023-12-02T22:26:57Z app[5683d496c42468] sjc [info][ 4.310534] reboot: Restarting system error.message="instance refused connection. is your app listening on 0.0.0.0:3000? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)" 2023-12-02T22:27:00Z proxy[328744dbee4e85] sjc [error]request.method="GET" request.id="01HGPA7F3Q77TZXQE7NZSY5DDX-sjc"

Given that this repo offers an intro project it's frustrating that its code conflicts with (newer?) defaults for expected application behavior.

Additionally, the error formatting seems off, like newlines are passed through, or the body comes before the timestamp.
Screenshot_20231202_143955

knksmith57 added a commit to knksmith57/hello-fly that referenced this issue Dec 19, 2023
Although the "Deploy via Dockerfile" quickstart docs suggest fly will
default to :8080 and will automatically use an EXPOSEd port if set, the
observed behavior is that :3000 is always used instead.

Update Dockerfile to use :3000 and set the $PORT environment variable to
ensure the application listens on the configured port.

Resolves fly-apps#5
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

Successfully merging a pull request may close this issue.

1 participant