Things that you can check when getting an error message like this:
- Do you have a working internet connection?
- Can the webserver access that host specified in the error message (api.wpml.org) via http (you may want to check this with your web server administrator or host provider).