Node fails to trust certificate and fails to get the final link #602

Closed
opened 2025-12-23 10:22:07 +00:00 by GLlgGL · 5 comments
GLlgGL commented 2025-12-23 10:22:07 +00:00 (Migrated from github.com)

This is happening on some kinoger links I think...This is server problem? The certificate is not trusted? I don't remember it where I got this lol...

2025-12-23T10:05:56.132Z error af55a64e-55ac-42de-b5ea-951cde22393c: kinoger error: Error: self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca, cause: Error: self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca, stack: Error: self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
at AxiosError.from (/var/task/node_modules/axios/dist/node/axios.cjs:914:14)
at RedirectableRequest.handleRequestError (/var/task/node_modules/axios/dist/node/axios.cjs:3515:25)
at RedirectableRequest.emit (node:events:520:35)
at eventHandlers. (/var/task/node_modules/follow-redirects/index.js:49:24)
at ClientRequest.emit (node:events:520:35)
at emitErrorEvent (node:_http_client:107:11)
at TLSSocket.socketErrorListener (node:_http_client:574:5)
at TLSSocket.emit (node:events:508:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4731:41)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4726:14)
at async Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4726:14)
at async Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4726:14)
at async Fetcher.fetchWithTimeout (/var/task/src/utils/Fetcher.js:99:24)
at async Fetcher.queuedFetch (/var/task/src/utils/Fetcher.js:224:20)
at async Fetcher.text (/var/task/src/utils/Fetcher.js:43:17)
at async guessHeightFromPlaylist (/var/task/src/utils/height.js:21:22)
at async KinoGer.extractInternal (/var/task/src/extractor/KinoGer.js:84:29)
at Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4731:41)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4726:14)
at async Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4726:14)
at async Fetcher.fetchWithTimeout (/var/task/src/utils/Fetcher.js:99:24)
at async Fetcher.queuedFetch (/var/task/src/utils/Fetcher.js:224:20)
at async Fetcher.text (/var/task/src/utils/Fetcher.js:43:17)
at async guessHeightFromPlaylist (/var/task/src/utils/height.js:21:22)
at async KinoGer.extractInternal (/var/task/src/extractor/KinoGer.js:84:29)
at async KinoGer.extract (/var/task/src/extractor/Extractor.js:18:20)
at Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4731:41)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4726:14)
at async Fetcher.fetchWithTimeout (/var/task/src/utils/Fetcher.js:99:24)
at async Fetcher.queuedFetch (/var/task/src/utils/Fetcher.js:224:20)
at async Fetcher.text (/var/task/src/utils/Fetcher.js:43:17)
at async guessHeightFromPlaylist (/var/task/src/utils/height.js:21:22)
at async KinoGer.extractInternal (/var/task/src/extractor/KinoGer.js:84:29)
at async KinoGer.extract (/var/task/src/extractor/Extractor.js:18:20)
at async ExtractorRegistry.handle (/var/task/src/extractor/ExtractorRegistry.js:48:28)
at Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4731:41)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Fetcher.fetchWithTimeout (/var/task/src/utils/Fetcher.js:99:24)
at async Fetcher.queuedFetch (/var/task/src/utils/Fetcher.js:224:20)
at async Fetcher.text (/var/task/src/utils/Fetcher.js:43:17)
at async guessHeightFromPlaylist (/var/task/src/utils/height.js:21:22)
at async KinoGer.extractInternal (/var/task/src/extractor/KinoGer.js:84:29)
at async KinoGer.extract (/var/task/src/extractor/Extractor.js:18:20)
at async ExtractorRegistry.handle (/var/task/src/extractor/ExtractorRegistry.js:48:28)
at async Promise.all (index 2)

