Hello, I am using your droplet to run an online experiment in Jatos. Unfortunatly, every couple of days, there appears to be a connectivity error which cause the experiment to stop and for me to lose the participants’ data. The error states “Websocket conection failed”. It appears that the droplet is having short internet problems which cause the components in Jatos to reload, causing the experiment to fail- as Jatos does not allowd the component to relaod. What can we do? Thank you.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
In such cases, I usually start with the following two things:
Check the Droplet’s resource usage: Inspect the CPU, memory, and disk usage of your Droplet to ensure it isn’t being overloaded or running out of resources. You can use command-line tools like
top
,htop
, orfree
to monitor the resource usage. If resources are being maxed out, consider upgrading your Droplet to a larger plan with more resources.Examine logs: Check the logs for Jatos and any related services (e.g., web server, database server) running on your Droplet. Look for any errors, warnings, or unusual patterns that may indicate the root cause of the connectivity issue. You can find log files in
/var/log
or in the specific service’s log directory.Feel free to share any of the errors that you see in the logs here so I could try to advise you further!
Best,
Bobby