fix server error exception handling
integration tests for host fail