-
Notifications
You must be signed in to change notification settings - Fork 255
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
Updating to version 0.6.2 causes unresponsive server #677
Comments
@ekehoe-tech, is it working when you are running loco outside of the dev container? |
@kaplanelad Just checked, it does work outside the dev container. |
Follow up with this account. |
I'll check the dev container setting. maybe this pr is related |
I ran into this as well and I'm nearly certain it's a side-effect of that PR. When I ran There's a tradeoff on ergonomics between using |
We can pass |
@kaplanelad Could this be set through an environment variable and then the container environment could specify this binding? So default is still localhost (if not set), but it could optionally be set through the env. |
Should be able to set the binding and port conditionally based on environment via the config file
Under the I did notice a lot of stale/incorrect comments though about binding in the repo. If one of the maintainers confirms that the localhost default can stay, I can take a look at correcting those references. |
@kaplanelad and @trevoranderson I'd be happy to open a PR to implement this. Steps:
|
Description
Needed to upgrade loco-rs to latest version to resolve clippy error with time version
0.3.34
crate see here. Now my server is unresponsive:To Reproduce
Run app with loco-rs version
0.6.2
, runcargo loco start
, and then ping the server @ http://localhost:5150/_ping.Expected Behavior
A response a from server. Dowgrading loco-rs to
0.6.1
fixes the problem, but re-introduces the time crate error.Environment:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy
Running in default dev container.
Additional Context
Hope this is descriptive enough, let me know if you need more info.
The text was updated successfully, but these errors were encountered: