Skip to content

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

@svonidze

Description

@svonidze

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions