The Orleans/ShoppingCart setup fails when try to deploy on Web App on Both Production and Staging slot
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- azure, csharp
- Lĩnh vực
- backend, cloud, distributed-systems
Hướng nghiên cứu
Bắt đầu với thiết lập Orleans/ShoppingCart và các template Bicep trong repository Azure-Samples được liên kết, sau đó so sánh cấu hình của các slot Production và Staging. Tái hiện lỗi Joining của Staging Silo và kiểm tra kết quả Kudu tcpping cho endpoint của Production Silo. Được xem là hoàn tất khi cả hai slot đều có thể được triển khai và Staging Silo tham gia thành công mà không gặp lỗi kết nối.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- C#
- Star
- 3.7k
- Fork
- 5.1k
- Merge trung bình
- 19 giờ 47 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của dotnet/samples
-
dotnet-target-version
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
-
dotnet-target-version
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
dotnet-target-version
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Race condition in orleans/ShoppingCart/Grains/InventoryGrain.cs#L48Có thể đã có người làm @TimonPasslick đã nhận 160 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
dotnet-target-version
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Tất cả issue của dotnet/samples
Issue tương tự
-
Audit by ear: boss warnings, other not-enough messages, ailments and barriers in a chapter 1 battleĐang mởenhancement needs-game ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Sour-Dev-Home/metaphor-accessibility#1273 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
joinrpg/joinrpg-net#6336 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
muxinc/mux-csharp#88 ·
-
In-car displays show 0 km/h and P while the AV drivesCó thể đã có người làm @bazilinskyy đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
bazilinskyy/coupled-sim#366 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 3 ngày