Results 8 comments of Andy Payne

Same. Converted tensor to Long and was welcomed with new errors

> It's not a ploy, but pragmatism :) Ah okay, I see and apologize for the assumption :) [For my application](https://github.com/physiii/CollectiveFS/) I can not have a single point of failure....

Okay, little different method: I should probably wait for a response before trying to reconnect. So I need to set **token_connect** true when I receive a connection error: > re-connecting...

Okay I see why there is an OOM. I don't think it retries the connection because I don't see `LWS_CALLBACK_CLIENT_WRITEABLE` after I reset my server - just `LWS_CALLBACK_HTTP_DROP_PROTOCOL` then `LWS_CALLBACK_CLOSED`...

Thank you for clarification and patience. I [added a connect flag](https://github.com/physiii/smart-regulator/blob/master/code/main/main.c#L222) back to the `lws_service` loop so when I receive `LWS_CALLBACK_CLOSED` I [set the connect flag true](https://github.com/physiii/smart-regulator/blob/master/code/main/plugins/protocol_token.c#L281) triggering `lws_client_connect_via_info` on...

Okay getting close. [I'm using your ratelimit function and client wsi pointer as a flag](https://github.com/physiii/smart-regulator/blob/master/code/main/main.c#L258) but it's not being set NULL if an attempt was made but the server is...

> I was looking over this project and was excited and wanted to follow one of your URL's for the Open Automation but it seems its no longer around? Do...