Skip to content
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

API access gets 400 with swag reverse proxy #326

Open
Herschdorfer opened this issue Sep 16, 2023 · 0 comments
Open

API access gets 400 with swag reverse proxy #326

Herschdorfer opened this issue Sep 16, 2023 · 0 comments
Labels

Comments

@Herschdorfer
Copy link

I have configured the settings as followed:

    "openhab.connection.host": "openhab.****.or.at",
    "openhab.connection.port": 443,
    "openhab.connection.authToken": "oh..."

I use docker with a SWAG instance for reverse proxying and I can reach the API from the same machine on Chome via https://openhab.****.or.at/rest/.

Expected Behavior

API access in VS Code.

Current Behavior

I keep getting http 400 failures.

---
    Error:
        Error while connecting to openHAB REST API.

    Message:
        Error: Request failed with status code 400
---

Possible Solution

N/A

Steps to Reproduce (for Bugs)

N/A

Context

N/A

Your Environment

Ubuntu 23.04
VS Code 1.82.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant