Closed dougwig closed 4 years ago
Workaround merged in in PR #113
Even with the workaround removing templates doesn't work with 4.0.3 devices; the workaround keeps it from being a fatal error and makes other updates to the device.
Looking at the code, TCP virtual ports can't have a Cookie persist type, hence the JSON message error. I can see a number of ways of skinning this cat and ending up with a cute hat instead of bloodied hands:
Knowing all this, we have a limited number of protocols we can use with cookies, a smaller subset that allows using a property of the TCP connection, and everything else is UDP. It might even be better to create an inverse ruleset that specifies the types of session persistence that cannot be used with that type... that seems like it would require less information to make the correct decision,
Issue is stale. Closing for now. Please re-open if required.
We might need to catch and maybe send '' or not None? Clearing templates will be tricky.