-
Notifications
You must be signed in to change notification settings - Fork 7
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
Container is throwing error while trying to start #12
Comments
Hey, thanks for reporting this issue, happy to tale a look. does it persist when restarting the container? There are 2 queues. One for pending file uploads and one for pending index. |
@aymenfurter - thanks for answering over the weekend. Yes it persists. I should be seeing two queues in storage container, right? That's what you're referring to? BTW, did I miss any step or they get created during running of azd up command? |
I'll need some time to investigate. Will get back to you within a couple of days. |
I think I might be encountering a similar issue here. Connecting... |
Hi @csharma2309 and @zhouyujn, The root cause of the issue was missing Azure storage queues, which I’ve now added in PR #13. The PR has been merged, so please pull the latest changes and redeploy the infrastructure. This should resolve the QueueNotFoundError and allow the container to start correctly. I’ll go ahead and close this issue, but feel free to reopen or reach out if you experience any further issues. Thanks again for your patience! |
Hello @aymenfurter, Really loved this project first of all. As I am trying to run and understand it, I am encountering an error
Getting error while tryin to access via URL. On deeper analysis found this error where container is failing to start due to a queue error.
Which queue is this trying to access? Can you please help understand
2024-10-12T07:57:50.89243 Connecting to the container 'main'...
2024-10-12T07:57:50.91098 Successfully Connected to container: 'main' [Revision: 'rfp-app--6hr65cd-5cdc777dd7-qlrff', Replica: 'rfp-app--6hr65cd']
2024-10-12T07:56:47.253714943Z exec("raise error from None") # pylint: disable=exec-used # nosec
2024-10-12T07:56:47.253870736Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-10-12T07:56:47.253986083Z File "", line 1, in
2024-10-12T07:56:47.254097943Z File "/usr/local/lib/python3.11/site-packages/azure/storage/queue/_models.py", line 441, in _get_next_cb
2024-10-12T07:56:47.254387828Z return self._command(number_of_messages=self.results_per_page)
2024-10-12T07:56:47.254533331Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-10-12T07:56:47.254644631Z File "/usr/local/lib/python3.11/site-packages/azure/core/tracing/decorator.py", line 94, in wrapper_use_tracer
2024-10-12T07:56:47.254873330Z return func(*args, **kwargs)
2024-10-12T07:56:47.255026649Z ^^^^^^^^^^^^^^^^^^^^^
2024-10-12T07:56:47.255148808Z File "/usr/local/lib/python3.11/site-packages/azure/storage/queue/_generated/operations/_messages_operations.py", line 285, in dequeue
2024-10-12T07:56:47.255401854Z map_error(status_code=response.status_code, response=response, error_map=error_map)
2024-10-12T07:56:47.255555953Z File "/usr/local/lib/python3.11/site-packages/azure/core/exceptions.py", line 161, in map_error
2024-10-12T07:56:47.255783010Z raise error
2024-10-12T07:56:47.255935847Z azure.core.exceptions.ResourceNotFoundError: The specified queue does not exist.
2024-10-12T07:56:47.255945516Z RequestId:2e5b815a-4003-0020-267c-1cc1a9000000
2024-10-12T07:56:47.255950986Z Time:2024-10-12T07:56:47.2484090Z
2024-10-12T07:56:47.255956366Z ErrorCode:QueueNotFound
2024-10-12T07:56:47.255961606Z Content:
QueueNotFound
The specified queue does not exist.2024-10-12T07:56:47.255966745Z RequestId:2e5b815a-4003-0020-267c-1cc1a9000000
2024-10-12T07:56:47.256077344Z Time:2024-10-12T07:56:47.2484090Z
Regards,
Chetan
The text was updated successfully, but these errors were encountered: