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

Jarvis not working if web adapter uses https #122

Closed
thost96 opened this issue Sep 26, 2020 · 10 comments
Closed

Jarvis not working if web adapter uses https #122

thost96 opened this issue Sep 26, 2020 · 10 comments
Assignees
Labels
bug 🐛 Something isn't working

Comments

@thost96
Copy link

thost96 commented Sep 26, 2020

Hi,

Jarvis UI at URL iobroker:8082/jarvis is returning "Failed to connect!" if HTTPS is enabled in web instance. As normal HTTP does work, this might be a linking or resource loading issue. Thanks!

@Zefau
Copy link
Owner

Zefau commented Sep 26, 2020

I'm using https, so it should be working. Are you using socket.io? What is the url when you open from ioBroker dashboard?

@thost96
Copy link
Author

thost96 commented Sep 26, 2020

Hi, no I'm not using socket.io. Web.0 wasn't installed earlier on my setup, so it came with jarvis installation and if HTTPS get's enabled and you go to "https://iobroker:8082/jarvis/index.html" the error "Failed to connect!" is only displayed.

@Zefau
Copy link
Owner

Zefau commented Sep 26, 2020

You have to open it from the ioBroker Dashboard. All necessary connection details will be attached then. In case of a secure connection #socketSecure=true needs to be attached to the URL. This setting will then be cached by jarvis, but it is necessary the first time and every time the Browser cache has been emptied.

@Zefau Zefau added the good first issue ℹ️ Good for newcomers label Sep 26, 2020
@thost96
Copy link
Author

thost96 commented Sep 26, 2020

Maybe a redirect or a similar solution with all needed URL attachments would be better, as this isn't a great solution for external usage without access to the admin instance.

@Zefau
Copy link
Owner

Zefau commented Sep 26, 2020

I'm not happy with the solution myself, but how to solve it?

The main issue is that I do not know the connection details to ioBroker (especially the port; even though the default values are usually not changed). Do you have any ideas?

@rschneider1509
Copy link

i want to attach myself to this. got the same problem :(

@Zefau Zefau added this to the ROADMAP v1.1.0 milestone Oct 15, 2020
@Zefau Zefau added bug 🐛 Something isn't working and removed good first issue ℹ️ Good for newcomers labels Oct 15, 2020
@Zefau Zefau self-assigned this Oct 15, 2020
@Zefau
Copy link
Owner

Zefau commented Oct 15, 2020

I'm reworking the way the initial connection is established. For now though, please consider #122 (comment).

@Zefau
Copy link
Owner

Zefau commented Oct 16, 2020

@thost96 @rschneider1509 Could you check with the latest beta if the connection problems have been resolved?

@Zefau
Copy link
Owner

Zefau commented Oct 16, 2020

#180

@rschneider1509
Copy link

upgraded to 1.0.9 and yes, it works :) ty

@Zefau Zefau closed this as completed Oct 18, 2020
@Zefau Zefau removed the verify-fix label Oct 18, 2020
@Zefau Zefau removed this from the ROADMAP v2.0.0 milestone Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants