serenity icon indicating copy to clipboard operation
serenity copied to clipboard

On Start expected empty host unhandled error

Open V-Staykov opened this issue 2 years ago • 2 comments

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.

V-Staykov avatar Sep 19 '23 15:09 V-Staykov

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

ivinjabraham avatar Aug 26 '24 05:08 ivinjabraham

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

jamesbt365 avatar Aug 27 '24 11:08 jamesbt365