Skip to content
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

problems playing redundancies #6359

Closed
guffymarinovich opened this issue Apr 26, 2024 · 11 comments
Closed

problems playing redundancies #6359

guffymarinovich opened this issue Apr 26, 2024 · 11 comments
Labels
Status: Waiting for answer Waiting issue author answer

Comments

@guffymarinovich
Copy link

Describe the current behavior

There are 3 instances with all redundancies enabled. The videos are distributed on the servers, everything is OK. Physically, the videos are there and they are played. But when the connection with one of the instances is lost, the video stops running on the others where it is downloaded

Steps to reproduce

  1. installed and configured 3 instances enabled redundancies on all Strategy recently-added
  2. everything works, videos are played until the connection with one of the instances is lost
  3. "level":"error","message":"Client log: HLS.js error: networkError - fatal: true - manifestLoadError",

Describe the expected behavior

No response

Additional information

  • PeerTube instance:

    • URL:
    • Version:6.0.4
    • NodeJS version: v18.20.2
    • Ffmpeg version: 4.4.2-0ubuntu0.22.04.1
  • Browser name, version and platforms on which you could reproduce the bug:

  • Link to browser console log if relevant:

  • Link to server log if relevant (journalctl or /var/www/peertube/storage/logs/):

@guffymarinovich
Copy link
Author

time settings are the same on 3 instances

@guffymarinovich
Copy link
Author

Why can’t the instance itself play video that it downloaded from other instances? When remote instances are not available

@Chocobozzz
Copy link
Owner

Hi,

Can you provide a video link so I reproduce?

@Chocobozzz Chocobozzz added the Status: Waiting for answer Waiting issue author answer label Apr 29, 2024
@guffymarinovich
Copy link
Author

guffymarinovich commented Apr 29, 2024

https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2
the video is at two.zone-video.online
but it was also uploaded to zone-video.online (recently-added ) and I see it physically on the server. When two.zone-video.online is disabled, the video stops playing. two.zone-video.online is currently disabled

@guffymarinovich
Copy link
Author

I installed all the nodes according to these instructions https://najigram.com/2023/12/install-peertube-on-ubuntu-22-04-lts/

@guffymarinovich
Copy link
Author

guffymarinovich commented Apr 29, 2024

logs
`{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:18 +0000] "GET /w/3cMVb58mCJuQKGx8dZJxk2 HTTP/1.0" 200 19544 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:18.895Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:19 +0000] "GET /api/v1/oauth-clients/local HTTP/1.0" 304 - "https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:19.317Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:19 +0000] "GET /api/v1/config/ HTTP/1.0" 304 - "https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:19.321Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:19 +0000] "GET /api/v1/videos/languages HTTP/1.0" 304 - "https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:19.439Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:19 +0000] "GET /api/v1/videos/3cMVb58mCJuQKGx8dZJxk2/captions HTTP/1.0" 304 - "https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:19.533Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:19 +0000] "GET /api/v1/videos/3cMVb58mCJuQKGx8dZJxk2/chapters HTTP/1.0" 304 - "https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:19.536Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:19 +0000] "GET /api/v1/videos/3cMVb58mCJuQKGx8dZJxk2/storyboards HTTP/1.0" 304 - "https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:19.539Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:19 +0000] "GET /api/v1/videos/3cMVb58mCJuQKGx8dZJxk2 HTTP/1.0" 200 6514 "https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:19.551Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:19 +0000] "GET /manifest.webmanifest?0dd92526e6a672408b80672870f9ae9c92466377 HTTP/1.0" 304 - "https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:19.595Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:19 +0000] "GET /api/v1/search/videos?start=0&count=6&skipCount=true&nsfw=false&sort=-publishedAt&searchTarget=local HTTP/1.0" 200 11911 "https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:19.774Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:19 +0000] "GET /api/v1/videos/11d7c18a-386e-4573-a041-c0d307e1c98b/comment-threads?start=0&count=10&sort=-createdAt HTTP/1.0" 304 - "https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:19.816Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:21 +0000] "POST /api/v1/videos/11d7c18a-386e-4573-a041-c0d307e1c98b/views HTTP/1.0" 204 - "https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:21.547Z"}
{"level":"info","message":"Cannot fetch remote storyboard file https://two.zone-video.online/lazy-static/storyboards/adc511d3-8c56-4bc2-970e-fd177cdc184d.jpg.","label":"zone-video.online:443","err":{"stack":"RequestError: Timeout awaiting 'request' for 30000ms\n at ClientRequest. (file:///var/www/peertube/versions/peertube-v6.0.4/node_modules/got/dist/source/core/index.js:792:61)\n at Object.onceWrapper (node:events:632:26)\n at ClientRequest.emit (node:events:529:35)\n at TLSSocket.socketErrorListener (node:_http_client:501:9)\n at TLSSocket.emit (node:events:517:28)\n at emitErrorNT (node:internal/streams/destroy:151:8)\n at emitErrorCloseNT (node:internal/streams/destroy:116:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n at Timeout.timeoutHandler [as _onTimeout] (file:///var/www/peertube/versions/peertube-v6.0.4/node_modules/got/dist/source/core/timed-out.js:42:25)\n at listOnTimeout (node:internal/timers:571:11)\n at process.processTimers (node:internal/timers:512:7)","message":"Timeout awaiting 'request' for 30000ms","name":"TimeoutError","requestHeaders":{"user-agent":"PeerTube/6.0.4 (+https://zone-video.online)","date":"Mon, 29 Apr 2024 14:28:59 GMT","accept-encoding":"gzip, deflate, br","host":"two.zone-video.online"}},"timestamp":"2024-04-29T14:29:29.573Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:29 +0000] "GET /lazy-static/storyboards/c0febc04-587d-466f-9d6b-fbcf8e7a22ce.jpg HTTP/1.0" 404 - "https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:29.576Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:29 +0000] "GET /lazy-static/storyboards/c0febc04-587d-466f-9d6b-fbcf8e7a22ce.jpg HTTP/1.0" 404 - "https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:29.760Z"}
{"tags":["http"],"level":"info","message":"46.188.124.190 - - [29/Apr/2024:14:29:31 +0000] "GET /sw.js?0.2823428328884099 HTTP/1.0" 304 - "https://zone-video.online/sw.js?0.2823428328884099\" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"","label":"zone-video.online:443","timestamp":"2024-04-29T14:29:31.666Z"}

`

