Trickle Sub loses index and fails
- Dominant language
- Python
- Stars
- 3
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Open issue to track, not sure of source causing the issue.
A quick fix could be to update subsrciber to always us `-1` as index when a 470 code is returned.
Sometimes in a long stream I see these errors:
```
INFO:pytrickle.subscriber:Trickle sub resetting index to leading edge https://192.168.1.15:9995/ai/trickle/stream-segoni-c3c0f02c-control/76
ERROR:pytrickle.subscriber:Trickle sub hit max retries, exiting https://192.168.1.15:9995/ai/trickle/stream-segoni-c3c0f02c-control/76
ERROR:pytrickle.base:Component subscriber error: max_retries_exceeded: Max retries exceeded for https://192.168.1.15:9995/ai/trickle/stream-segoni-c3c0f02c-control/76
ERROR:pytrickle.base:Component protocol error: max_retries_exceeded: Max retries exceeded for https://192.168.1.15:9995/ai/trickle/stream-segoni-c3c0f02c-control/76
INFO:pytrickle.client:Protocol event received: max_retries_exceeded - Max retries exceeded for https://192.168.1.15:9995/ai/trickle/stream-segoni-c3c0f02c-control/76
INFO:pytrickle.subscriber:Trickle subscription closed or errored for https://192.168.1.15:9995/ai/trickle/stream-segoni-c3c0f02c-control
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.