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

[bug] failed to find configured port #86

Closed
Fenrirthviti opened this issue Feb 1, 2019 · 6 comments
Closed

[bug] failed to find configured port #86

Fenrirthviti opened this issue Feb 1, 2019 · 6 comments
Labels

Comments

@Fenrirthviti
Copy link

Certain clients are failing to connect to the stream, while others are able to connect just fine. I have tested on multiple PCs and mobile devices, and cannot isolate a common factor to either it working or not working.

Client error:

flv.js:11403 [IOController] > Loader error, code = 500, msg = Internal Server Error
e @ flv.js:11403
flv.js:11403 [TransmuxingController] > IOException: type = HttpStatusCodeInvalid, code = 500, msg = Internal Server Error
e @ flv.js:11403
flv.js:1226 Uncaught (in promise) Error: Uncaught, unspecified "error" event. (NetworkError)
at EventEmitter.emit (flv.js:1226)
at EventEmitter.<anonymous> (flv.js:8961)
at EventEmitter.emit (flv.js:1248)
at flv.js:3155

And this error on the nginx error.log:

2019/01/31 18:01:55 [error] 12946#0: *972 flv live: failed to find configured port: '1935', client: <ip>, server: rachni.com, request: "GET /live?port=1935&app=live&stream=Len HTTP/1.1", host: "stream.rachni.com", referrer: "https://stream.rachni.com/dev/player.test.html"

nginx 1.15.8
http conf:

# HTTP-FLV location
location /live {
        flv_live on;
        chunked_transfer_encoding  on;
}

rtmp conf:

rtmp {
        server {
                listen [::]:1935 ipv6only=off;
                chunk_size 8192;

                ping 3s;
                ping_timeout 12s;
                notify_method get;
                idle_streams off;
                drop_idle_publisher 10s;
                play_restart on;

                application live {
                        live on;

                        wait_key on;
                        wait_video on;
                        meta copy;

                        notify_method get;
                 }
}

Appears to be similar to #20

Please let me know what additional information you need.

@winshining
Copy link
Owner

There is something wrong with IPv6, I will fix it later.

@winshining winshining added the bug label Feb 1, 2019
@Fenrirthviti
Copy link
Author

Thank you! That makes so much sense, I was pulling out my hair trying to figure out what I was doing wrong. If there is anything I can do to help test any fixes, please let me know. Working fantastically otherwise!

winshining added a commit that referenced this issue Feb 13, 2019
@winshining
Copy link
Owner

@Fenrirthviti Hey, the bug was fixed, try the latest code to test. Looking forward to your reply and thank you for posting the issue!

winshining added a commit that referenced this issue Feb 13, 2019
@Fenrirthviti
Copy link
Author

Thanks, I should be able to run a test tomorrow and verify!

@Fenrirthviti
Copy link
Author

Confirmed that this is resolved on my end! Thanks so much.

@winshining
Copy link
Owner

@Fenrirthviti Thanks for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants