Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Sending incorrect SQL query to SQLite causes infinite crash loop #9

Closed
Shacotaco opened this issue Jun 4, 2020 · 1 comment
Closed

Comments

@Shacotaco
Copy link

Shacotaco commented Jun 4, 2020

Sending an incorrect SQL query message crashes SQLite before it can send a message received confirmation to the edgeHub. The edge agent then restarts the SQLite module and the edgeHub (not having received any message confirmation) resends the same incorrect SQL query message to SQLite, making it crash again. This makes the SQLite module end up in an infinite crash loop unless the messages are cleared from edgeHub.

In my case I had a typo in the select query table name and forgot to add ';' at the end of the query.

See below image with error in edgehub
afbeelding

@yphuangms
Copy link
Contributor

Please fork or clone the code for further modification/customization to build module that full fill your need.
This repository is no longer being actively maintained and will be archived. Open issues will be closed.

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

No branches or pull requests

2 participants