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

[Bug]: Capacitor XHR request been canceled ( on Android 6.0 device ) #7815

Closed
1 of 3 tasks
Drunkenpilot opened this issue Dec 20, 2024 · 1 comment
Closed
1 of 3 tasks
Labels

Comments

@Drunkenpilot
Copy link

Capacitor Version

💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 6.2.0
@capacitor/core: 6.2.0
@capacitor/android: 6.2.0
@capacitor/ios: 6.2.0

Installed Dependencies:

@capacitor/cli: 6.1.1
@capacitor/core: 6.1.1
@capacitor/android: 6.1.1
@capacitor/ios: 6.1.1

Other API Details

npm 10.9.0
node v20.11.1

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

Issue Description:
When using Capacitor 6.0 with Angular 18 on Android 6.0 devices, some XHR requests are getting canceled.

Observations:
Directly accessing the service using the IP address works without issues.
Tested endpoints:
https://jsonplaceholder.typicode.com/todos/1 - No issue
https://api.restful-api.dev/objects - No issue
https://catfact.ninja/fact - No issue
https://api.agify.io/?name=meelad - Request gets canceled
https://img.clerk.com/static/apple.svg?width=160 - Request gets canceled

3551734697430_ pic

Additional Notes:
The issue does not occur on Android 7+ devices.

Expected Behavior

Would be possible to work with Android 6

Project Reproduction

--

Additional Information

No response

@Drunkenpilot Drunkenpilot changed the title [Bug]: [Bug]: Capacitor XHR request been canceled ( on Android 6.0 device ) Dec 20, 2024
@Drunkenpilot
Copy link
Author

The problem may be related to the end of support for Android 6 by Let's Encrypt

https://forum.ionicframework.com/t/xhr-request-been-canceled-on-android-6-0-device/245719/2?u=betalife

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