Skip to content

Events stop being forwarded after a while #1204

@alexbowers

Description

@alexbowers

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions