{"action":"opened","issue":{"url":"https://api.github.com/repos/OfficeDev/ews-java-api/issues/558","repository_url":"https://api.github.com/repos/OfficeDev/ews-java-api","labels_url":"https://api.github.com/repos/OfficeDev/ews-java-api/issues/558/labels{/name}","comments_url":"https://api.github.com/repos/OfficeDev/ews-java-api/issues/558/comments","events_url":"https://api.github.com/repos/OfficeDev/ews-java-api/issues/558/events","html_url":"https://github.com/OfficeDev/ews-java-api/issues/558","id":176527404,"number":558,"title":"Retrying request on unstable server","user":{"login":"SamCB","id":9508812,"avatar_url":"https://avatars.githubusercontent.com/u/9508812?v=3","gravatar_id":"","url":"https://api.github.com/users/SamCB","html_url":"https://github.com/SamCB","followers_url":"https://api.github.com/users/SamCB/followers","following_url":"https://api.github.com/users/SamCB/following{/other_user}","gists_url":"https://api.github.com/users/SamCB/gists{/gist_id}","starred_url":"https://api.github.com/users/SamCB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamCB/subscriptions","organizations_url":"https://api.github.com/users/SamCB/orgs","repos_url":"https://api.github.com/users/SamCB/repos","events_url":"https://api.github.com/users/SamCB/events{/privacy}","received_events_url":"https://api.github.com/users/SamCB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-13T01:43:05Z","updated_at":"2016-09-13T01:43:05Z","closed_at":null,"body":"I'm currently running a very large selection of requests for items and folders, and every time I run it, the server drops out and I get an error:\r\n\r\n```\r\nmicrosoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed. The request failed. <server>:443 failed to respond\r\n\tat microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:74)\r\n\tat microsoft.exchange.webservices.data.core.request.MultiResponseServiceRequest.execute(MultiResponseServiceRequest.java:158)\r\n\tat microsoft.exchange.webservices.data.core.ExchangeService.internalFindFolders(ExchangeService.java:377)\r\n\tat microsoft.exchange.webservices.data.core.ExchangeService.findFolders(ExchangeService.java:425)\r\n\tat microsoft.exchange.webservices.data.core.service.folder.Folder.findFolders(Folder.java:533)\r\n\tat sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:237)\r\n\tat py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)\r\n\tat py4j.Gateway.invoke(Gateway.java:280)\r\n\tat py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\r\n\tat py4j.commands.CallCommand.execute(CallCommand.java:79)\r\n\tat py4j.GatewayConnection.run(GatewayConnection.java:214)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: microsoft.exchange.webservices.data.core.exception.service.remote.ServiceRequestException: The request failed.<server>:443 failed to respond\r\n\tat microsoft.exchange.webservices.data.core.request.ServiceRequestBase.getEwsHttpWebResponse(ServiceRequestBase.java:729)\r\n\tat microsoft.exchange.webservices.data.core.request.ServiceRequestBase.validateAndEmitRequest(ServiceRequestBase.java:639)\r\n\tat microsoft.exchange.webservices.data.core.request.SimpleServiceRequestBase.internalExecute(SimpleServiceRequestBase.java:62)\r\n\t... 14 more\r\nCaused by: org.apache.http.NoHttpResponseException:<server>:443 failed to respond\r\n\tat org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143)\r\n\tat org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)\r\n\tat org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)\r\n\tat org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)\r\n\tat org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)\r\n\tat org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)\r\n\tat org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)\r\n\tat org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)\r\n\tat org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)\r\n\tat org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)\r\n\tat org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)\r\n\tat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)\r\n\tat microsoft.exchange.webservices.data.core.request.HttpClientWebRequest.executeRequest(HttpClientWebRequest.java:292)\r\n\tat microsoft.exchange.webservices.data.core.request.ServiceRequestBase.getEwsHttpWebResponse(ServiceRequestBase.java:720)\r\n\t... 16 more\r\n```\r\n\r\nFrom what I can tell, it's due to the server being unstable, however it completely stops everything. Is there a way to force an attempt to retry without wrapping every call in a `try... catch`? Something to do with a `ExchangeService` setting?"}}
{"actor":{"display_login":"SamCB"}}