Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve "Long lasting REST sessions get terminated" #334

Merged
merged 6 commits into from
Jan 5, 2025

Conversation

btschwertfeger
Copy link
Owner

@btschwertfeger btschwertfeger commented Dec 26, 2024

The Kraken API sometimes doesn't respond properly for sessions longer than 300 seconds. For this reason, REST client sessions will be recreated if they are too old.

I tested this for about a week now and did not encountered any errors related to old sessions, so this seems to fix the issue.

Additional changes:

  • Disable setting me as default reviewer for dependabot

@btschwertfeger btschwertfeger added the Bug Something isn't working label Dec 26, 2024
@btschwertfeger btschwertfeger added this to the Upcoming Release milestone Dec 26, 2024
@btschwertfeger btschwertfeger self-assigned this Dec 26, 2024
@btschwertfeger btschwertfeger linked an issue Dec 26, 2024 that may be closed by this pull request
kraken/base_api/__init__.py Dismissed Show dismissed Hide dismissed
kraken/base_api/__init__.py Dismissed Show dismissed Hide dismissed
@btschwertfeger btschwertfeger changed the title Add SessionManager for renewing client sessions Resolve "Long lasting REST sessions get terminated" Dec 28, 2024
@btschwertfeger btschwertfeger changed the title Resolve "Long lasting REST sessions get terminated" Draft: Resolve "Long lasting REST sessions get terminated" Dec 28, 2024
@btschwertfeger btschwertfeger marked this pull request as ready for review January 5, 2025 17:47
@btschwertfeger btschwertfeger enabled auto-merge (squash) January 5, 2025 17:47
@btschwertfeger btschwertfeger changed the title Draft: Resolve "Long lasting REST sessions get terminated" Resolve "Long lasting REST sessions get terminated" Jan 5, 2025
@btschwertfeger btschwertfeger enabled auto-merge (squash) January 5, 2025 18:06
@btschwertfeger btschwertfeger merged commit 2b97c6b into master Jan 5, 2025
27 of 28 checks passed
@btschwertfeger btschwertfeger deleted the create-new-session-after-some-time branch January 5, 2025 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Long lasting REST sessions get terminated
1 participant