Coder Social home page Coder Social logo

Comments (9)

DanielnetoDotCom avatar DanielnetoDotCom commented on August 17, 2024

what exactly key are you using when you make a live stream?

from avideo.

gregk63 avatar gregk63 commented on August 17, 2024

662972ff31d96-1. It isn't anymore. I reset it as a troubleshooting step. It is now 6639515e6e171-1 and erroring because when the request comes in it is 6639515e6e171 no '-1'. It is failing because it can't the directory.

from avideo.

DanielnetoDotCom avatar DanielnetoDotCom commented on August 17, 2024

Hi, where are you seeing an error or problem?

the -1 is correct and you should have no problem playing the video

from avideo.

gregk63 avatar gregk63 commented on August 17, 2024

I turned on debug within nginx. Here is a portion of it that contains the error and the key without the '-1'. What is odd is I do see other requests come in with the '-1' in the same error log and of course they work.

2024/05/06 15:53:30 [debug] 3871414#0: *11 http wait request handler
2024/05/06 15:53:30 [debug] 3871414#0: *11 malloc: 000055DFB88C73F0:1024
2024/05/06 15:53:30 [debug] 3871414#0: *11 SSL_read: 203
2024/05/06 15:53:30 [debug] 3871414#0: *11 SSL_read: -1
2024/05/06 15:53:30 [debug] 3871414#0: *11 SSL_get_error: 2
2024/05/06 15:53:30 [debug] 3871414#0: *11 reusable connection: 0
2024/05/06 15:53:30 [debug] 3871414#0: *11 posix_memalign: 000055DFB88ED4F0:4096 @16
2024/05/06 15:53:30 [debug] 3871414#0: *11 http process request line
2024/05/06 15:53:30 [debug] 3871414#0: *11 http request line: "GET /live/662972ff31d96/index.m3u8 HTTP/1.1"
2024/05/06 15:53:30 [debug] 3871414#0: *11 http uri: "/live/662972ff31d96/index.m3u8"
2024/05/06 15:53:30 [debug] 3871414#0: *11 http args: ""
2024/05/06 15:53:30 [debug] 3871414#0: *11 http exten: "m3u8"
2024/05/06 15:53:30 [debug] 3871414#0: *11 posix_memalign: 000055DFB88CFBE0:4096 @16
2024/05/06 15:53:30 [debug] 3871414#0: *11 http process request header line
2024/05/06 15:53:30 [debug] 3871414#0: *11 http header: "User-Agent: AVideoEncoder videos.kaiserclix.com FFMPEG"
2024/05/06 15:53:30 [debug] 3871414#0: *11 http header: "Accept: /"
2024/05/06 15:53:30 [debug] 3871414#0: *11 http header: "Range: bytes=0-"
2024/05/06 15:53:30 [debug] 3871414#0: *11 http header: "Connection: close"
2024/05/06 15:53:30 [debug] 3871414#0: *11 http header: "Host: videos.kaiserclix.com:8443"
2024/05/06 15:53:30 [debug] 3871414#0: *11 http header: "Icy-MetaData: 1"
2024/05/06 15:53:30 [debug] 3871414#0: *11 http header done
2024/05/06 15:53:30 [debug] 3871414#0: *11 event timer del: 15: 452364185
2024/05/06 15:53:30 [debug] 3871414#0: *11 rewrite phase: 0
2024/05/06 15:53:30 [debug] 3871414#0: *11 test location: "/"
2024/05/06 15:53:30 [debug] 3871414#0: *11 test location: "live"
2024/05/06 15:53:30 [debug] 3871414#0: *11 test location: ~ ".m3u8$"
2024/05/06 15:53:30 [debug] 3871414#0: *11 using configuration ".m3u8$"
2024/05/06 15:53:30 [debug] 3871414#0: *11 http cl:-1 max:1048576
2024/05/06 15:53:30 [debug] 3871414#0: *11 rewrite phase: 2
2024/05/06 15:53:30 [debug] 3871414#0: *11 post rewrite phase: 3
2024/05/06 15:53:30 [debug] 3871414#0: *11 generic phase: 4
2024/05/06 15:53:30 [debug] 3871414#0: *11 generic phase: 5
2024/05/06 15:53:30 [debug] 3871414#0: *11 access phase: 6
2024/05/06 15:53:30 [debug] 3871414#0: *11 access phase: 7
2024/05/06 15:53:30 [debug] 3871414#0: *11 post access phase: 8
2024/05/06 15:53:30 [debug] 3871414#0: *11 generic phase: 9
2024/05/06 15:53:30 [debug] 3871414#0: *11 generic phase: 10
2024/05/06 15:53:30 [debug] 3871414#0: *11 content phase: 11
2024/05/06 15:53:30 [debug] 3871414#0: *11 content phase: 12
2024/05/06 15:53:30 [debug] 3871414#0: *11 content phase: 13
2024/05/06 15:53:30 [debug] 3871414#0: *11 http filename: "/HLS/live/662972ff31d96/index.m3u8"
2024/05/06 15:53:30 [debug] 3871414#0: *11 add cleanup: 000055DFB88EE1F8
2024/05/06 15:53:30 [error] 3871414#0: *11 open() "/HLS/live/662972ff31d96/index.m3u8" failed (2: No such file or directory), client: 127.0.0.1, server: videos.kaiserclix.com, request: "GET /live/662972ff31d96/index.m3u8 HTTP/1.1", host: "videos.kaiserclix.com:8443"
2024/05/06 15:53:30 [debug] 3871414#0: *11 http finalize request: 404, "/live/662972ff31d96/index.m3u8?" a:1, c:1
2024/05/06 15:53:30 [debug] 3871414#0: *11 http special response: 404, "/live/662972ff31d96/index.m3u8?"
2024/05/06 15:53:30 [debug] 3871414#0: *11 http set discard body
2024/05/06 15:53:30 [debug] 3871414#0: *11 HTTP/1.1 404 Not Found^M
Server: nginx/1.16.1^M
Date: Mon, 06 May 2024 20:53:30 GMT^M
Content-Type: text/html^M
Transfer-Encoding: chunked^M

from avideo.

DanielnetoDotCom avatar DanielnetoDotCom commented on August 17, 2024

but is your live playing or not?

from avideo.

gregk63 avatar gregk63 commented on August 17, 2024

Yes, it was playing at the time debug was turned on.

The directory on my server at the time this error happened is /HLS/live/662972ff31d96-1/ not /HLS/live/662972ff31d96/.

Here is a portion of the same nginx error log short before the error. This one worked fine because it had the '-1'

2024/05/06 15:53:25 [debug] 3871416#0: *6 http wait request handler
2024/05/06 15:53:25 [debug] 3871416#0: *6 malloc: 000055DFB88C73F0:1024
2024/05/06 15:53:25 [debug] 3871416#0: *6 SSL_read: 102
2024/05/06 15:53:25 [debug] 3871416#0: *6 SSL_read: -1
2024/05/06 15:53:25 [debug] 3871416#0: *6 SSL_get_error: 2
2024/05/06 15:53:25 [debug] 3871416#0: *6 reusable connection: 0
2024/05/06 15:53:25 [debug] 3871416#0: *6 posix_memalign: 000055DFB8A0C290:4096 @16
2024/05/06 15:53:25 [debug] 3871416#0: *6 http process request line
2024/05/06 15:53:25 [debug] 3871416#0: *6 http request line: "GET /live/662972ff31d96-1/index.m3u8 HTTP/1.1"
2024/05/06 15:53:25 [debug] 3871416#0: *6 http uri: "/live/662972ff31d96-1/index.m3u8"
2024/05/06 15:53:25 [debug] 3871416#0: *6 http args: ""
2024/05/06 15:53:25 [debug] 3871416#0: *6 http exten: "m3u8"
2024/05/06 15:53:25 [debug] 3871416#0: *6 posix_memalign: 000055DFB88CEE30:4096 @16
2024/05/06 15:53:25 [debug] 3871416#0: *6 http process request header line
2024/05/06 15:53:25 [debug] 3871416#0: *6 http header: "Host: videos.kaiserclix.com:8443"
2024/05/06 15:53:25 [debug] 3871416#0: *6 http header: "Connection: close"
2024/05/06 15:53:25 [debug] 3871416#0: *6 http header done
2024/05/06 15:53:25 [debug] 3871416#0: *6 event timer del: 13: 452358669
2024/05/06 15:53:25 [debug] 3871416#0: *6 rewrite phase: 0
2024/05/06 15:53:25 [debug] 3871416#0: *6 test location: "/"
2024/05/06 15:53:25 [debug] 3871416#0: *6 test location: "live"
2024/05/06 15:53:25 [debug] 3871416#0: *6 test location: ~ ".m3u8$"
2024/05/06 15:53:25 [debug] 3871416#0: *6 using configuration ".m3u8$"
2024/05/06 15:53:25 [debug] 3871416#0: *6 http cl:-1 max:1048576
2024/05/06 15:53:25 [debug] 3871416#0: *6 rewrite phase: 2
2024/05/06 15:53:25 [debug] 3871416#0: *6 post rewrite phase: 3
2024/05/06 15:53:25 [debug] 3871416#0: *6 generic phase: 4
2024/05/06 15:53:25 [debug] 3871416#0: *6 generic phase: 5
2024/05/06 15:53:25 [debug] 3871416#0: *6 access phase: 6
2024/05/06 15:53:25 [debug] 3871416#0: *6 access phase: 7
2024/05/06 15:53:25 [debug] 3871416#0: *6 post access phase: 8
2024/05/06 15:53:25 [debug] 3871416#0: *6 generic phase: 9
2024/05/06 15:53:25 [debug] 3871416#0: *6 generic phase: 10
2024/05/06 15:53:25 [debug] 3871416#0: *6 content phase: 11
2024/05/06 15:53:25 [debug] 3871416#0: *6 content phase: 12
2024/05/06 15:53:25 [debug] 3871416#0: *6 content phase: 13
2024/05/06 15:53:25 [debug] 3871416#0: *6 http filename: "/HLS/live/662972ff31d96-1/index.m3u8"
2024/05/06 15:53:25 [debug] 3871416#0: *6 add cleanup: 000055DFB8A0CF78
2024/05/06 15:53:25 [debug] 3871416#0: *6 http static fd: 18
2024/05/06 15:53:25 [debug] 3871416#0: *6 http set discard body
2024/05/06 15:53:25 [debug] 3871416#0: *6 HTTP/1.1 200 OK^M
Server: nginx/1.16.1^M
Date: Mon, 06 May 2024 20:53:25 GMT^M
Content-Type: application/vnd.apple.mpegurl^M
Transfer-Encoding: chunked^M
Connection: close^M
Expires: Mon, 06 May 2024 20:53:24 GMT^M
Cache-Control: no-cache^M
Cache-Control: no-cache^M
Access-Control-Allow-Origin: *^M
Access-Control-Expose-Headers: Content-Length^M

2024/05/06 15:53:25 [debug] 3871416#0: *6 write new buf t:1 f:0 000055DFB88CF210, pos 000055DFB88CF210, size: 339 file: 0, size: 0
2024/05/06 15:53:25 [debug] 3871416#0: *6 http write filter: l:0 f:0 s:339

from avideo.

DanielnetoDotCom avatar DanielnetoDotCom commented on August 17, 2024

if it is playing and working why do you care about the logs?

from avideo.

gregk63 avatar gregk63 commented on August 17, 2024

Sorry, I wasn't clear on that. The user isn't able to see the stream I think because of the error. There is just a black screen.

from avideo.

DanielnetoDotCom avatar DanielnetoDotCom commented on August 17, 2024

I don't know what the error is, you may want to share a page where you are supposed to have a live stream running here.

from avideo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.