Show error message when server is not reachable

Change-Id: Ic8bf615e8daeaa2e51a30222bed6cdc51b07db3e