Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not receiving heartbeats with StreamingSubscriptionConnection #497

Open
dconnelly opened this issue Feb 15, 2016 · 0 comments
Open

Not receiving heartbeats with StreamingSubscriptionConnection #497

dconnelly opened this issue Feb 15, 2016 · 0 comments

Comments

@dconnelly
Copy link

The code seems to expect a heartbeat response every 45s but I'm not seeing any, at least while connected to Office365. This causes the underlying http connection to time out before lifetime minutes is reached, unless I've made sure that ExchangeService has a much larger timeout than would be applicable to other requests.

A simple fix would be to set the http request timeout to lifetime minutes just for the hanging GetStreamingEvents call.

dconnelly added a commit to slack-migrations/ews-java-api that referenced this issue Feb 15, 2016
…equest basis.

This allows the GetStreamingEvents call to specify a longer timeout so connection is not
dropped before lifetime minutes has been reached. Relying on heartbeats to keep the
connection alive does not seem to work for Office365.
dconnelly added a commit to slack-migrations/ews-java-api that referenced this issue Feb 15, 2016
…equest basis.

This allows the GetStreamingEvents call to specify a longer timeout so connection is not
dropped before lifetime minutes has been reached. Relying on heartbeats to keep the
connection alive does not seem to work for Office365.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant