2 years ago
INFO:waitress:Serving on http://0.0.0.0:8000
level:"error"
replica: fbe90f3f-e515-4d92-ad27-d123d79390d3
And I can´t see more than it logs. Can you help me?
16 Replies
2 years ago
In both.
But I can't deploy
2 years ago
You would need to pick one or the other option, please pick one and then let me know.
2 years ago
Yes I tried with code only, but the issue continuos.
Before I tried with gunicorn and I couldnt deploy too
2 years ago
Yes I tried with code only, but the issue continuos.
Before I tried with gunicorn and I couldnt deploy too
2 years ago
https://railway.app/invite/T-hWokOrpUp
2 years ago
can you help me?. I set the started comand only in the settings, but the issue continuos.
2 years ago
Where can I see the logs? Because, its doesn´t show any more.
2 years ago
This
2 years ago
I shared. Can you see?
2 years ago
Can you try updating your start command to /bin/sh -c "waitress-serve --port=$PORT app:app"
2 years ago

It doesn´t work too =(
2 years ago
File "/usr/local/lib/python3.9/site-packages/waitress/server.py", line 49, in create_server
adj = Adjustments(**kw)
File "/usr/local/lib/python3.9/site-packages/waitress/adjustments.py", line 325, in init
setattr(self, k, self._param_map[k](v))
ValueError: invalid literal for int() with base 10: '$PORT'
Traceback (most recent call last):
File "/usr/local/bin/waitress-serve", line 8, in <module>
sys.exit(run())
File "/usr/local/lib/python3.9/site-packages/waitress/runner.py", line 298, in run
_serve(app, **kw)
File "/usr/local/lib/python3.9/site-packages/waitress/__init__.py", line 13, in serve
server = _server(app, **kw)
File "/usr/local/lib/python3.9/site-packages/waitress/server.py", line 49, in create_server
adj = Adjustments(**kw)
File "/usr/local/lib/python3.9/site-packages/waitress/adjustments.py", line 325, in init
setattr(self, k, self._param_map[k](v))
ValueError: invalid literal for int() with base 10: '$PORT'
Traceback (most recent call last):
File "/usr/local/bin/waitress-serve", line 8, in <module>
sys.exit(run())
File "/usr/local/lib/python3.9/site-packages/waitress/runner.py", line 298, in run
_serve(app, **kw)
File "/usr/local/lib/python3.9/site-packages/waitress/__init__.py", line 13, in serve
server = _server(app, **kw)
File "/usr/local/lib/python3.9/site-packages/waitress/server.py", line 49, in create_server
adj = Adjustments(**kw)
File "/usr/local/lib/python3.9/site-packages/waitress/adjustments.py", line 325, in init
setattr(self, k, self._param_map[k](v))
ValueError: invalid literal for int() with base 10: '$PORT'
Traceback (most recent call last):
File "/usr/local/bin/waitress-serve", line 8, in <module>
sys.exit(run())
File "/usr/local/lib/python3.9/site-packages/waitress/runner.py", line 298, in run
_serve(app, **kw)
File "/usr/local/lib/python3.9/site-packages/waitress/__init__.py", line 13, in serve
server = _server(app, **kw)
File "/usr/local/lib/python3.9/site-packages/waitress/server.py", line 49, in create_server
adj = Adjustments(**kw)
File "/usr/local/lib/python3.9/site-packages/waitress/adjustments.py", line 325, in init
setattr(self, k, self._param_map[k](v))
ValueError: invalid literal for int() with base 10: '$PORT'
2 years ago
The start command in your screenshot is correct, but by looking at your project that is no longer what the start command is set to, please change it back to what I have provided before we debug this further.