-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Error: Could not get valid data from REST API #201
Comments
It seems that the local LSP server cant handle the basic auth connection. This seems like a hardcoded url. |
I just wanted to reproduce the error, but now, everything works. I didn't change anything by intention... Observing it. |
Thanks for the Feedback. Maybe we have some cached data that caused trouble. |
I am faceing the same Problem when i have installed the Amazon Echo Control Binding. When i deinstall it everything works fine. when i reinstall it i am faceing this error |
@Confectrician basically i am facing the same problem, but i can confirm the hard coded URL problem, when adding /rest/items to the openHab.host config, at least the items occur in VS Code, for things i am still getting the error message "Error while connecting to REST API" |
I'm getting the following error, when connecting to my openHAB instance, running behind a nginx reverse proxy with Basic Auth and Letsencrypt with redirection to SSL:
When looking into the TCP stream, I see VSCode gets redirected via port 80 to 443 and then continues encrypted. The connection to the LSP on port 5007 seems to work. Accessing the REST API via browser do work and connecting VSCode to the REST API of my local openHAB instance work, too.
This is my config:
Tried already port 443 or connecting by IP address.
VSCode openHAB 0.7.0
openHAB 2.5.3
The text was updated successfully, but these errors were encountered: