Question

I am having connectivity errors while running an experiment in Jatos.

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.


Submit an answer


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!

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
May 6, 2023

Hi there,

In such cases, I usually start with the following two things:

  1. 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, or free to monitor the resource usage. If resources are being maxed out, consider upgrading your Droplet to a larger plan with more resources.

  2. 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

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel