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

Streaming server crashes when using HTTPS on Windows #497

Open
Valink16 opened this issue Oct 30, 2023 · 2 comments
Open

Streaming server crashes when using HTTPS on Windows #497

Valink16 opened this issue Oct 30, 2023 · 2 comments

Comments

@Valink16
Copy link

When going in the browser with https enabled (the certificate isn't even trusted but that's an other problem) and playing a movie/episode, the desktop app throws an error message:

QProcess::ProcessError code: 1

(node:11972) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `stremio-runtime --trace-deprecation ...` to show where the warning was created)
C:\Users\valut\AppData\Local\Programs\LNV\Stremio-4\server.js:35949
                var code = error ? 500 : 200, body = JSON.stringify({
                                                          ^

TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Object'
    --- property 'issuerCertificate' closes the circle
    at JSON.stringify (<anonymous>)
    at C:\Users\valut\AppData\Local\Programs\LNV\Stremio-4\server.js:35949:59
    at C:\Users\valut\AppData\Local\Programs\LNV\Stremio-4\server.js:26985:52
    at C:\Users\valut\AppData\Local\Programs\LNV\Stremio-4\server.js:59595:29
    at ClientRequest.<anonymous> (C:\Users\valut\AppData\Local\Programs\LNV\Stremio-4\server.js:27552:25)
    at ClientRequest.f (C:\Users\valut\AppData\Local\Programs\LNV\Stremio-4\server.js:6431:70)
    at ClientRequest.emit (events.js:315:20)
    at ClientRequest.EventEmitter.emit (domain.js:486:12)
    at TLSSocket.socketErrorListener (_http_client.js:469:9)
    at TLSSocket.emit (events.js:315:20)
    at TLSSocket.EventEmitter.emit (domain.js:486:12)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
(node:8616) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `stremio-runtime --trace-deprecation ...` to show where the warning was created)
C:\Users\valut\AppData\Local\Programs\LNV\Stremio-4\server.js:35949
                var code = error ? 500 : 200, body = JSON.stringify({
                                                          ^

TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'Object'
    --- property 'issuerCertificate' closes the circle
    at JSON.stringify (<anonymous>)
    at C:\Users\valut\AppData\Local\Programs\LNV\Stremio-4\server.js:35949:59
    at C:\Users\valut\AppData\Local\Programs\LNV\Stremio-4\server.js:26985:52
    at C:\Users\valut\AppData\Local\Programs\LNV\Stremio-4\server.js:59595:29
    at ClientRequest.<anonymous> (C:\Users\valut\AppData\Local\Programs\LNV\Stremio-4\server.js:27552:25)
    at ClientRequest.f (C:\Users\valut\AppData\Local\Programs\LNV\Stremio-4\server.js:6431:70)
    at ClientRequest.emit (events.js:315:20)
    at ClientRequest.EventEmitter.emit (domain.js:486:12)
    at TLSSocket.socketErrorListener (_http_client.js:469:9)
    at TLSSocket.emit (events.js:315:20)
    at TLSSocket.EventEmitter.emit (domain.js:486:12)
    at emitErrorNT (internal/streams/destroy.js:106:8)
    at emitErrorCloseNT (internal/streams/destroy.js:74:3)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
@beardedhog
Copy link

beardedhog commented Dec 11, 2023

I get the same error on Windows. The same unresolved issue on macOS was reported in Stremio/stremio-bugs#472. Any advice on this?

@JoaoMXN
Copy link

JoaoMXN commented Feb 15, 2024

Same here.

Windows 11 on Edge.

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

No branches or pull requests

3 participants