-
Notifications
You must be signed in to change notification settings - Fork 3
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
View disconnected - Agent does not exist (anymore) #304
Comments
Hi @rsverhagen94, this notification happens when the frontend can't find the agent ( Do you have some more info on when and how this occurs? For instance, after completing a world and starting the new one, or also in the middle of a world? Or when it is running for a longtime? And how often do you have this issue? This seems like a difficult issue to replicate, so it would also be really helpful if I could take a look at your code and try to debug it directly by running it and replicating the issue. Would that be a possibility? |
Hi @thaije, thanks for the quick reply! In almost all cases this issue occurs in the middle of a world, but does not seem to be dependent on the amount of time the world is running. It does seem to happen more often when the controls haven't been used for a little while. The issue occurs around twice when completing a world. You can find my code at https://github.com/rsverhagen94/MATRX. Let me know if you can access and run it, or if you need additional information. Thanks a lot already for your help! |
Hey @rsverhagen94, I was able to clone your repository and install everything according to your requirements.txt. Is it correct you're using MATRX v2.0.8? I ran the main.py a couple times:
I also tried accessing it from localhost:3000 (not recommended) and 127.0.0.1:3000 (recommended, faster url for the frontend). If you do re-encounter the problem, can you post a stacktrace of the browser console log and the MATRX Python terminal log? |
Hi @thaije. I am indeed using v2.0.8. Good to hear you did not encounter the problem. Below the two screenshots of when the issue does occur. |
Thanks for the screenshots @rsverhagen94. From the stack traces I can't pinpoint the cause of why the view disconnects either, but what I can do is change the way MATRX handles a disconnect. Now it seems to crash (red browser console error), but instead catch that error and let it try to reconnect. That could solve your issue. |
Hi @thaije, thanks for your help. I already started conducting last week but fortunately the issue only occurred rarely untill now. |
What is your question?
Often when running MATRX I encounter the below shown view disconnected issue. In this case the user can no longer control the agent and the page should be refreshed before being able to proceed. Any idea where this issue comes from and how to potentially solve/avoid it?
To what is your question related?
The text was updated successfully, but these errors were encountered: