-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redis issue, can't generate uuids #1
Comments
If I recall properly you are running Windows, right? I ask since my REST commands in are PowerShell ;-) Here is my test. It is basically a walkthrough scenario. check 'status' of Meshblu Add yourself as a 'developer' to a Meshblu instance so that you can query objects (a 'device' is simply an object) - this is the minimum better way to add yourself:
"$objMe" contains the uuid and token that needs to be used in the header to 'authenticate'
list 'public' devices claim a device
|
I see Redis connection refused. |
Hi @brianehlert I sure did, I didn't change the config and left it as is, just renaming as you described to "meshblu.conf". Following the powershell commands I get this, which I guess is due to the redis issue? Here is the files in the home directory as you described and I ran ./gitAppliance.sh Is there some config change required in relation to redis? Many thanks Andy |
The script should have installed a local Redis server and also be connecting to it on 'localhost' If you go to /var/www/meshblu and edit config.js Then reboot The REST error. Your screen shot looks like you missed a step: Prior to the POST |
Hi @brianehlert This is my hosts file I did edit it following some instructions about setting up ubuntu I'll try disabling it for now, but it would be cool to work out what's going wrong. I'll try without and let you know how I get on. Thanks again for the help! Andy |
Hi @brianehlert I commented out the redis config, rebooted and tried the steps described above and I get the following error: Interestingly if I check the status I still get "online" Not sure why it doesn't want to play ball, everything is vanilla with no extras installed? Many thanks Andy |
Hard to truly know without seeing it myself, since this is an app talking to another service. |
Hi @brianehlert
Just being playing with meshblu trying to generate a UUID for an arduino with:
curl -X POST -d "type=firmwareController&payloadOnly=true&name=Arduino" http://UbuntuServer:3000/devices
Also tried generating a UUID with NodeBlu and adding a new MeshBlu server and using the generate option to no avail. I get the following:
This is the error logs on the server
Any ideas what I am doing wrong?
Many thanks
Andy
The text was updated successfully, but these errors were encountered: