Replies: 3 comments
-
Hi @kotinagi, |
Beta Was this translation helpful? Give feedback.
-
Hi @WeepingClown13, Thank you so much for the quick response. Is this change propagated to the release as well, or just the main branch ? |
Beta Was this translation helpful? Give feedback.
-
@acgawadenci Current solution has been always working, and it had no effect on the release image, but rather on the way that image was being pulled for building the app container. We have always suggested doing |
Beta Was this translation helpful? Give feedback.
-
Logs from APP container :
INFO: Started server process [13]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO: 31.169.100.3:0 - "POST /signup HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 372, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "/usr/local/lib/python3.7/dist-packages/uvicorn/middleware/proxy_headers.py", line 75, in call
return await self.app(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/uvicorn/middleware/debug.py", line 96, in call
raise exc from None
File "/usr/local/lib/python3.7/dist-packages/uvicorn/middleware/debug.py", line 93, in call
await self.app(scope, receive, inner_send)
File "/usr/local/lib/python3.7/dist-packages/fastapi/applications.py", line 261, in call
await super().call(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/starlette/applications.py", line 112, in call
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/starlette/middleware/errors.py", line 181, in call
raise exc
File "/usr/local/lib/python3.7/dist-packages/starlette/middleware/errors.py", line 159, in call
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.7/dist-packages/starlette/middleware/cors.py", line 92, in call
await self.simple_response(scope, receive, send, request_headers=headers)
File "/usr/local/lib/python3.7/dist-packages/starlette/middleware/cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/starlette/exceptions.py", line 82, in call
raise exc
File "/usr/local/lib/python3.7/dist-packages/starlette/exceptions.py", line 71, in call
await self.app(scope, receive, sender)
File "/usr/local/lib/python3.7/dist-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
raise e
File "/usr/local/lib/python3.7/dist-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/starlette/routing.py", line 656, in call
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/starlette/routing.py", line 259, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.7/dist-packages/starlette/routing.py", line 61, in app
response = await func(request)
File "/usr/local/lib/python3.7/dist-packages/fastapi/routing.py", line 228, in app
dependant=dependant, values=values, is_coroutine=is_coroutine
File "/usr/local/lib/python3.7/dist-packages/fastapi/routing.py", line 160, in run_endpoint_function
return await dependant.call(**values)
File "/app/routes/auth.py", line 73, in signup
user_added = user.add_user(username, password)
File "/app/pkg/common/user.py", line 5, in add_user
con = create_db_con()
File "/app/utils/dbconn.py", line 25, in create_db_con
cluster = Cluster([cass_db],auth_provider=auth_provider)
File "cassandra/cluster.py", line 1150, in cassandra.cluster.Cluster.init
ValueError: contact_points should not contain None (it can resolve to localhost)
Beta Was this translation helpful? Give feedback.
All reactions