Workers Setup

Skip to first unread message

Caio Carvalho

Oct 14, 2022, 12:32:26 PM10/14/22
to Fusio
I am trying to setup workers for testing purposes and looking for more freedom in executing actions, however I can't seem to be able to make them work and I haven't been able to find in the documentations any comprehensive guides on how to properly set them up.
I am aware that there are implementations available, and I have pulled their most recent images, however even after doing so as well as just manually copying the contents from the workers available on git into the worker folders and restarting the container I can only seem to get 2 different error messages (Connection doesn't exist or Connection is not configured).
I'm sure there is something quite obvious I'm missing here but I can't seem to figure it out, I would appreciate help in getting the workers set up.
Worker - Connection not configured.png
Worker - Connection does not exist.png

Christoph Kappestein

Oct 14, 2022, 2:28:41 PM10/14/22
to Fusio

in general if you use our docker image everything should work out of the box but you can setup the worker also independently. Regarding the error, so the problem is, that your worker is currently not aware about the connection which you are using. If you have activated a worker at the configuration.php file, then Fusio will issue an RPC call to every configured worker if you create a new connection, the worker then saves those connection credentials and then you can use them at an action. Could you try to create a new connection and then the work should work as expected. In your worker folder you should also see a connections.json file. We have also some documentation about the worker system at:

best regards

Reply all
Reply to author
0 new messages