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
REST api fails to start #109
Comments
Hi @asbe Would you be able to tell us what node version you are using, operating system (i see that you are using windows, but is it 7 or 10?), and if you have installed any custom usb drivers on your machine. |
Sure. Node is v11.13.0. Running Windows10-v1803 (build 17134.753). Pretty sure there is no special USB drivers interfering - but I may be wrong:
Apart from that - listing registered dll etc with RegDllView shows no custom binaries registered, when searching for "usb". Nearly all libs used on this machine are handled by vcpkg - and listing installed shows no obvious culprits. Finally - I cannot find any matches to "libusb" in path (should catch both variants of the libusb-drivers). |
Thank you abse for reporting this issue, I tried to reproduce this with nodist, and I could not. Could you try to update to the newest camera software and see if you still have this issue. |
What is the version I should have on the camera? I have some issues with upgrading above 1.2.11-35134 using the Huddly app. This issue discussion is perhaps not the right place to ask, but is there any other tool I can use to flash the camera firmware? |
The latest release is 1.2.16-38450 which is available in the app, you can actually use the sdk to upgrade provided you have the file you can see how it can be done programatically in the rest example (https://github.com/Huddly/sdk/blob/master/examples/rest/src/controllers/camera.js#L102). |
Have checked on a Mac (running macOS Mojave) - and I'm able to upgrade to latest software as well as running the rest-api example. However - I still get the same error on Windows 10 - as well as autozoom not working in the app. |
@jontore Are there any dependencies on network connection for the startup sequence of the API? I can access the localhost webserver just fine (have full control of my device) - but both the Huddly App (autozoom) and REST API will not work on hardened networks (such as the workplace network). |
Hi, sorry for a late reply. The app needs internet access in order to get latest camera sw, which is something we've seen sometimes being blocked by a firewall. The rest api however does not go out on the network, but some machines might have sw installed blocking opening those. apis. |
Ok, yes that might be a clue. I'll take a look and see if I can reproduce it |
Looks like it might have a problem opening the device, https://github.com/Huddly/device-api-usb/blob/master/cpp/usb_worker.cpp#L174. Will look into why. |
Have set up the SDK as described in https://developer.huddly.com/index.html, with notable difference that I use nodist (https://github.com/nullivex/nodist) instead of nvm.
Trying to start the REST-api results in the following errors:
Currently the camera info is as follows:
Huddly app is not running.
Is there a location for logfiles I can paste that may help resolve this issue?
The text was updated successfully, but these errors were encountered: