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

Getting socket error after peer closed event, for a request made after 5 mins of socket inactivity. #1018

Open
CodeKunal opened this issue Apr 24, 2024 · 0 comments
Labels

Comments

@CodeKunal
Copy link

CodeKunal commented Apr 24, 2024

Describe the bug

When you make a socket request after about 5 minutes of socket inactivity then after about 30 seconds, you get the callback for peer closed, and soon after we get an error of operation timed out. Then we get a callback for event cancelled.

Steps to Reproduce

Make a socket Request.
Wait for about 5 minutes
Make another socket request and observe

Expected behavior

We should not be waiting for about 30 seconds for socket response, and after waiting we get peer closed and an error event.

Environment:

  • OS/Version: [e.g. iOS/13.3] iOS 17.4
  • Starscream Version [e.g. 4.0.4] 4.08
  • Xcode version [e.g. 11.5] 15.3

Additional context

Add any other context about the problem here.

@CodeKunal CodeKunal added the bug label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant