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

Http failure response for (URL): 0 Unknown Error #274

Open
azamalvi opened this issue Dec 1, 2019 · 3 comments
Open

Http failure response for (URL): 0 Unknown Error #274

azamalvi opened this issue Dec 1, 2019 · 3 comments

Comments

@azamalvi
Copy link

azamalvi commented Dec 1, 2019

I am using this in my ionic 4 app. I have setup CORS on my back-end (PHP) that's why all API's are running fine. Only issue is with the image src. It throws and error

[console.log]: "error" {
   "headers": {
     "normalizedNames": {},
     "lazyUpdate": null,
     "headers": {}
   },
   "status": 0,
]   "statusText": "Unknown Error",
   "url": "https://xyz.com/images/1572511537.jpg",
   "ok": false,
   "name": "HttpErrorResponse",
   "message": "Http failure response for https://xyz.com/images/1572511537.jpg: 0 Unknown Error",
   "error": {
     "isTrusted": true
   }

It is working fine on local. Not working when run on Android mobile with liver server.
I do not want to remove this as this is good for cache image. Anyone can help me.
Thanks.

@azamalvi
Copy link
Author

azamalvi commented Jan 5, 2020

should I delete this if there is no solution for this issue?

@samuelfaj
Copy link

Same problem here. Using AWS S3.

@mhn-consulting
Copy link

Same problem here - with Google Cloud/Firebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants