Open devonrojas opened 4 months ago
Thank you for the report. I have not had the chance to look into this yet but I will as soon as possible.
Sorry for the delay. I'm thinking the server is taking some time to initialize and the callbacks are attempting to connect to it too early. Does the system work once the error messages subside? It looks like it's taking 15-20s for the server to start in this case, which can happen if the tajriba file starts to be a bit large (it can grow quite quickly when storing very frequent events such as mouse movements of the players).
Is there an existing issue for this?
What happened?
When going to serve my bundled empirica project (after the first initial serve), I get a "connection refused" error on port 3000 that prevents the empirica server from starting correctly. However, after some time, the server is able to run successfully. I have verified that there are no other processes using port 3000 at the time of running the command.
The only solution I've found is to delete the tajriba.json file and do a fresh start of the server.
Steps To Reproduce
empirica bundle
empirica serve
empirica serve
Empirica Version
What OS are you seeing the problem on?
Linux
What browser are you seeing the problem on?
Does not apply
Relevant log output
Anything else?
Server Information: Static hostname: XXXXX Icon name: computer-vm Chassis: vm Machine ID: XXXXXX Boot ID: XXXXXXX Virtualization: amazon Operating System: Ubuntu 22.04.3 LTS Kernel: Linux 6.5.0-1018-aws Architecture: x86-64 Hardware Vendor: Amazon EC2 Hardware Model: t3a.medium
Code of Conduct