How to fix Linux server issues in Multilogin X
Do you have issues with starting browser profiles on a Linux server? Do you have any issues when retrieving a port number after a successful API response? Do you get an error when you try enabling automation type and headless mode? This article will get you covered!
Launch profiles manually
- Launch Terminal
- Run the following command (replace
folder_idandprofile_idrespectively):curl -X GET https://localhost:45000/api/v2/profile/f/<folder_id>/p/<profile_id>/start - Check if the profile launches successfully
Locate and analyze agent logs
- Go to one of the following directories:
/opt/usr/mlx//home/%username%/mlx/logs
- Look for
launcher_<date>.logandagent_<date>.log
Investigate SSL/TLS errors
- Check for “Bad record MAC” errors in the logs:
SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC - Make sure that the Linux server's OpenSSL configuration is correct
Read more details about OpenSSL configuration here: Open SSL - Ubuntu Server documentation
Compare API and UI behavior
- If launching via the UI works, but API fails, check API parameters and UI settings (they should match)
- Test using the same profile ID and settings manually via
curl
For curl command, refer to the Launch profiles manually chapter and the info about GET Start Browser Profile endpoint in our API documentation.
Check Linux environment setup
- Make sure that Xvfb is installed and properly configured for headless mode. Refer to the following articles for more details:
- Confirm that the Multilogin X agent or app is running and accessible via the correct port (refer to the step from the following article: How to fix agent connection issues)
Nothing works?
If the issue persists, send us your log files, and we will investigate it further for you.
- Recreate the issue or wait until the error message appears
- Archive the logs folder found in this location:
/home/%username%/mlx - Email support at [email protected] with:
- A clear description of the issue
- The archived logs folder attached
This article includes third-party links that we don’t officially endorse.