It is not clear to me what your screenshot shows and what is happening in the background but the way to verify this works is via the pyvelociraptor python binding or just the velociraptor binary itself:
on the remote machine just run
velociraptor.exe --api_config api.config.yaml query -v "SELECT * FROM info()"
then watch the output and make sure the api connection is working correctly. Once you have that working you can worry about the other code your are trying to integrate with.
Although 0.6.2 is very old I dont think the API code has changed in ages and should work the same way. I think your issue is networking - the error definitely indicates that whatever the screenshot is from is trying to connect to 0.0.0.0
thanks