nginx config for reverse proxying UDP traffic (minecraft app) - 90 message too long
Solution 1:
Perhaps the problem "90: Message too long" can be associated with the EMSGSIZE error (If the message is too long to pass atomically through the underlying protocol, the error EMSGSIZE is returned, and the message is not transmitted
), in which case you can try to solve it by increasing the size of the socket send buffer.
The following parameters have standard values:
net.core.wmem_default = 212992
net.core.wmem_max = 212992
The current values on your server can be checked with the command:
sysctl -a | grep "net.core.wmem"
For the test, using the following command, you can set, for example, the following values:
sysctl -w net.core.wmem_default = 9999999
sysctl -w net.core.wmem_max = 9999999
echo "net.core.wmem_default = 9999999
net.core.wmem_max = 9999999 ">> /etc/sysctl.conf
Next, check that they were applied correctly (now must be 9999999):
sysctl -a | grep "net.core.wmem"
And try to reproduce the problem.