stripe/stripe-cli

Events stop being forwarded after a while

alexbowers opened this issue · 1 comments

The more information we have the easier it is for us to help. Feel free to remove any sections that might not apply

Issue

Events stop being forwarded after a while (> 24 hours?) of the Stripe CLI being running.

It's possibly related to laptops going to sleep and disconnecting, but the logs indicate that it's trying to reconnect, but never succeeds.

Expected Behavior

I would expect either on disconnection for the client to connect back up seamlessly, or if the connection was unable to be re-made successfully (perhaps after a few attempts), for the Stripe CLI container to kill its process so that Docker can be used to restart it from scratch.

Steps to reproduce

Setup the stripe CLI in docker, and wait. Eventually it'll stop responding to any messages and the logs will look like the below

Traceback

[evt_3POiAw2Haj5IetJZ1FiorjVo]
Session expired, reconnecting...
Ready! You are using Stripe API Version [2020-08-27]. Your webhook signing secret is whsec_9808d13a93dd943f00c8aae145ed8ca3c12... (^C to quit)
Session expired, reconnecting...
Ready! You are using Stripe API Version [2020-08-27]. Your webhook signing secret is whsec_9808d13a93dd943f00c8aae145ed8ca3c12c93... (^C to quit)

Environment

  • Docker

I have seen the following:

  • #721
  • #600
    However, they have both been closed for some time, and the issue is still occurring for us.