{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/orleans/issues/3721","repository_url":"https://api.github.com/repos/dotnet/orleans","labels_url":"https://api.github.com/repos/dotnet/orleans/issues/3721/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/orleans/issues/3721/comments","events_url":"https://api.github.com/repos/dotnet/orleans/issues/3721/events","html_url":"https://github.com/dotnet/orleans/pull/3721","id":277565179,"number":3721,"title":"Add MaxSocketAge to OrleansConfiguration.xsd","user":{"login":"lhotari","id":66864,"avatar_url":"https://avatars1.githubusercontent.com/u/66864?v=4","gravatar_id":"","url":"https://api.github.com/users/lhotari","html_url":"https://github.com/lhotari","followers_url":"https://api.github.com/users/lhotari/followers","following_url":"https://api.github.com/users/lhotari/following{/other_user}","gists_url":"https://api.github.com/users/lhotari/gists{/gist_id}","starred_url":"https://api.github.com/users/lhotari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhotari/subscriptions","organizations_url":"https://api.github.com/users/lhotari/orgs","repos_url":"https://api.github.com/users/lhotari/repos","events_url":"https://api.github.com/users/lhotari/events{/privacy}","received_events_url":"https://api.github.com/users/lhotari/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-28T22:44:25Z","updated_at":"2017-11-28T23:27:23Z","closed_at":"2017-11-28T23:27:09Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/dotnet/orleans/pulls/3721","html_url":"https://github.com/dotnet/orleans/pull/3721","diff_url":"https://github.com/dotnet/orleans/pull/3721.diff","patch_url":"https://github.com/dotnet/orleans/pull/3721.patch"},"body":"- [It's possible to specify `MaxSocketAge`](https://github.com/dotnet/orleans/blob/2c8e524a23d0f97fdb4476cab4716f70bac04270/src/Orleans.Core/Configuration/MessagingConfiguration.cs#L222-L226) in the `Messaging` element of `OrleansConfiguration.xml`. However this was missing from the xsd file. This PR just adds that element and [it's documentation](https://github.com/dotnet/orleans/blob/2c8e524a23d0f97fdb4476cab4716f70bac04270/src/Orleans.Core/Configuration/MessagingConfiguration.cs#L33-L36) to the xsd file.\r\n\r\n- Using something like `<Messaging MaxSocketAge=\"230s\"/>` in `Globals` in `OrleansConfiguration.xml` might be a way to workaround a problem of a router or firewall dropping an Orleans TCP connection without notification (no RST is sent and the connection just hangs around, Azure routers/firewalls are reported to behave in this way). There was a related issue #1545 which was never resolved. Perhaps enabling TCP keepalive for the sockets would be a better way to resolve #1545 than using the `MaxSocketAge` workaround?"},"comment":{"url":"https://api.github.com/repos/dotnet/orleans/issues/comments/347699126","html_url":"https://github.com/dotnet/orleans/pull/3721#issuecomment-347699126","issue_url":"https://api.github.com/repos/dotnet/orleans/issues/3721","id":347699126,"user":{"login":"sergeybykov","id":8248806,"avatar_url":"https://avatars1.githubusercontent.com/u/8248806?v=4","gravatar_id":"","url":"https://api.github.com/users/sergeybykov","html_url":"https://github.com/sergeybykov","followers_url":"https://api.github.com/users/sergeybykov/followers","following_url":"https://api.github.com/users/sergeybykov/following{/other_user}","gists_url":"https://api.github.com/users/sergeybykov/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeybykov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeybykov/subscriptions","organizations_url":"https://api.github.com/users/sergeybykov/orgs","repos_url":"https://api.github.com/users/sergeybykov/repos","events_url":"https://api.github.com/users/sergeybykov/events{/privacy}","received_events_url":"https://api.github.com/users/sergeybykov/received_events","type":"User","site_admin":false},"created_at":"2017-11-28T23:27:23Z","updated_at":"2017-11-28T23:27:23Z","author_association":"MEMBER","body":"Thank you, @lhotari!"}}
{"actor":{"display_login":"sergeybykov"}}