-
Notifications
You must be signed in to change notification settings - Fork 263
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
Error 500 on PUT /v3/projects/{project_id}/nodes/{node_id} #2426
Comments
Guess I was a bit too fast. Still having the issue sometimes |
Too bad... Do you always get the issue when calling the endpoint Do you have steps to reproduce the problem? Thanks. |
Looks like the issue is that asyncio.Queue is not thread-safe. I pushed a PR to fix this. |
Got a slightly different error utilizing the latest changes:
As for reproducing, we are utilizing the API for:
Don't think that it is directly linked with the renaming as I have seen issues while removing that part |
I was able to reproduce the problem and I pushed another fix. Please test on your side and let me know. Thanks 👍 |
It seems to have resolved the issue 😄 I will get back to you if I discover otherwise Thanks for all the great work! |
GNS3 version:
3.0.0rc1
Error messages
Background
I am not sure if this is only related to
PUT /v3/projects/{project_id}/nodes/{node_id}
, but the above example is from such an occasion.Afterwards the API seems to still operate normally, so it is able to create new QEMU VMs and start them and so on.
For GNS3 clients, these new VMs will appear however it will look like they are turned off even though they are not.
That seems to be because the GNS3 server is only sending out
ping
events on the notifications websocket after the error, so no morecompute.update
events, which usually comes as the second event when connecting a new client.Example from a "client" that prints all events:
If I try to shut down GNS3, then it will just wait for background tasks to complete:
The text was updated successfully, but these errors were encountered: