I am a simple peertube user, I am not running a server.
I have been creating (with OBS) and uploading dozens of video on peertube from firefox. For some reason I sometimes get an error message when I want to upload a video :
This sounds like a misconfigured server, as uploading a video shouldn’t result in this kind of errors. I suggest getting in touch with your instance administrator first.
Thanks for your input @rigelk ! I will do that.
What surprises me is that it works for smaller videos, and it used to work for much larger ones.
Have a good day.
Feedback:
The admin didn’t have any trouble uploading the video himself. It doesn’t come from a limitation of the server.
I tried to clean the cache and to remove the add ons from my Firefox browser, it didn’t help. Switching to Chromium (Linux) didn’t do the trick either.
I’m the sysadmin for this instance. This case is quite strange. I’ve already had this kind of error when a user with a slow internet connection uploads a big file -> with my previous RP configuration ProxyTimeout 600 -> 10 minutes; when the upload ends after the timeout -> ERROR
My new RP configuration is :
LimitRequestBody 4294967294
ProxyTimeout 7200
For this specific case, @verduron can’t upload a short video. He sends me the file (39 Mo). I upload the file without any error.
AH. I wrote this file, and explicitly marked it as outdated… It lacks nearly all performance optimizations, and it wasn’t checked for security ever since. Some other parts, like the request body maximum size you mention, were since modified in the reference Nginx configuration to 8Gb.
I’m no Apache expert, so I don’t know how it handles timeouts (responding with a 502?!), especially with a proxypass directive. In Nginx we also tune the timeout for proxypass.
I will have to migrate my web hosting stack from apache2 to nginx in order to have the supported configuration for peertube. That’s something I’m working on but I have several complexe Vhosts to migrate
I look forward to the next version of peertube with live broadcasting. I was planning to change my web hosting stack technology (apache2 -> nginx) for this version, to be able to use the rtmp protocol.