This is happening on some kinoger links I think...This is server problem? The certificate is not trusted? I don't remember it where I got this lol... 2025-12-23T10:05:56.132Z error af55a64e-55ac-42de-b5ea-951cde22393c: kinoger error: Error: self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca, cause: Error: self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca, stack: Error: self-signed certificate; if the root CA is installed locally, try running Node.js with --use-system-ca at AxiosError.from (/var/task/node_modules/axios/dist/node/axios.cjs:914:14) at RedirectableRequest.handleRequestError (/var/task/node_modules/axios/dist/node/axios.cjs:3515:25) at RedirectableRequest.emit (node:events:520:35) at eventHandlers.<computed> (/var/task/node_modules/follow-redirects/index.js:49:24) at ClientRequest.emit (node:events:520:35) at emitErrorEvent (node:_http_client:107:11) at TLSSocket.socketErrorListener (node:_http_client:574:5) at TLSSocket.emit (node:events:508:28) at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4731:41) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4726:14) at async Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4726:14) at async Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4726:14) at async Fetcher.fetchWithTimeout (/var/task/src/utils/Fetcher.js:99:24) at async Fetcher.queuedFetch (/var/task/src/utils/Fetcher.js:224:20) at async Fetcher.text (/var/task/src/utils/Fetcher.js:43:17) at async guessHeightFromPlaylist (/var/task/src/utils/height.js:21:22) at async KinoGer.extractInternal (/var/task/src/extractor/KinoGer.js:84:29) at Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4731:41) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4726:14) at async Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4726:14) at async Fetcher.fetchWithTimeout (/var/task/src/utils/Fetcher.js:99:24) at async Fetcher.queuedFetch (/var/task/src/utils/Fetcher.js:224:20) at async Fetcher.text (/var/task/src/utils/Fetcher.js:43:17) at async guessHeightFromPlaylist (/var/task/src/utils/height.js:21:22) at async KinoGer.extractInternal (/var/task/src/extractor/KinoGer.js:84:29) at async KinoGer.extract (/var/task/src/extractor/Extractor.js:18:20) at Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4731:41) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4726:14) at async Fetcher.fetchWithTimeout (/var/task/src/utils/Fetcher.js:99:24) at async Fetcher.queuedFetch (/var/task/src/utils/Fetcher.js:224:20) at async Fetcher.text (/var/task/src/utils/Fetcher.js:43:17) at async guessHeightFromPlaylist (/var/task/src/utils/height.js:21:22) at async KinoGer.extractInternal (/var/task/src/extractor/KinoGer.js:84:29) at async KinoGer.extract (/var/task/src/extractor/Extractor.js:18:20) at async ExtractorRegistry.handle (/var/task/src/extractor/ExtractorRegistry.js:48:28) at Axios.request (/var/task/node_modules/axios/dist/node/axios.cjs:4731:41) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Fetcher.fetchWithTimeout (/var/task/src/utils/Fetcher.js:99:24) at async Fetcher.queuedFetch (/var/task/src/utils/Fetcher.js:224:20) at async Fetcher.text (/var/task/src/utils/Fetcher.js:43:17) at async guessHeightFromPlaylist (/var/task/src/utils/height.js:21:22) at async KinoGer.extractInternal (/var/task/src/extractor/KinoGer.js:84:29) at async KinoGer.extract (/var/task/src/extractor/Extractor.js:18:20) at async ExtractorRegistry.handle (/var/task/src/extractor/ExtractorRegistry.js:48:28) at async Promise.all (index 2)
GLlgGL commented 2025-12-23 10:26:33 +00:00 (Migrated from github.com)

Or at least catch this type of error because it stops and make it hangs all the remaining processes

Or at least catch this type of error because it stops and make it hangs all the remaining processes
webstreamr commented 2025-12-23 10:36:27 +00:00 (Migrated from github.com)

add the embed if you have one please. but yeah, hard to say at this point, we can keep it open and you can add more infos if you get them

but you're right, it should not influence anything else, that's weird. that should be fixed for sure.

add the embed if you have one please. but yeah, hard to say at this point, we can keep it open and you can add more infos if you get them but you're right, it should not influence anything else, that's weird. that should be fixed for sure.
webstreamr commented 2026-01-02 09:10:24 +00:00 (Migrated from github.com)

if this keeps happening I'm also willing to turn off SSL verification. let me know if you can reliably reproduce it

if this keeps happening I'm also willing to turn off SSL verification. let me know if you can reliably reproduce it
GLlgGL commented 2026-01-02 09:43:22 +00:00 (Migrated from github.com)

I didnt got it again to be able to get the embed link...When I got it first time I was working on something else and didn't noted the embed link lol...

Anyway isnt best to add a check if that error happens(so if certificate epired or not trusted) skip ssl?

I didnt got it again to be able to get the embed link...When I got it first time I was working on something else and didn't noted the embed link lol... Anyway isnt best to add a check if that error happens(so if certificate epired or not trusted) skip ssl?
webstreamr commented 2026-01-02 18:52:17 +00:00 (Migrated from github.com)

no, either we don't trust it at all or we do (which is preferred). please only open issues for things that can be reproduced and are important. I have no interest in trying to optimise edge cases

no, either we don't trust it at all or we do (which is preferred). please only open issues for things that can be reproduced and are important. I have no interest in trying to optimise edge cases
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Creepso/webstreamr-github#602
No description provided.