Error Messages
Moonbeam provides various error messages to help you identify and resolve issues. This section will help you understand common error messages and provide guidance on how to address them.
Connection Errors
-
“Failed to connect to host”
This error occurs when Moonbeam cannot establish a connection with the specified host.
- Check if the host name or IP address is correct.
- Ensure the host computer is powered on and running Sunshine.
- Verify that both client and host are on the same network.
- Check your firewall settings on both the host and client.
Network Errors
-
“Network test failed”
This error indicates that Moonbeam couldn’t complete its network speed test.
- Check your internet connection.
- Ensure the iperf3 server is running on the host (port 31347).
- Verify that your firewall isn’t blocking the iperf3 connection.
-
“Latency exceeds maximum allowed”
This error occurs when the measured latency is higher than the specified maximum.
- Check your network conditions and try to reduce latency.
- Consider increasing the
--max-latency
value if your use case allows for higher latency. - Try using a wired connection instead of Wi-Fi.
Configuration Errors
-
“Invalid resolution format”
This error appears when an incorrect resolution format is provided.
- Ensure you’re using the correct format (width x height).
- Check that both width and height are positive integers.
- Use one of the predefined resolution options (e.g.,
--1080p
) if unsure.
-
“Incompatible options”
This error occurs when mutually exclusive options are used together.
- Review your command and remove one of the conflicting options.
- Refer to the Moonbeam documentation for correct option usage.
Runtime Errors
-
“Unable to start stream”
This error indicates that Moonbeam couldn’t initiate the streaming session.
- Verify that the specified application or game is installed and running on the host.
- Check Sunshine logs on the host for any errors.
- Ensure the host system meets the requirements for game streaming.
-
“Stream disconnected unexpectedly”
This error appears when an active stream is suddenly terminated.
- Check your network connection for any interruptions.
- Verify that the host computer hasn’t gone to sleep or shut down.
- If the
--reconnect
option is enabled, Moonbeam will attempt to reestablish the connection automatically.
If you encounter persistent errors or issues not covered here, consider reaching out to the Moonbeam community for support.