Search code examples
corswso2wso2-api-manager

WSO2 API Manager: Failed to fetch. Possible Reasons


I am using the WSO2 API manager via docker. And I want to transform soap API to rest. When I send a request in the devportal I get this error:

"Failed to fetch. Possible Reasons:

CORS

Network Failure

URL scheme must be "http" or "https" for CORS requests."

I enabled CORS, but the error has not gone. I should mention that I've sent the request from another system, not local. Please help me. Thank you.


Solution

  • Finally, I understood that the browser blocked my request based on mixed content. There are two ways: You should change HTTP to HTTPS or follow this page: Enabling mixed content in your browser and enable allow for "Insecure content" permission for this IP.