After seeing post: https://central.owncloud.org/t/this-server-has-no-working-internet-connection/10921
I understood that my Owncloud app tried to connect through a proxy, which was set to localhost.
After removing the proxy field in my config.php the error disappeared.