Genvid Forum

Genvid Technologies

Unable to setup services (Local setup)

hi, I’m trying to setup the SDK but having issues running genvid-sdk setup command.

SDK version is 1.21.0.96.

I can successfully run py install-toolbox.py --user.

After that I start consul from the SDK folder using bin/consul agent -dev -bind 127.0.0.1 (without doing this, the “genvid-sdk setup” complains about “Service consul is not running”).

Then trying to run “genvid-sdk setup” complains about “Service bastion-api is not running”, so I do .\bin\bastion-api.exe which seems to start alright and reports “e[34mINFOe[0m[0000] New Consul Client: 127.0.0.1:8500”.

So by this point I seem to have both consul and bastion-api services running, but then doing genvid-sdk setup fails with the same:
“Service bastion-api is not running”,
“Python\Python38\site-packages\genvid\toolbox\consul.py”, line 143, in _get_service_with_tag"

Could you guys help please with what I’m missing here?

Hi Stas,

First: Welcome to the Genvid community!

It sounds like you may be missing the step where you set up your bastion server and other services. After you install the Genvid Toolbox, try following the steps under Start a Local Cluster in the SDK documentation: https://www.genvidtech.com/doc/SDK-1.21.0/game_integration/utilisation.html

Give that a try and let us know if that gets you unblocked.

Cheers,
Dan
Technical Writer

Thanks Daniel!

Looks like that’s the bit I was missing and it seems to have fixed the setup!