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

On Start expected empty host unhandled error #2541

Open
V-Staykov opened this issue Sep 19, 2023 · 2 comments
Open

On Start expected empty host unhandled error #2541

V-Staykov opened this issue Sep 19, 2023 · 2 comments

Comments

@V-Staykov
Copy link

V-Staykov commented Sep 19, 2023

Upon starting the bot, i get the following warn:

2023-09-19T14:38:50.496587Z WARN run:recv_event:handle_event: { event = Err(Json(Error("event GuildCreate: invalid value: string \"https://\", expected empty host", line: 0, column: 0))): serenity::gateway::shard: [Shard [0, 1]] Unhandled error: Json(Error("event GuildCreate: invalid value: string \"https://\", expected empty host", line: 0, column: 0))

This leads to also cache_ready not being called, but the bot processes commands otherwise.

Also after it I get a huge warn with a guild info, which I will not paste here, but it ends with this:
serenity::gateway::shard: [Shard [0, 1]] Sequence off; them: 9, us: 7

Serenity version: 0.11.6

P.S. It seems to be in the parsing of user activities.

@ivinjabraham
Copy link
Contributor

Think it would be helpful if you could give us the source code as well

@jamesbt365
Copy link
Member

If this is still the problem it would be useful for the payload, but it may not be fixable without a breaking change, try updating to the latest serenity.

@ivinjabraham source code isn't actually all that useful

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