-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Request explicitly cancelled #3795
Comments
nserror-domain | Request explicitly cancelled. |
Without any of your code I can't be sure, but most likely you're not properly retaining the cancellation token from your Combine stream, and it's being deinited, leading to the cancellation. In fact, some number of cancellations are expected when you scope requests to the lifetimes of things like view controllers or SwiftUI views. Feel free to investigate further and respond with additional details if you find this cancellation is happening without the stream being cancelled or another |
Also, I got Domain: URL is not valid error |
In that case you likely need to properly escape your |
I believe the issue is that the request was not explicitly cancelled it something else.What did you do?
What did you expect to happen?All the request should be sent successfully What happened instead?All the expected work is fine but we have five users with the below issue
Users devicesModel: iPad 7th Generation (Cellular) Model: iPad 9th generation (Cellular) Model: iPad 9th generation (Cellular) iPad 9th generation (Cellular) Alamofire Environment**Alamofire Version:5.8.0 Demo Projectℹ Please link to or upload a project we can download that reproduces the issue. |
What did you do?
Some of the user devices cant call the api "get request" because "Request explicitly cancelled." , I can't reproduce the bug. I am using combine
And the stack trace in crashlytics show the below
ℹ Please replace this with what you did.
What did you expect to happen?
ℹ Please replace this with what you expected to happen.
What happened instead?
ℹ Please replace this with of what happened instead.
Alamofire Environment
**Alamofire Version:5.8.0
Dependency Manager:
**Xcode Version:15
Swift Version:
**Platform(s) Running Alamofire: iPadOS 16.7.2
macOS Version Running Xcode:
Demo Project
ℹ Please link to or upload a project we can download that reproduces the issue.
The text was updated successfully, but these errors were encountered: