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

Error when left for too long #104

Open
arsa24 opened this issue Apr 22, 2024 · 10 comments
Open

Error when left for too long #104

arsa24 opened this issue Apr 22, 2024 · 10 comments

Comments

@arsa24
Copy link

arsa24 commented Apr 22, 2024

Error: received 1011 (internal error) keepalive ping timeout; then sent 1011 (internal error) keepalive ping timeout

@ronitrajpal
Copy link

yeah same error here, have u found any solutions yet??

@KubaPro010
Copy link

just restart the connection? what's the purpose of this, why would character.ai allow someone to connect to their server for hours when they could just reconnect and be there for more hours

@ronitrajpal
Copy link

but what if i have a text that needs like 15-20 seconds or maybe more to type in (even with the fastest fingers ever), then I simply can't do that due to this issue!!!!! thats why I am searching a solution!!

@KubaPro010
Copy link

restart the connection before that and you wont be disconnected

@ronitrajpal
Copy link

wdym by restart the connection? can u explain plz!?

@KubaPro010
Copy link

you can do this:

import characterai
...
client = ...
...
del client
client = ...

just use the del keyword and then reinitialize the var

@ronitrajpal
Copy link

can u give me ur discord or smth......I am always getting errors

@KubaPro010
Copy link

what errors

@ronitrajpal
Copy link

the keepalive ping timeout!! I can't fix it, I need help for this.... And the del keyword also gives Attribute Error !

@ronitrajpal
Copy link

well its fixed now....I just reinstalled everything and now its working better!! I guess its fixed now. Thanks for your help buddy <3

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