@guffymarinovich
Copy link
Author

Job: 316
Type: activitypub-http-unicast
Processed on 29.04.24, 17:39:00,346
Finished on 29.04.24, 17:39:07,534
{
"uri": "https://two.zone-video.online/inbox",
"signatureActorId": 1,
"body": {
"to": [
"https://two.zone-video.online/accounts/root"
],
"cc": [],
"id": "https://zone-video.online/accounts/peertube/views/videos/2/da2edcdc14c92f155a5bc6961349bcc0fdb600086cc466c0f37bc0a3e11108b7",
"type": "View",
"actor": "https://zone-video.online/accounts/peertube",
"object": "https://two.zone-video.online/videos/watch/11d7c18a-386e-4573-a041-c0d307e1c98b",
"expires": "2024-04-29T14:41:00.343Z"
},
"contextType": "View"
}
RequestError: Timeout awaiting 'request' for 7000ms
at ClientRequest. (file:///var/www/peertube/versions/peertube-v6.0.4/node_modules/got/dist/source/core/index.js:792:61)
at Object.onceWrapper (node:events:632:26)
at ClientRequest.emit (node:events:529:35)
at TLSSocket.socketErrorListener (node:_http_client:501:9)
at TLSSocket.emit (node:events:517:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at Timeout.timeoutHandler [as _onTimeout] (file:///var/www/peertube/versions/peertube-v6.0.4/node_modules/got/dist/source/core/timed-out.js:42:25)
at listOnTimeout (node:internal/timers:571:11)
at process.processTimers (node:internal/timers:512:7)

@Chocobozzz
Copy link
Owner

Hi,

https://zone-video.online/w/3cMVb58mCJuQKGx8dZJxk2

Unfortunately the video link doesn't work anymore

@guffymarinovich
Copy link
Author

guffymarinovich commented May 16, 2024

I can't wait that long until you decide to check

how about you, eblan

@SimplyCorbett
Copy link

I can't wait that long until you decide to check

how about you, eblan

Why not? Is the video copyright?

@Chocobozzz
Copy link
Owner

I can't wait that long until you decide to check

I'm sorry the free support offered by Framasoft is not fast enough for you, but we have to deal with our own time constraints.

Closing as we were unable to reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Waiting for answer Waiting issue author answer
Projects
None yet
Development

No branches or pull requests

3 participants