If you can open the wso in the browser, but you get this error, it might be a firewall blocking JSON content. Have seen this before, although only just once.