zSoulweaver / kient

TypeScript-First Client Library for Kick.com
https://kient.pages.dev/
MIT License
29 stars 11 forks source link

Cycle TLS timed out! #2

Closed Jagjeet0518 closed 11 months ago

Jagjeet0518 commented 11 months ago

I've tried making a similar bot by using your code. but i get timeout initialising Cycle TLS. it also happens when i am using the "kient" package.

zSoulweaver commented 11 months ago

Sorry, just to double check, have you tried using CycleTLS on its own, outside of this library? If you are having issues with CycleTLS outside of this library I would suggest raising an issue on the CycleTLS repo.

Could you share some more information about how you are using CycleTLS? Are you running it on a server? Do you have issues requesting non kick.com urls with it? Etc.

Holovin commented 9 months ago

Seems same issue

Error on my debian server (node 18)

[error] uncaughtException: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Could not connect to the CycleTLS instance within 4000ms".
UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Could not connect to the CycleTLS instance within 4000ms". 

Locally on my mac (node 21) works well but I have no idea why

Holovin commented 9 months ago

https://github.com/Danny-Dasilva/CycleTLS/issues/300

Find related issue in used lib, just for other guys who face with same issu