-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
WS/ASGI “no route found for path” #221
Comments
Sorry I only saw this now. I recognize this from some issues with the contents of the log-directory |
I have not had trouble viewing the HTML report by going to the “Reports” and selecting it from the drop down menu. Similarly, I can view the “raw log”. The problem I am seeing is with the websockets (I think). I can’t be sure, because this is all my first time with Embark, but I think the expected behavior is a live stream of In my case, every call to a websocket returns an error message of “No route found for path”. I think my initial question may have misguided, but I do think the issue lies within Daphne and the application passed to it, and the ASGI stuff. Also, I removed and reinstalled yesterday, just to ensure that I hadn’t made some change that introduced the error. Below is the error output observed from
|
So far I haven't been able to reproduce the issue on my machines. Can you give me more info? |
Hello. ‘Unable to reproduce’ makes me hopeful that it’s just something on my end. I have a network proxy to contend with too. |
Hello, I decided to uninstall and then reinstall. Everything seems to run smoothly, but I still encounter errors for the websockets. I exported the output for the install and run_server to rich text, but had to convert to pdf to upload. Please let me know what you think. |
Those two logs look normal - no installation errors. Are there still routing errors with the websockets? |
Yes, the re-install doesn’t seem to make any difference. Just poking around The overall web app works as expected. I am running a small firmware analysis now, just to have some data in there. My particular setup does have some firewalling in front of it, which had me wondering if that could be the problem. So I have been testing on the local host with a tool called “websocat”. From the same host, running I get the same thing when using “localhost” instead of “embark.local”, and when trying the web socket client tool against the “/ws/logs/” URL path. I also just ran |
We are seeing the same behavior on a fresh installation. |
my tests indicate some change within the daphne application |
Hello,
The websocket connection seems to be broken. I keep seeing the error mentioned above.
I notice that
embark/embark/routing.py
mentions being the equivalent ofurls.py
but it is not the same.embark/embark/urls.py
shows the inclusion ofembark/reporter/urls.py
which then contains the variableEMBA_LOG_URL
containing the proper file location. Is this missing from ASGI?I cannot otherwise seem to find where the file location is being passed to Daphne when executing
run-server.sh
.Please let me know what you think.
The text was updated successfully, but these errors were encountered: