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

couldn't get guild application commands: conn.Handshake() error for tls 1.3: tls: CurvePreferences includes unsupported curve #96

Open
svonidze opened this issue Dec 4, 2024 · 2 comments

Comments

@svonidze
Copy link

svonidze commented Dec 4, 2024

The problems happens on any OS I tried: Windows, Mac, Linux Mint.

./bulkai generate --config bulkai.yaml fails with

2024/12/03 22:50:11 loading session from session.yaml
...
2024/12/03 22:50:19 couldn't start ai client: midjourney: couldn't get guild application commands: discord: couldn't do request guilds/XXX/application-command-index: Get "https://discord.com/api/v9/guilds/XXX/application-command-index": conn.Handshake() error for tls 1.3 (please retry request): tls: CurvePreferences includes unsupported curve

the error leads to https://github.com/Danny-Dasilva/CycleTLS/blob/03ef6a93b5107ddaa37ef55225ff1ba289c41743/cycletls/roundtripper.go#L122

however before ./bulkai create-session finished successfully but there are error messages

Starting browser
...
ERROR: could not unmarshal event: unknown ClientNavigationReason value: initialFrameNavigation

after many hours researching I found that this misbehaviour happens only for recent Chrome version 131, I managed to downgrade Chrome to 104 and no errors at all, so you could copy session.yaml and used even on the latest Chrome.

@svonidze
Copy link
Author

svonidze commented Dec 4, 2024

re #95

@DrCappu
Copy link

DrCappu commented Dec 10, 2024

Any idea when/if this can be fixed?
Suddenly get this error after not running things for 2 weeks...

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

2 participants