GaryOderNichts / moonlight-wiiu

Moonlight Wii U port
GNU General Public License v3.0
143 stars 13 forks source link

Connection terminated with error: 5 #48

Closed one-and-only closed 8 months ago

one-and-only commented 8 months ago

No matter which game/app I add as an application in Sunshine server, I always get "Connection terminated with error: 122" on my Wii U, despite having a very low resolution/bitrate to begin with. I've tried all sorts of bitrates, resolution, fps, etc. on my Wii U and various different settings in Sunshine to no avail. I appreciate your help in getting this resolved. More information is available upon request. Thank you very much.

GaryOderNichts commented 8 months ago

122 is EMSGSIZE. Did you modify the packetsize in your configuration or change the MTU of your network connection in the system settings?

one-and-only commented 8 months ago

122 is EMSGSIZE. Did you modify the packetsize in your configuration or change the MTU of your network connection in the system settings?

In system settings it is 1500 and in the config file for Moonlight it’s 1472. Is this bad?

one-and-only commented 8 months ago

I set the MTU to 1280 and that seemed to fix the issue. Thank you for your help :)

GaryOderNichts commented 8 months ago

You usually don't need to adjust anything packetsize/MTU related. The default packetsize is 1392, which should work without changing the MTU.