{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/orleans/issues/2356","repository_url":"https://api.github.com/repos/dotnet/orleans","labels_url":"https://api.github.com/repos/dotnet/orleans/issues/2356/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/orleans/issues/2356/comments","events_url":"https://api.github.com/repos/dotnet/orleans/issues/2356/events","html_url":"https://github.com/dotnet/orleans/issues/2356","id":185954934,"number":2356,"title":"Worker roles in a separate deployment cannot connect without secondary client","user":{"login":"jschieck","id":8180976,"avatar_url":"https://avatars.githubusercontent.com/u/8180976?v=3","gravatar_id":"","url":"https://api.github.com/users/jschieck","html_url":"https://github.com/jschieck","followers_url":"https://api.github.com/users/jschieck/followers","following_url":"https://api.github.com/users/jschieck/following{/other_user}","gists_url":"https://api.github.com/users/jschieck/gists{/gist_id}","starred_url":"https://api.github.com/users/jschieck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jschieck/subscriptions","organizations_url":"https://api.github.com/users/jschieck/orgs","repos_url":"https://api.github.com/users/jschieck/repos","events_url":"https://api.github.com/users/jschieck/events{/privacy}","received_events_url":"https://api.github.com/users/jschieck/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-28T15:39:30Z","updated_at":"2016-11-03T21:56:39Z","closed_at":"2016-11-03T01:03:00Z","body":"We've encountered an interesting issue when setting up a new silo on azure running the latest version. Here's the setup:\n\nVirtual Network (Classic)\n    Silo Worker Role (DeploymentA)\n    Client REST API Worker Role (DeploymentB)\n\nBoth use the AzureTable SystemStore and have matching DeploymentId's in their configuration. The setup works perfectly when in the emulator. When deployed however, the DeploymentB cannot connect to the Silo. It simply says \"Found Gateway\", tries to connect, cannot, then marks the silo as offline. The information in OrleansSiloInstances is correct. Now here's where it gets weird. We searched all over and double checked all the configurations and they were all correct. Then thought maybe it was an issue with the VN but that wasn't the case. We have another project using a slightly different setup so we tested it on that project and it worked fine. SO what finally ended up working for this project was the following.\n\nVirtual Network (Classic)\n    Silo Worker Role (DeploymentA)\n    Test Client Worker Role (DeploymentA) <--- Simply prints hello world from a grain\n    Client REST API Worker Role (DeploymentB)\n\nWhen we added this second client worker role to the same deployment as the Silo, it connected and printed Hello World just fine. What's weird is it also allowed the client in DeploymentB to connect and work as expected. We then removed the test worker role, and again the client in DeploymentB stopped working.\n\nIs there any known reason why having a client in the same deployment as the silo allows other clients to then connect? It doesn't seem like expected behavior. I'm wondering if we've stumbled across some kind of bug. It's also worth noting that there are no apparent errors or issues in the logs, and the silo and clients all startup without issue other than the connection.\n"},"comment":{"url":"https://api.github.com/repos/dotnet/orleans/issues/comments/258286310","html_url":"https://github.com/dotnet/orleans/issues/2356#issuecomment-258286310","issue_url":"https://api.github.com/repos/dotnet/orleans/issues/2356","id":258286310,"user":{"login":"sergeybykov","id":8248806,"avatar_url":"https://avatars.githubusercontent.com/u/8248806?v=3","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":"2016-11-03T21:56:39Z","updated_at":"2016-11-03T21:56:39Z","body":"@jschieck Thank for confirming!"}}
{"actor":{"display_login":"sergeybykov"}}