That's a network error caused by one of your mods.
The error message does not appear in either of the logs you posted.
It could also be a broken custom recipe, e.g. in a datapack you have installed or some other configuration.
You can try adding the following system property to your jvm properties. Which should show the full error message in the logs/debug.log
I have no idea how to do that with the prism launcher but it should be in a similar place to where you specify the memory allocated to the game.
Failing that. The only way to find this kind of problem mod is to remove mods until the issue goes away. Backup your world before removing mods.
Your client log also contains this error:
which may or may not be relevant?
The server log says that essential mod is broken.
That mod is a custom networking layer for minecraft. It might be breaking things even when you are not actually using it?
If you are using it, then you need to ask them for support.
We cannot support that mod. It is closed source and as I said, completely changes how the networking works.