Comments (12)
Yes its cloudflare's dumb shit with waiting times that might be yielding it, sorry!
from node_characterai.
Damn that's too bad. Thanks for the help though!
from node_characterai.
Do you know if its possible to wait until the cloudflare protection has passed? Once it starts hanging it doesn't stop and I'm wondering if I can just increase the timeout or something. Still a noob here though so I'm not sure lol.
from node_characterai.
No because its unpredictable sadly
from node_characterai.
Can confirm it hangs and doesn't do anything. I am currently invesgating into the issue.
from node_characterai.
[node_characterai] Puppeteer - ProtocolError: Page.navigate timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
client.js:211
if (request.status() === 200) {
^
TypeError: Cannot read properties of undefined (reading 'status')
at Client.authenticateAsGuest (client.js:211:21)
from node_characterai.
Hello, upon testing, the issue seems like its coming from a new slowdown of the new headless mode. Trying in old true
headless mode seems to be working perfectly.
from node_characterai.
For some reason it feels like I cant even run it properly anymore.. I need to probably investigate deeper on this issue.
from node_characterai.
So sometimes it seems to work properly and sometimes it just hands on "https://beta.character.ai/chat/auth/lazy/". Running it on headful right now and I think they're now either waiting for you to click on the Accept cookie button, or they have a rate limit, or more, user input
from node_characterai.
Ok, after investigation, it might be an issue with CORS policies either from puppeteer or stealth plugin.
EDIT: Sometimes it works and sometimes it doesnt. I don't really know why.
from node_characterai.
Ok so I have made an experimental thing that keeps trying to generate a session for atleast 20 times until a response is recieved because I suspect there is now something around uuids.
from node_characterai.
Problem seems to have been fixed with this solution. If any have any errors or feedback, let me know. Commits: d1b6272 and 25a541d
from node_characterai.
Related Issues (20)
- Add Auto Close Chromium Process in requester.js HOT 1
- Cannot statically analyse 'require(…, …)' in line 11 HOT 1
- Cannot create object HOT 1
- Cannot read properties of undefined (reading 'length')
- ProtocolError HOT 14
- Character AI - New TTS system HOT 20
- Chat history endpoints changed HOT 2
- authenticateAsGuest() fails with error: Failed to fetch a lazy token HOT 1
- is there a way to get the generated image from the ai? HOT 1
- Cannot read properties of undefined (reading 'status') HOT 7
- Feature request: Character information HOT 2
- Timeout ms HOT 7
- createOrContinueChat issue HOT 5
- module completely errors after 2 messages at relatively the same time HOT 1
- How do you install chromium? HOT 7
- need hep stuck with problem for 4 weeks 😭😭😭 HOT 1
- Multiple conversation HOT 3
- Error: Could not get the full reply because it was aborted. This happens often when the output was filtered for violent or explicit content. HOT 15
- Thinking about rewriting the whole package in TypeScript (2.0 roadmap) HOT 9
- Erro HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node_characterai.