Lightning-Universe / Pose-app

A Lightning app for animal pose estimation.
https://pose-app.readthedocs.io/
Apache License 2.0
18 stars 1 forks source link

axios error: network error? #96

Closed Chrysovalantis000 closed 3 weeks ago

Chrysovalantis000 commented 3 months ago

We get an error when trying to upload full videos unless we break them down in small chunks, however this error is new because in the past we used a different computer and this did not happen. Our new computer is more powerful but this weird thing happens.

We also trying to understand in regard to the “axios error: network error” – looking online seems to imply latency issues – but outrs is a stand alone install… generic error?

monitoring using

nvidia-smi

and

inbuilt system monitor in ubuntu

we see cpu usage is mainly concentrated to a single core (there are 20) – although cuda reports gpu usage spikes at around 60% - memory (only 16GB) does max out just before the error happens…

your thoughts on working through this would be appreciated…

system being:

model name : 12th Gen Intel(R) Core(TM) i7-12700F 16GB RAM SSD NVIDIA GeForce RTX 3060 NVIDIA-SMI 555.42.06 Driver Version: 555.42.06 CUDA Version: 12.5

image

themattinthehatt commented 3 months ago

@Chrysovalantis000 sorry for the slow reply - I'm sure you've exited out of the app by now, but next time this error pops up can you copy/paste the error from the command line? That will be more informative about what the actual underlying issue is.

Chrysovalantis000 commented 3 months ago

Hello @themattinthehatt,

the terminal writes many lines, but one marked ERROR is:

[2024-07-18 09:45:31,137] [core.utils.common::custom_exception_handler::89] [ERROR] 129c70b5-39d0-4e78-9995-6695fd32d167 Invalid page.

Please see attached a screenshot of the terminal in case you need more information. Screenshot from 2024-07-18 10-41-31

themattinthehatt commented 3 months ago

ah yeah that error pops up every 15 seconds or so, something with django that I've never been able to suppress. this isn't an actual error though, the app will work fine even if this keeps popping up. If you see that "connection error" message again from streamlit then you can go back to the command line and the most recent output should be some other more specific error that killed the app (which is then not pushing data to the browser, which is why you see that general "connection error" message)

Chrysovalantis000 commented 3 months ago

I have found another error line: ERROR: Exception in ASGI application

Please see attached a screenshot of the terminal in case you need more information.

Screenshot from 2024-07-19 11-51-20

themattinthehatt commented 3 months ago

This is a new error for me; a couple questions:

  1. is this the last error you see on the command line before getting printouts like "Your app is shutting down" (or something like that)? As I mentioned with the Django error, there can be errors printed out to the command line that don't actually kill the app. However, once the app is killed due to whatever error you will likely see the error responsible at the end of the command line printouts.
  2. This could be related to your browser - are you running this in a different browser than the other machine where you were able to get the app working? i.e. type of browser, whether or not cookies/pop-ups are disabled, any browser extensions, etc.?
themattinthehatt commented 2 months ago

@Chrysovalantis000 just wanted to check in, were you able to get the app running?

themattinthehatt commented 3 weeks ago

closing due to inactivity