serenity
serenity copied to clipboard
On Start expected empty host unhandled error
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.
Think it would be helpful if you could give us the source code as well
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