empiricaly / empirica

Open source project to tackle the problem of long development cycles required to produce software to conduct multi-participant and real-time human experiments online.
https://empirica.ly/
Apache License 2.0
44 stars 8 forks source link

failed scheduled step stop #475

Closed aliciamchen closed 7 months ago

aliciamchen commented 7 months ago

Is there an existing issue for this?

What happened?

Been getting this error along with #473 and #468. Have also been getting missing batches and players in the admin console, and participants reporting that they are not able to continue the game.

I was wonder, perhaps I need to scale up my droplet? But I'm running a 8 GB Memory / 4 Intel vCPUs / 25 GB Disk DigitalOcean droplet, and my CPU usage is <40%, load < 2.0, memory < 20%.

Steps To Reproduce

No response

Empirica Version

Version: v1.8.12
SHA:     656d19b
Build:   159
Branch:  main
Time:    2023-12-26T07:14:40Z

What OS are you seeing the problem on?

No response

What browser are you seeing the problem on?

No response

Relevant log output

18:50:17.204 ERR runtime: failed scheduled step stop error="invalid transition: from state mismatch with previous state" stepID=01HJP6NHKW0VQWE2SK9R7ZD7AR

Anything else?

No response

Code of Conduct

npaton commented 7 months ago

I think these aae different problems. We have had some issues on the client where player.stage was undefined and that's often resulted in the page no loading for the player, that could be the issue with participants not being able to continue the game. That should be fixed in the latest release (1.9.0).

The "invalid transition" log is not a problem and I removed the log in the latest release.

As for the missing batches and players in the admin console, I don't quite understand that one. Could you help me understand what you mean by that? Thanks!

aliciamchen commented 7 months ago

Thank you! With missing batches / players, I'm referring to #469, where the players in the admin console disappear.