The Orleans/ShoppingCart setup fails when try to deploy on Web App on Both Production and Staging slot
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- azure, csharp
调研方向
先从链接的 Azure-Samples 存储库中的 Orleans/ShoppingCart 设置和 Bicep 模板开始,然后比较 Production 和 Staging slot 的配置。重现 Staging Silo 的 Joining 失败,并检查针对 Production Silo endpoint 的 Kudu tcpping 结果。当两个 slot 都可以部署且 Staging Silo 成功加入而不出现连接错误时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Issue descriptions
Using the project Orleans/ShoppingCart, I was able to build and deploy successfully on Azure Web App. Also, to build a new Environment on Azure I used the bicep templates mentioned here. Everything worked fine till this point.
Then I created a Staging Slot copying the production slot configuration and deployed the same ShoppingCart build. The Staging Slot Silo is stuck in the Joining state giving the below error.
Exception while sending message: Orleans.Runtime.Messaging.ConnectionFailedException: Unable to connect to endpoint S172.17.0.254:20106:31922292. See InnerException
---> Orleans.Networking.Shared.SocketConnectionException: Unable to connect to 172.17.0.254:20106. Error: AccessDenied
at Orleans.Networking.Shared.SocketConnectionFactory.ConnectAsync(EndPoint endpoint, CancellationToken cancellationToken) in /_/src/Orleans.Core/Networking/Shared/SocketConnectionFactory.cs:line 54
at Orleans.Runtime.Messaging.ConnectionFactory.ConnectAsync(SiloAddress address, CancellationToken cancellationToken) in /_/src/Orleans.Core/Networking/ConnectionFactory.cs:line 61
at Orleans.Runtime.Messaging.ConnectionManager.ConnectAsync(SiloAddress address, ConnectionEntry entry) in /_/src/Orleans.Core/Networking/ConnectionManager.cs:line 193
--- End of inner exception stack trace ---
at Orleans.Runtime.Messaging.ConnectionManager.ConnectAsync(SiloAddress address, ConnectionEntry entry) in /_/src/Orleans.Core/Networking/ConnectionManager.cs:line 221
at Orleans.Runtime.Messaging.ConnectionManager.GetConnectionAsync(SiloAddress endpoint) in /_/src/Orleans.Core/Networking/ConnectionManager.cs:line 106
at Orleans.Runtime.Messaging.MessageCenter.<SendMessage>g__SendAsync|30_0(MessageCenter messageCenter, ValueTas`1 connectionTask, Message msg) in /_/src/Orleans.Runtime/Messaging/MessageCenter.cs:line 224
If I open Kudu on Staging Slot, and try to ping the Production Silo address, I get the following exception:
PS C:\home> tcpping 172.17.0.254:20106
tcpping 172.17.0.254:20106
Connection attempt failed: An attempt was made to access a socket in a way forbidden by its access permissions 172.17.0.254:20106
Anyone got any ideas as to what could be wrong?
- 主要语言
- C#
- 星标
- 3.7k
- 派生
- 5.1k
- 平均合并
- 19 小时 47 分钟
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dotnet/samples 的其他 Issue
-
dotnet-target-version
难度 2/5 1-3 小时 新手友好度 77/100
-
dotnet-target-version
难度 2/5 1-3 小时 新手友好度 76/100
-
dotnet-target-version
难度 2/5 1-3 小时 新手友好度 78/100
-
Race condition in orleans/ShoppingCart/Grains/InventoryGrain.cs#L48可能已有人在做 @TimonPasslick 于 160 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
-
dotnet-target-version
难度 2/5 1-3 小时 新手友好度 72/100
相似的 Issue
-
Audit by ear: boss warnings, other not-enough messages, ailments and barriers in a chapter 1 battle未关闭enhancement needs-game ready-for-agent
难度 2/5 1-3 小时 新手友好度 72/100
Sour-Dev-Home/metaphor-accessibility#1273 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
joinrpg/joinrpg-net#6336 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
muxinc/mux-csharp#88 ·
-
In-car displays show 0 km/h and P while the AV drives可能已有人在做 @bazilinskyy 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 66/100
bazilinskyy/coupled-sim#366 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 3 天内回复