Replies: 2 comments 2 replies
-
Hi @rmfjd78, although you did not post the whole error stack trace, by looking at the dockerfile, I assume the problem is your app cannot connect to the Wave server (waved) since I do not see starting it anywhere. You have 2 options how to go about this:
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Since i’m using the lates version of the h2o_wave in my container i have
the following problem when i start the container and try to access my App
in the browser the page doesn’t load. Do i need to configure anything in
the container (proxy, ….) or the wave command needs extra parameters?
mturoci ***@***.***> escreveu em ter., 29/03/2022 às 08:07 :
… Hi @rmfjd78 <https://github.com/rmfjd78>, although you did not post the
whole error stack trace, by looking at the dockerfile, I assume the problem
is your app cannot connect to the Wave server (waved) since I do not see
starting it anywhere. You have 2 options how to go about this:
- for Wave > 0.20, waved is packaged together with py distribution so
you should be able to simple use wave run your-app within CMD. This is
the simplest, least flexible solution.
- Another solution is to run waved and wave app separately (the only
option for Wave < 0.19). This approach is a bit more complex, but allows
for more config flexibility. From what you have posted, I do not see waved
startup. See #1234 <#1234> for guide
on how to dockerize Wave.
—
Reply to this email directly, view it on GitHub
<#1310 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALJCTS7PBR437QHNQKLX7ZLVCKT3DANCNFSM5R37W7NA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a Container is Wave Server neded or i can just make pip install h2o_wave
I'm creating a container with a h2owave app and i'm getting the folowing error:
File "/opt/venv/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line 389, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "/opt/venv/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in call
return await self.app(scope, receive, send)
File "/opt/venv/lib/python3.9/site-packages/uvicorn/middleware/asgi2.py", line 7, in call
await instance(receive, send)
here are:
---------------------dockerfile:
Beta Was this translation helpful? Give feedback.
All reactions