fix phonegap the connection to the server was unsuccessful