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

Unable to start cse #1300

Open
rvvliet78 opened this issue Feb 7, 2022 · 4 comments
Open

Unable to start cse #1300

rvvliet78 opened this issue Feb 7, 2022 · 4 comments
Assignees
Labels

Comments

@rvvliet78
Copy link

Describe the bug

We've deployed cse but are unable to connect to mqtt, VCD does connect properly.
This is the error we get when starting cse:

cse.sh[6461]: Exception in MessageConsumer thread. About to stop thread due to
: WebSocket handshake error, connection not upgraded

Reproduction steps

Followed the cse 3.1.2 greenfield install docs

Expected behavior

Not to het this error

Additional context

No response

@rocknes
Copy link
Collaborator

rocknes commented Apr 4, 2022

Can you please try to set verify_ssl under mqtt section to False in CSE config file and restart the CSE server?

I believe this is related to TLS being enabled on the machine which is running VCD.

@rvvliet78
Copy link
Author

This is already set to false.

@rocknes
Copy link
Collaborator

rocknes commented Apr 20, 2022

It is hard to say what is going on here, CSE uses paho library for mqtt connections and the errors you are noticing are originating from the library directly. Most of he time it is a configuration issue. Is the MQTT service running on vcd machine. Can you please check that? If it is running and you are still unable to connect, I guess then we will have start sniffing packets between CSE and VCD to figure the issue.

@rvvliet78
Copy link
Author

Just an update form our side, we found that pointing the CSE service directly to a backend node "fixes" the problem. So it seems with a Loadbalancer between the CSE and VCD makes that it doesn't work.
We however have no other issues with the load balancer and we can fully access the VCD API from the CSE server, which makes me believe that there are extra configuration settings needed on the Loadbalancer, is there any documentation on this?

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

3 participants