ionic-image-loader icon indicating copy to clipboard operation
ionic-image-loader copied to clipboard

Http failure response for (URL): 0 Unknown Error

Open azamalvi opened this issue 5 years ago • 3 comments
trafficstars

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 avatar Dec 01 '19 12:12 azamalvi

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

azamalvi avatar Jan 05 '20 12:01 azamalvi

Same problem here. Using AWS S3.

samuelfaj avatar Feb 07 '20 13:02 samuelfaj

Same problem here - with Google Cloud/Firebase

mhn-consulting avatar Feb 12 '20 16:02 mhn-consulting