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

CONNECTION_STATE_IS_CONNECTED always deconnect #7

Open
OZEO-DOOZ opened this issue Jul 4, 2022 · 7 comments
Open

CONNECTION_STATE_IS_CONNECTED always deconnect #7

OZEO-DOOZ opened this issue Jul 4, 2022 · 7 comments

Comments

@OZEO-DOOZ
Copy link

Hi,

I have strange signal behavior of CONNECTION_STATE_IS_CONNECTED signal.
With each publication on a topic, the signal CONNECTION_STATE_IS_CONNECTED goes to 0 then a few seconds later goes back to 1.

@OZEO-DOOZ
Copy link
Author

OZEO-DOOZ commented Jul 4, 2022

In fact, I think that every change on the bloker, I am disconnected. And after, it reconnect automaticaly.

@OZEO-DOOZ
Copy link
Author

00:00:27.672 IndexOutOfRangeException ERROR
00:01:04.203 ArgumentOutOfRangeException ERROR

I have this kind of error.

@OZEO-DOOZ
Copy link
Author

I think that the buffer is not large enough :
00:03:04.266 {"ison":false,"source":"mqtt","has_timer":false,"timer_started":0,"timer_duration":0,"timer_remaining":0,"mode":"white","brightness":65,"transition":0 STATUS_$

@OZEO-DOOZ
Copy link
Author

Is it possible to make the buffer lager?

@PeterScream
Copy link

from memory string buff cap is in the s+ but theres a string limit imposed globally by simpleWindows. its bit bigger but still a limit

@OZEO-DOOZ
Copy link
Author

OZEO-DOOZ commented Jul 11, 2022

the current character count is 158.
In simplwindow the limit is set at 255.
There must be a other problem.

Do you know what can be the problem with this kind of error message?

00:00:27.672 IndexOutOfRangeException ERROR
00:01:04.203 ArgumentOutOfRangeException ERROR

@seb514mtl
Copy link

the problem is : in unsecure connexion ( no TLS ) , DO NOT fill username and password on the module parameter
in case you have multiple modules , do not use username and password on ANY of them

leave it blank

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

No branches or pull requests

3 participants