-
Notifications
You must be signed in to change notification settings - Fork 986
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
Movie not playing #718
Comments
UPDATE: I was able to catch the stack trace of the app breaking, it happened about 10 minutes after the occurrence of the movie playing issue It's above 10k lines, so I'll paste the most significant portions below. I can provide the full file via email if necessary.
|
UPDATE 2: Seems to be another instance of #161 happening. I checked the It also seems to be related to #686, #662 (same stack trace) and #670 (same behavior) I'll try investigating a bit more. |
thanks for looking into this! that way, i could look into the stacktrace as well |
Sorry I forgot about this one! I can attempt replicating it today, I'll report back with any potential findings. What database does the demo server run on? If it's H2, I'd assume this issue will not be replicable there |
Hello I am also having this issue. I am running this on Docker with the same docker-compose.yml posted above (with a few extra labels). This happens for any action (not just watching a movie) and only happens after around 20 minutes of the container running. I have added a dirty fix by using an autoheal container alongside this one and adding a healthcheck to the streama docker-compose.yml but obviously this isn't ideal. |
Figured this out. I noticed I wasn't using the latest image so I changed my image in my docker-compose.yml to Also changed the I also mounted a volume for the database because it won't be using the mariadb provided in the docker-compose.yml anymore. That's it - no more 500 errors after 20 mins of runtime. Hope this helps anyone else using the same docker-compose file. Also, love this project. Thanks for your work. |
Issue description
After attempting to upload and play a movie (not happening with TV series), the movie does not play, displaying a "Internal Server Error" message in a red popup.
Inspecting the HTTP request reveals that the failing request is made to the URL
/video/show.json?id=1
. Interestingly enough, requests to/movie/show.json?id=1
are evaluated correctly (only on other pages, it does not happen in the player). Stack trace is at the end of this report.When assigning the same file to a TV series episode, the file is played correctly, and requests to
/video/show.json?id=3
do not fail.Sometimes the connection to the DB times out as well, with the following message in MariaDB:
The result of that is the whole application responding with
{"message":"Internal server error","error":500}
to ANY HTTP request, causing the web interface to not show anymore either. I forgot to save the stack trace of that, however I remember seeing:com.mysql.cj.exceptions.CJCommunicationsException: The last packet successfully received from the server was 636,743 milliseconds ago. The last packet sent successfully to the server was 636,743 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
Steps to Reproduce
Expected Behaviour
Movie playing (without any other unexpected behavior)
Actual Behaviour
Movie does not play; sometimes DB connection times out, doesn't reconnect, causing the whole server to respond with 500 to anything.
Environment Information
Here's the docker-compose.yml used:
Stack trace
https://pastebin.com/3Jj5mk84
The text was updated successfully, but these errors were encountered: