dotnet-architecture / eshopondapr Goto Github PK
View Code? Open in Web Editor NEWA sample .NET distributed application based on eShopOnContainers, powered by Dapr.
License: MIT License
A sample .NET distributed application based on eShopOnContainers, powered by Dapr.
License: MIT License
"Actors" applied in the "services/api" is pretty cool, any plan on the "services/domain" ?
The notification(signalr) use Http LongPolling, not WebSocket Why?
example: http://192.168.1.19:5202/hub/notificationhub?id=zYYXug-Z7JyWCWzL0cJFFA
ws://192.168.1.19:5202/hub/notificationhub?id=zYYXug-Z7JyWCWzL0cJFFA
Hello there,
I'm using vscode here.
When I first run docker-compose up
there was an issue with the build which seems to disapeared somehow at the second composition....
But when I click login i came into this:
FYI: all service are running good:
I'm at a loss here...
ps: I obviously didn't edit anything, and I am just running it.
I was looking at this sample project to try and understand how the aggregator pulls data from multiple services to form responses to the client API, but when looking here at the code for Drafting up an order from a basket... it seems to loop?
The controller asks the service, and the service.... calls the controller again?
Add deployments files to run eShop on the new Azure Container Apps service.
hi, use win10 docker desktop run master branche.
i update this cmmand, add -log-as-json ,but http://localhost:5411/zipkin no records, Everything else is fine. What else needs to be configured , thx.
command: ["./daprd",
"-app-id", "payment-api",
"-app-port", "80",
"-log-level", "debug",
"-log-as-json",
"-components-path", "/components",
"-config", "/configuration/eshop-config.yaml"
]
when i run docker-compose or f5 in visual studio
1>------ Build started: Project: docker-compose, Configuration: Debug Any CPU ------
1>docker-compose -f "H:\study\eShopOnDapr\docker-compose.yml" -f "H:\study\eShopOnDapr\docker-compose.override.yml" -p dockercompose16962333610270357271 --no-ansi config
1>�[31moption '--no-ansi' is DEPRECATED ! Please use '--ansi' instead.
1>�[0mCan't separate key from value
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Sdks\Microsoft.Docker.Sdk\build\Microsoft.VisualStudio.Docker.Compose.targets(209,5): error DT1001: �[0mCan't separate key from value
1>Done building project "docker-compose.dcproj" -- FAILED.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
Blazor server is more reflected in the combination with Dapr, and blazor wasm is a better alternative to js' dotnet web project ,Do you plan to add blackzor as a web ui?
/src/Services/Ordering/Ordering.API/Infrastructure/OrderingContextSeed.cs:line 74
requiredHeaders on like 167 should also be converted to lowercase before contains check.
[14:33:35 ERR] EXCEPTION ERROR: does not contain required header 'CardType'
System.Exception: does not contain required header 'CardType'
at Microsoft.eShopOnContainers.Services.Ordering.API.Infrastructure.OrderingContextSeed.GetHeaders(String[] requiredHeaders, String csvfile) in /src/Services/Ordering/Ordering.API/Infrastructure/OrderingContextSeed.cs:line 170
at Microsoft.eShopOnContainers.Services.Ordering.API.Infrastructure.OrderingContextSeed.GetCardTypesFromFile(String contentRootPath, ILogger`1 log) in /src/Services/Ordering/Ordering.API/Infrastructure/OrderingContextSeed.cs:line 74
[14:33:36 ERR] EXCEPTION ERROR: does not contain required header 'OrderStatus'
System.Exception: does not contain required header 'OrderStatus'
at Microsoft.eShopOnContainers.Services.Ordering.API.Infrastructure.OrderingContextSeed.GetHeaders(String[] requiredHeaders, String csvfile) in /src/Services/Ordering/Ordering.API/Infrastructure/OrderingContextSeed.cs:line 170
at Microsoft.eShopOnContainers.Services.Ordering.API.Infrastructure.OrderingContextSeed.GetOrderStatusFromFile(String contentRootPath, ILogger`1 log) in /src/Services/Ordering/Ordering.API/Infrastructure/OrderingContextSeed.cs:line 118
It will be super easy for developers using project tye. Add Tye.yaml
Remove cast to dynamic
from DaprEventBus PublishAsync.
According to @rynowak here, you don't need to use dynamic
for polymorphic serialization.
run the [helm install myeshop .] and all microservices are healthy, but i can't navigate to http://localhost:30000 to view the eShopOnDapr UI.
why ?
Hello
I am receiving following error both from CLI and Visual Studio F5 run. Would you be able to direct me please?
My setup is:
Windows 10 Pro Version 1607
Microsoft Visual Studio Enterprise 2019 Preview Version 16.10.0 Preview 1.0
Docker Desktop Version 2.0.0.3 (31259) Build: 8858db3 (Linux Containers)
Regard
Özcan Öz
Other than creating an Ingress resource (which is not part of the repo), are there simple steps to expose the blazorclient to the internet (just like in eshopOnContainers)? I see that all services are nodeports and need some plumbing to expose to the internet. Same goes to web status and auth.
while running the application with docker-compose up, it's not working. I tried with dapr version defined in the docker-compose file and also with the latest dapr version. every time following 3 containers are not spinning up with the following error.
Environment: Windows 11, Docker Desktop 4.2
Containers
Error:
`Unhandled exception. Dapr.DaprException: Bulk secret operation failed: the Dapr endpoint indicated a failure. See InnerException for details.
---> Grpc.Core.RpcException: Status(StatusCode="Internal", Detail="Error starting gRPC call. HttpRequestException: Connection refused (127.0.0.1:50001) SocketException: Connection refused", DebugException="System.Net.Http.HttpRequestException: Connection refused (127.0.0.1:50001)
---> System.Net.Sockets.SocketException (111): Connection refused
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp2ConnectionAsync(HttpRequestMessage request)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttp2ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Grpc.Net.Client.Internal.GrpcCall2.RunCall(HttpRequestMessage request, Nullable
1 timeout)")
at Dapr.Client.DaprClientGrpc.GetBulkSecretAsync(String storeName, IReadOnlyDictionary`2 metadata, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at Dapr.Client.DaprClientGrpc.GetBulkSecretAsync(String storeName, IReadOnlyDictionary`2 metadata, CancellationToken cancellationToken)
at Dapr.Extensions.Configuration.DaprSecretStore.DaprSecretStoreConfigurationProvider.LoadAsync()
at Dapr.Extensions.Configuration.DaprSecretStore.DaprSecretStoreConfigurationProvider.Load()
at Microsoft.Extensions.Configuration.ConfigurationManager.AddSource(IConfigurationSource source)
at Microsoft.Extensions.Configuration.ConfigurationManager.Microsoft.Extensions.Configuration.IConfigurationBuilder.Add(IConfigurationSource source)
at Dapr.Extensions.Configuration.DaprSecretStoreConfigurationExtensions.AddDaprSecretStore(IConfigurationBuilder configurationBuilder, String store, DaprClient client, IReadOnlyDictionary`2 metadata)
at Microsoft.eShopOnDapr.Services.Catalog.API.ProgramExtensions.AddCustomConfiguration(WebApplicationBuilder builder) in /src/src/Services/Catalog/Catalog.API/ProgramExtensions.cs:line 12
at Program.
$(String[] args) in /src/src/Services/Catalog/Catalog.API/Program.cs:line 4`I know the initial goal of the project was to port eShopOnContainers to add Dapr features, just wondering if there has been any discussion with replacing Envoy with the YARP project now that it has gone RC1?
helm install myeshop .
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "Component" in version "dapr.io/v1alpha1", unable to recognize "": no matches for kind "Configuration" in version "dapr.io/v1alpha1"]
I am receiving the following error in "WebSPA" (http://localhost:5104/catalog) when visual studio F5 debugging is used for running the application. Docker compose project is set as start up project
Any idea?
This was temporarily disabled because of issues in the SDK. Issues have been resolved now.
Azure container apps became general availability yesterday:
https://techcommunity.microsoft.com/t5/apps-on-azure-blog/azure-container-apps-general-availability/ba-p/3416885
Error response from daemon: Ports are not available: listen tcp 0.0.0.0:50001: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
This is affecting the following containers:
darprio/daprd:1.4.0 webshoppingagg-dapr-1
darprio/daprd:1.4.0 eshopondapr-catalo-api-1
eshopdapr/basket.api:latest eshopondapr-catalo-api-1
eshopondapr/webshoppingagg:latest eshopondapr-webshopping-1
So close to getting a working sample.
any ideas ?
When running from locally with "docker-compose up", it shows "An unhandled error has occurred. Reload" after using demo user alice/bob to login.
crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: net_http_message_not_success_statuscode, 401, Unauthorized
System.Net.Http.HttpRequestException: net_http_message_not_success_statuscode, 401, Unauthorized
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.Json.HttpClientJsonExtensions.d__13`1[[Microsoft.eShopOnDapr.BlazorClient.Basket.BasketData, BlazorClient, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
at Microsoft.eShopOnDapr.BlazorClient.Basket.BasketClient.GetItemsAsync()
at Microsoft.eShopOnDapr.BlazorClient.Basket.UserBasket.LoadAsync()
at Microsoft.eShopOnDapr.BlazorClient.Shared.BasketLoader.OnParametersSetAsync()
at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task , ComponentState )
failed to solve: failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to do request: Head "https://mcr.microsoft.com/v2/dotnet/aspnet/manifests/6.0-bullseye-slim": Service Unavailable
#17 [eshopdapr/webshoppingagg:dev internal] load metadata for mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim
#17 ERROR: failed to do request: Head "https://mcr.microsoft.com/v2/dotnet/aspnet/manifests/6.0-bullseye-slim": Service Unavailable
RabbitMQ component fails to subscribe.
Is there any documentation on running eShopOnDapr in Azure on AKS.
I am not that familar with the app. so these and other environment variables are unknown ?
ESHOP_AZURE_STORAGE_CATALOG_NAME:
ESHOP_AZURE_STORAGE_CATALOG_KEY:
INSTRUMENTATION_KEY:
ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP:
I also couldn't find any docs on these ones
ESHOP_EXTERNAL_DNS_NAME_OR_IP: 'localhost'
ESHOP_STORAGE_CATALOG_URL: 'http://localhost:5202/c/api/v1/catalog/items/[0]/pic/'
ESHOP_STORAGE_MARKETING_URL: 'http://localhost:5110/api/v1/campaigns/[0]/pic/'
I have read the DAPR for NET Developers pdf and also did not see any references.
I can make some assumptions about what they may represent (or search the code), however I would be more comfortable reading a doc.
Navigating to http://localhost:5104/ gives the following error: InvalidOperationException: The SPA default page middleware could not return the default page '/index.html' because it was not found, and no other middleware handled the request.
However, http://localhost:5107/hc-ui works just fine(see pic)
A diagram docs/media/eshop-on-dapr-buildingblocks.png
has a typo in the legend: Service invokation probably was meant to be 5 (instead of 4).
Noticed that on https://www.hanselman.com/blog/free-ebook-how-to-use-dapr-for-net-developers which linked to your diagram.
unexpected character "»" in variable name near "\ufeff# Compose supports declaring default environment variables in an environment file named .env placed in the folder docker-compose command is executed from (current working directory).\n# Compose expects each line in an env file to be in VAR=VAL format. Lines beginning with # (i.e. comments) are ignored, as are blank lines.\n# Note: Values present in the environment at runtime will always override those defined inside the .env file. Similarly, values passed via command-line arguments take precedence as well.\n\n# The IP below should be swapped to your real IP or DNS name, like 192.168.88.248, etc. if testing from remote browsers or mobile devices\n\nESHOP_EXTERNAL_DNS_NAME_OR_IP=localhost"
[06:45:38 ERR] A default subscription to topic UserCheckoutAcceptedIntegrationEvent on pubsub pubsub already exists.
[06:45:38 ERR] A default subscription to topic OrderStockConfirmedIntegrationEvent on pubsub pubsub already exists.
[06:45:38 ERR] A default subscription to topic OrderStockRejectedIntegrationEvent on pubsub pubsub already exists.
[06:45:38 ERR] A default subscription to topic OrderPaymentSucceededIntegrationEvent on pubsub pubsub already exists.
[06:45:38 ERR] A default subscription to topic OrderPaymentFailedIntegrationEvent on pubsub pubsub already exists.
[06:45:38 ERR] A default subscription to topic OrderStatusChangedToSubmittedIntegrationEvent on pubsub pubsub already exists.
[06:45:38 ERR] A default subscription to topic OrderStatusChangedToAwaitingStockValidationIntegrationEvent on pubsub pubsub already exists.
[06:45:38 ERR] A default subscription to topic OrderStatusChangedToValidatedIntegrationEvent on pubsub pubsub already exists.
[06:45:38 ERR] A default subscription to topic OrderStatusChangedToPaidIntegrationEvent on pubsub pubsub already exists.
[06:45:38 ERR] A default subscription to topic OrderStatusChangedToShippedIntegrationEvent on pubsub pubsub already exists.
Hey,
I have been trying to setup this project on Azure Kubernetes cluster and there are three pods which are stuck in CrashLoopBackOff
error, when I check the logs for the particular error in the container under the stuck pod I get error regarding connection string.
Command I used to setup the project after setting up dapr
helm install --set externalDnsNameOrIP=x.x.x.x myeshop .
Output for the kubectl get all -A
command
NAMESPACE NAME READY STATUS RESTARTS AGE
dapr-system pod/dapr-dashboard-57b4db56fc-bkjbc 1/1 Running 0 10d
dapr-system pod/dapr-operator-5b4b68b5c5-4gztf 1/1 Running 7 10d
dapr-system pod/dapr-placement-server-0 1/1 Running 0 10d
dapr-system pod/dapr-sentry-c6b746cdf-4xpjm 1/1 Running 0 10d
dapr-system pod/dapr-sidecar-injector-6f749dbf87-vl4db 1/1 Running 0 10d
kube-system pod/addon-http-application-routing-default-http-backend-6f6f7clwpsb 1/1 Running 0 10d
kube-system pod/addon-http-application-routing-external-dns-867f765884-9kcmj 1/1 Running 0 10d
kube-system pod/addon-http-application-routing-nginx-ingress-controller-84vwk5q 1/1 Running 0 10d
kube-system pod/azure-ip-masq-agent-4hp7l 1/1 Running 0 10d
kube-system pod/azure-ip-masq-agent-g8dtf 1/1 Running 0 10d
kube-system pod/coredns-845757d86-gx7cn 1/1 Running 0 10d
kube-system pod/coredns-845757d86-q22m2 1/1 Running 0 10d
kube-system pod/coredns-autoscaler-5f85dc856b-6cf6t 1/1 Running 3 10d
kube-system pod/csi-azuredisk-node-m4wnp 3/3 Running 0 10d
kube-system pod/csi-azuredisk-node-x69hj 3/3 Running 0 10d
kube-system pod/csi-azurefile-node-fw7xj 3/3 Running 0 10d
kube-system pod/csi-azurefile-node-vtsxk 3/3 Running 0 10d
kube-system pod/ingress-appgw-deployment-6b8d48f9b9-nc2jw 1/1 Running 0 55m
kube-system pod/kube-proxy-58xv2 1/1 Running 0 10d
kube-system pod/kube-proxy-s24vx 1/1 Running 0 10d
kube-system pod/metrics-server-6bc97b47f7-g8j7t 1/1 Running 3 10d
kube-system pod/tunnelfront-9ff8f6578-tmb5m 1/1 Running 0 10d
myeshop pod/apigateway-7f79f76847-m54r9 2/2 Running 0 50m
myeshop pod/basket-fb6679f64-892nt 2/2 Running 0 50m
myeshop pod/blazorclient-6d5889747d-8xwlm 1/1 Running 0 50m
myeshop pod/catalog-6868cf4d84-mxjsx 0/2 CrashLoopBackOff 26 32m
myeshop pod/identity-7fd8dbf6d4-wdqr9 0/2 CrashLoopBackOff 35 50m
myeshop pod/mailserver-d779b596c-xzl5k 1/1 Running 0 50m
myeshop pod/ordering-d5848d6c8-hxndh 0/2 CrashLoopBackOff 35 50m
myeshop pod/payment-568fbfbff4-xt9pm 2/2 Running 1 50m
myeshop pod/rabbitmq-fdff67d5b-4z6rz 1/1 Running 0 50m
myeshop pod/redis-b9cd89f44-5fftp 1/1 Running 0 50m
myeshop pod/seq-84c8cc6fd5-sq8p5 1/1 Running 0 50m
myeshop pod/sqldata-57cdcf76dd-h76wk 1/1 Running 0 50m
myeshop pod/webshoppingagg-6d46c65495-q9g4r 1/2 Running 0 50m
myeshop pod/webstatus-5b795846df-l7cgg 1/1 Running 0 50m
myeshop pod/zipkin-75df458ff7-5w6z7 1/1 Running 0 50m
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
dapr-system service/dapr-api ClusterIP 10.0.241.142 <none> 80/TCP 10d
dapr-system service/dapr-dashboard ClusterIP 10.0.203.70 <none> 8080/TCP 10d
dapr-system service/dapr-placement-server ClusterIP None <none> 50005/TCP,8201/TCP 10d
dapr-system service/dapr-sentry ClusterIP 10.0.182.141 <none> 80/TCP 10d
dapr-system service/dapr-sidecar-injector ClusterIP 10.0.100.146 <none> 443/TCP 10d
dapr-system service/dapr-webhook ClusterIP 10.0.167.137 <none> 443/TCP 10d
default service/kubernetes ClusterIP 10.0.0.1 <none> 443/TCP 10d
kube-system service/addon-http-application-routing-default-http-backend ClusterIP 10.0.106.200 <none> 80/TCP 10d
kube-system service/addon-http-application-routing-nginx-ingress LoadBalancer 10.0.219.243 20.x.x.x 80:32506/TCP,443:31167/TCP 10d
kube-system service/kube-dns ClusterIP 10.0.0.10 <none> 53/UDP,53/TCP 10d
kube-system service/metrics-server ClusterIP 10.0.61.176 <none> 443/TCP 10d
myeshop service/apigateway NodePort 10.0.111.171 <none> 80:30050/TCP,8001:30051/TCP,3500:30052/TCP,50001:30053/TCP 50m
myeshop service/apigateway-dapr ClusterIP None <none> 80/TCP,50001/TCP,50002/TCP,9090/TCP 50m
myeshop service/basket-api NodePort 10.0.101.151 <none> 80:30005/TCP 50m
myeshop service/basket-api-dapr ClusterIP None <none> 80/TCP,50001/TCP,50002/TCP,9090/TCP 50m
myeshop service/blazor-client NodePort 10.0.244.8 <none> 80:30000/TCP 50m
myeshop service/catalog-api NodePort 10.0.132.196 <none> 80:30003/TCP,3500:30040/TCP,50001:30041/TCP 50m
myeshop service/catalog-api-dapr ClusterIP None <none> 80/TCP,50001/TCP,50002/TCP,9090/TCP 50m
myeshop service/identity-api NodePort 10.0.242.55 <none> 80:30008/TCP 50m
myeshop service/identity-api-dapr ClusterIP None <none> 80/TCP,50001/TCP,50002/TCP,9090/TCP 50m
myeshop service/mailserver NodePort 10.0.141.25 <none> 80:30012/TCP,25:30013/TCP 50m
myeshop service/ordering-api NodePort 10.0.61.167 <none> 80:30002/TCP 50m
myeshop service/ordering-api-dapr ClusterIP None <none> 80/TCP,50001/TCP,50002/TCP,9090/TCP 50m
myeshop service/payment-api NodePort 10.0.47.220 <none> 80:30004/TCP 50m
myeshop service/payment-api-dapr ClusterIP None <none> 80/TCP,50001/TCP,50002/TCP,9090/TCP 50m
myeshop service/rabbitmq NodePort 10.0.148.114 <none> 5672:32672/TCP 50m
myeshop service/redis NodePort 10.0.54.218 <none> 6379:30379/TCP 50m
myeshop service/seq NodePort 10.0.3.255 <none> 80:30011/TCP 50m
myeshop service/sqldata NodePort 10.0.31.140 <none> 1433:31433/TCP 50m
myeshop service/webshoppingagg NodePort 10.0.30.218 <none> 80:30006/TCP 50m
myeshop service/webshoppingagg-dapr ClusterIP None <none> 80/TCP,50001/TCP,50002/TCP,9090/TCP 50m
myeshop service/webstatus NodePort 10.0.158.218 <none> 80:30007/TCP 50m
myeshop service/zipkin NodePort 10.0.200.154 <none> 9411:32411/TCP 50m
NAMESPACE NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE
kube-system daemonset.apps/azure-ip-masq-agent 2 2 2 2 2 beta.kubernetes.io/os=linux 10d
kube-system daemonset.apps/csi-azuredisk-node 2 2 2 2 2 kubernetes.io/os=linux 10d
kube-system daemonset.apps/csi-azuredisk-node-win 0 0 0 0 0 kubernetes.io/os=windows 10d
kube-system daemonset.apps/csi-azurefile-node 2 2 2 2 2 kubernetes.io/os=linux 10d
kube-system daemonset.apps/csi-azurefile-node-win 0 0 0 0 0 kubernetes.io/os=windows 10d
kube-system daemonset.apps/kube-proxy 2 2 2 2 2 beta.kubernetes.io/os=linux 10d
NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE
dapr-system deployment.apps/dapr-dashboard 1/1 1 1 10d
dapr-system deployment.apps/dapr-operator 1/1 1 1 10d
dapr-system deployment.apps/dapr-sentry 1/1 1 1 10d
dapr-system deployment.apps/dapr-sidecar-injector 1/1 1 1 10d
kube-system deployment.apps/addon-http-application-routing-default-http-backend 1/1 1 1 10d
kube-system deployment.apps/addon-http-application-routing-external-dns 1/1 1 1 10d
kube-system deployment.apps/addon-http-application-routing-nginx-ingress-controller 1/1 1 1 10d
kube-system deployment.apps/coredns 2/2 2 2 10d
kube-system deployment.apps/coredns-autoscaler 1/1 1 1 10d
kube-system deployment.apps/ingress-appgw-deployment 1/1 1 1 56m
kube-system deployment.apps/metrics-server 1/1 1 1 10d
kube-system deployment.apps/tunnelfront 1/1 1 1 10d
myeshop deployment.apps/apigateway 1/1 1 1 50m
myeshop deployment.apps/basket 1/1 1 1 50m
myeshop deployment.apps/blazorclient 1/1 1 1 50m
myeshop deployment.apps/catalog 0/1 1 0 50m
myeshop deployment.apps/identity 0/1 1 0 50m
myeshop deployment.apps/mailserver 1/1 1 1 50m
myeshop deployment.apps/ordering 0/1 1 0 50m
myeshop deployment.apps/payment 1/1 1 1 50m
myeshop deployment.apps/rabbitmq 1/1 1 1 50m
myeshop deployment.apps/redis 1/1 1 1 50m
myeshop deployment.apps/seq 1/1 1 1 50m
myeshop deployment.apps/sqldata 1/1 1 1 50m
myeshop deployment.apps/webshoppingagg 0/1 1 0 50m
myeshop deployment.apps/webstatus 1/1 1 1 50m
myeshop deployment.apps/zipkin 1/1 1 1 50m
NAMESPACE NAME DESIRED CURRENT READY AGE
dapr-system replicaset.apps/dapr-dashboard-57b4db56fc 1 1 1 10d
dapr-system replicaset.apps/dapr-operator-5b4b68b5c5 1 1 1 10d
dapr-system replicaset.apps/dapr-sentry-c6b746cdf 1 1 1 10d
dapr-system replicaset.apps/dapr-sidecar-injector-6f749dbf87 1 1 1 10d
kube-system replicaset.apps/addon-http-application-routing-default-http-backend-6f6f7c5754 1 1 1 10d
kube-system replicaset.apps/addon-http-application-routing-external-dns-867f765884 1 1 1 10d
kube-system replicaset.apps/addon-http-application-routing-nginx-ingress-controller-84c998c7dd 1 1 1 10d
kube-system replicaset.apps/coredns-845757d86 2 2 2 10d
kube-system replicaset.apps/coredns-autoscaler-5f85dc856b 1 1 1 10d
kube-system replicaset.apps/ingress-appgw-deployment-6b8d48f9b9 1 1 1 55m
kube-system replicaset.apps/metrics-server-6bc97b47f7 1 1 1 10d
kube-system replicaset.apps/tunnelfront-9ff8f6578 1 1 1 10d
myeshop replicaset.apps/apigateway-7f79f76847 1 1 1 50m
myeshop replicaset.apps/basket-fb6679f64 1 1 1 50m
myeshop replicaset.apps/blazorclient-6d5889747d 1 1 1 50m
myeshop replicaset.apps/catalog-6868cf4d84 1 1 0 50m
myeshop replicaset.apps/identity-7fd8dbf6d4 1 1 0 50m
myeshop replicaset.apps/mailserver-d779b596c 1 1 1 50m
myeshop replicaset.apps/ordering-d5848d6c8 1 1 0 50m
myeshop replicaset.apps/payment-568fbfbff4 1 1 1 50m
myeshop replicaset.apps/rabbitmq-fdff67d5b 1 1 1 50m
myeshop replicaset.apps/redis-b9cd89f44 1 1 1 50m
myeshop replicaset.apps/seq-84c8cc6fd5 1 1 1 50m
myeshop replicaset.apps/sqldata-57cdcf76dd 1 1 1 50m
myeshop replicaset.apps/webshoppingagg-6d46c65495 1 1 0 50m
myeshop replicaset.apps/webstatus-5b795846df 1 1 1 50m
myeshop replicaset.apps/zipkin-75df458ff7 1 1 1 50m
NAMESPACE NAME READY AGE
dapr-system statefulset.apps/dapr-placement-server 1/1 10d
NAMESPACE NAME AGE
myeshop component.dapr.io/eshop-secretstore 50m
myeshop component.dapr.io/eshop-statestore 50m
myeshop component.dapr.io/pubsub 50m
myeshop component.dapr.io/sendmail 50m
NAMESPACE NAME AGE
dapr-system configuration.dapr.io/daprsystem 10d
myeshop configuration.dapr.io/dapr-config 50m
Logs for all three Pods
CatalogAPI
[12:56:56 INF] Applying database migration (Catalog API)...
[12:56:56 FTL] Host terminated unexpectedly (Catalog API)...
System.ArgumentNullException: Value cannot be null. (Parameter 'connectionString')
at Microsoft.EntityFrameworkCore.Utilities.Check.NotEmpty(String value, String parameterName)
at Microsoft.EntityFrameworkCore.SqlServerDbContextOptionsExtensions.UseSqlServer(DbContextOptionsBuilder optionsBuilder, String connectionString, Action`1 sqlServerOptionsAction)
at Microsoft.eShopOnDapr.Services.Catalog.API.ProgramExtensions.<>c__DisplayClass7_0.<AddCustomDatabase>b__0(DbContextOptionsBuilder options) in /src/src/Services/Catalog/Catalog.API/ProgramExtensions.cs:line 65
at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.<>c__DisplayClass1_0`2.<AddDbContext>b__0(IServiceProvider p, DbContextOptionsBuilder b)
at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.CreateDbContextOptions[TContext](IServiceProvider applicationServiceProvider, Action`2 optionsAction)
at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.<>c__DisplayClass17_0`1.<AddCoreServices>b__0(IServiceProvider p)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Microsoft.eShopOnDapr.Services.Catalog.API.ProgramExtensions.ApplyDatabaseMigration(WebApplication app) in /src/src/Services/Catalog/Catalog.API/ProgramExtensions.cs:line 75
at Program.<Main>$(String[] args) in /src/src/Services/Catalog/Catalog.API/Program.cs:line 46
CatalogApi-Daprd
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"starting Dapr Runtime -- version 1.5.1 -- commit c6daae8e9b11b3e241a9cb84c33e5aa740d74368","scope":"dapr.runtime","time":"2022-01-12T13:02:13.937422544Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"log level set to: info","scope":"dapr.runtime","time":"2022-01-12T13:02:13.937470544Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"metrics server started on :9090/","scope":"dapr.metrics","time":"2022-01-12T13:02:13.937604945Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"kubernetes mode configured","scope":"dapr.runtime","time":"2022-01-12T13:02:13.953207771Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"app id: catalog-api","scope":"dapr.runtime","time":"2022-01-12T13:02:13.953244171Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"mTLS enabled. creating sidecar authenticator","scope":"dapr.runtime","time":"2022-01-12T13:02:13.953417073Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"trust anchors and cert chain extracted successfully","scope":"dapr.runtime.security","time":"2022-01-12T13:02:13.953482173Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"authenticator created","scope":"dapr.runtime","time":"2022-01-12T13:02:13.953493173Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"Initialized name resolution to kubernetes","scope":"dapr.runtime","time":"2022-01-12T13:02:13.953708075Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"component loaded. name: kubernetes, type: secretstores.kubernetes/v1","scope":"dapr.runtime","time":"2022-01-12T13:02:13.955085186Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"loading components","scope":"dapr.runtime","time":"2022-01-12T13:02:13.955195687Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"component loaded. name: eshop-statestore, type: state.redis/v1","scope":"dapr.runtime","time":"2022-01-12T13:02:13.976161056Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"rabbitmq pub/sub: connectionCount: current=0 reference=0","scope":"dapr.contrib","time":"2022-01-12T13:02:13.976514459Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"rabbitmq pub/sub: connected with connectionCount=1","scope":"dapr.contrib","time":"2022-01-12T13:02:13.981348198Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"component loaded. name: pubsub, type: pubsub.rabbitmq/v1","scope":"dapr.runtime","time":"2022-01-12T13:02:13.9816191Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"component loaded. name: eshop-secretstore, type: secretstores.kubernetes/v1","scope":"dapr.runtime","time":"2022-01-12T13:02:13.982930011Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"waiting for all outstanding components to be processed","scope":"dapr.runtime","time":"2022-01-12T13:02:13.983109212Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"all outstanding components processed","scope":"dapr.runtime","time":"2022-01-12T13:02:13.983215813Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"enabled gRPC tracing middleware","scope":"dapr.runtime.grpc.api","time":"2022-01-12T13:02:13.983437815Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"enabled gRPC metrics middleware","scope":"dapr.runtime.grpc.api","time":"2022-01-12T13:02:13.983558016Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"enabled gRPC tracing middleware","scope":"dapr.runtime.grpc.api","time":"2022-01-12T13:02:13.983609416Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"enabled gRPC metrics middleware","scope":"dapr.runtime.grpc.api","time":"2022-01-12T13:02:13.983696817Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"API gRPC server is running on port 50001","scope":"dapr.runtime","time":"2022-01-12T13:02:13.983839218Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"enabled metrics http middleware","scope":"dapr.runtime.http","time":"2022-01-12T13:02:13.98409562Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"enabled tracing http middleware","scope":"dapr.runtime.http","time":"2022-01-12T13:02:13.98410732Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"enabled metrics http middleware","scope":"dapr.runtime.http","time":"2022-01-12T13:02:13.984223721Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"enabled tracing http middleware","scope":"dapr.runtime.http","time":"2022-01-12T13:02:13.984236322Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"http server is running on port 3500","scope":"dapr.runtime","time":"2022-01-12T13:02:13.984249722Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"The request body size parameter is: 4","scope":"dapr.runtime","time":"2022-01-12T13:02:13.984257422Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"enabled gRPC tracing middleware","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:02:13.984293622Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"enabled gRPC metrics middleware","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:02:13.984332822Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"sending workload csr request to sentry","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:02:13.984342322Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"certificate signed successfully","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:02:14.01497307Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"internal gRPC server is running on port 50002","scope":"dapr.runtime","time":"2022-01-12T13:02:14.015141871Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"application protocol: http. waiting on port 80. This will block until the app is listening on that port.","scope":"dapr.runtime","time":"2022-01-12T13:02:14.015158871Z","type":"log","ver":"1.5.1"}
{"app_id":"catalog-api","instance":"catalog-6868cf4d84-mxjsx","level":"info","msg":"starting workload cert expiry watcher. current cert expires on: 2022-01-13 13:17:14 +0000 UTC","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:02:14.015290872Z","type":"log","ver":"1.5.1"}
IdentityApi
[13:04:06 INF] Using the default authentication scheme Identity.Application for IdentityServer
[13:04:06 INF] Seeding database (Identity API)...
[13:04:06 FTL] Host terminated unexpectedly (Identity API)...
System.ArgumentNullException: Value cannot be null. (Parameter 'connectionString')
at Microsoft.EntityFrameworkCore.Utilities.Check.NotEmpty(String value, String parameterName)
at Microsoft.EntityFrameworkCore.SqlServerDbContextOptionsExtensions.UseSqlServer(DbContextOptionsBuilder optionsBuilder, String connectionString, Action`1 sqlServerOptionsAction)
at Microsoft.eShopOnDapr.Services.Identity.API.ProgramExtensions.<>c__DisplayClass4_0.<AddCustomDatabase>b__0(DbContextOptionsBuilder options) in /src/src/Services/Identity/Identity.API/ProgramExtensions.cs:line 38
at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.<>c__DisplayClass1_0`2.<AddDbContext>b__0(IServiceProvider p, DbContextOptionsBuilder b)
at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.CreateDbContextOptions[TContext](IServiceProvider applicationServiceProvider, Action`2 optionsAction)
at Microsoft.Extensions.DependencyInjection.EntityFrameworkServiceCollectionExtensions.<>c__DisplayClass17_0`1.<AddCoreServices>b__0(IServiceProvider p)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitScopeCache(ServiceCallSite callSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0.<RealizeService>b__0(ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Microsoft.eShopOnDapr.Services.Identity.API.SeedData.EnsureSeedData(IServiceScope scope, IConfiguration configuration, ILogger logger) in /src/src/Services/Identity/Identity.API/SeedData.cs:line 8
at Program.<Main>$(String[] args) in /src/src/Services/Identity/Identity.API/Program.cs:line 51
IdentityApi-Daprd
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"starting Dapr Runtime -- version 1.5.1 -- commit c6daae8e9b11b3e241a9cb84c33e5aa740d74368","scope":"dapr.runtime","time":"2022-01-12T13:00:29.688483464Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"log level set to: info","scope":"dapr.runtime","time":"2022-01-12T13:00:29.688548965Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"metrics server started on :9090/","scope":"dapr.metrics","time":"2022-01-12T13:00:29.688706666Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"kubernetes mode configured","scope":"dapr.runtime","time":"2022-01-12T13:00:29.70491509Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"app id: identity-api","scope":"dapr.runtime","time":"2022-01-12T13:00:29.70495089Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"mTLS enabled. creating sidecar authenticator","scope":"dapr.runtime","time":"2022-01-12T13:00:29.705364494Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"trust anchors and cert chain extracted successfully","scope":"dapr.runtime.security","time":"2022-01-12T13:00:29.705472794Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"authenticator created","scope":"dapr.runtime","time":"2022-01-12T13:00:29.705485394Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"Initialized name resolution to kubernetes","scope":"dapr.runtime","time":"2022-01-12T13:00:29.705910798Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"loading components","scope":"dapr.runtime","time":"2022-01-12T13:00:29.706657603Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"component loaded. name: kubernetes, type: secretstores.kubernetes/v1","scope":"dapr.runtime","time":"2022-01-12T13:00:29.707930013Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"component loaded. name: eshop-statestore, type: state.redis/v1","scope":"dapr.runtime","time":"2022-01-12T13:00:29.725756749Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"rabbitmq pub/sub: connectionCount: current=0 reference=0","scope":"dapr.contrib","time":"2022-01-12T13:00:29.725973951Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"rabbitmq pub/sub: connected with connectionCount=1","scope":"dapr.contrib","time":"2022-01-12T13:00:29.735169321Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"component loaded. name: pubsub, type: pubsub.rabbitmq/v1","scope":"dapr.runtime","time":"2022-01-12T13:00:29.735362523Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"component loaded. name: eshop-secretstore, type: secretstores.kubernetes/v1","scope":"dapr.runtime","time":"2022-01-12T13:00:29.736646833Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"waiting for all outstanding components to be processed","scope":"dapr.runtime","time":"2022-01-12T13:00:29.736821634Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"all outstanding components processed","scope":"dapr.runtime","time":"2022-01-12T13:00:29.736851134Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"enabled gRPC tracing middleware","scope":"dapr.runtime.grpc.api","time":"2022-01-12T13:00:29.737006936Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"enabled gRPC metrics middleware","scope":"dapr.runtime.grpc.api","time":"2022-01-12T13:00:29.737028936Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"enabled gRPC tracing middleware","scope":"dapr.runtime.grpc.api","time":"2022-01-12T13:00:29.737134936Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"enabled gRPC metrics middleware","scope":"dapr.runtime.grpc.api","time":"2022-01-12T13:00:29.737152137Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"API gRPC server is running on port 50001","scope":"dapr.runtime","time":"2022-01-12T13:00:29.737229937Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"enabled metrics http middleware","scope":"dapr.runtime.http","time":"2022-01-12T13:00:29.73755714Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"enabled tracing http middleware","scope":"dapr.runtime.http","time":"2022-01-12T13:00:29.73758144Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"enabled metrics http middleware","scope":"dapr.runtime.http","time":"2022-01-12T13:00:29.737718041Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"enabled tracing http middleware","scope":"dapr.runtime.http","time":"2022-01-12T13:00:29.737736241Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"http server is running on port 3500","scope":"dapr.runtime","time":"2022-01-12T13:00:29.737750641Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"The request body size parameter is: 4","scope":"dapr.runtime","time":"2022-01-12T13:00:29.737777341Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"enabled gRPC tracing middleware","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:00:29.737888542Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"enabled gRPC metrics middleware","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:00:29.737969343Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"sending workload csr request to sentry","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:00:29.738082044Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"certificate signed successfully","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:00:29.80034232Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"internal gRPC server is running on port 50002","scope":"dapr.runtime","time":"2022-01-12T13:00:29.800746523Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"starting workload cert expiry watcher. current cert expires on: 2022-01-13 13:15:29 +0000 UTC","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:00:29.800797323Z","type":"log","ver":"1.5.1"}
{"app_id":"identity-api","instance":"identity-7fd8dbf6d4-wdqr9","level":"info","msg":"application protocol: http. waiting on port 80. This will block until the app is listening on that port.","scope":"dapr.runtime","time":"2022-01-12T13:00:29.800818023Z","type":"log","ver":"1.5.1"}
OrderingApi
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"starting Dapr Runtime -- version 1.5.1 -- commit c6daae8e9b11b3e241a9cb84c33e5aa740d74368","scope":"dapr.runtime","time":"2022-01-12T13:05:47.6645166Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"log level set to: info","scope":"dapr.runtime","time":"2022-01-12T13:05:47.6645619Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"metrics server started on :9090/","scope":"dapr.metrics","time":"2022-01-12T13:05:47.664809802Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"kubernetes mode configured","scope":"dapr.runtime","time":"2022-01-12T13:05:47.68151702Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"app id: ordering-api","scope":"dapr.runtime","time":"2022-01-12T13:05:47.68155862Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"mTLS enabled. creating sidecar authenticator","scope":"dapr.runtime","time":"2022-01-12T13:05:47.682018124Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"trust anchors and cert chain extracted successfully","scope":"dapr.runtime.security","time":"2022-01-12T13:05:47.682160025Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"authenticator created","scope":"dapr.runtime","time":"2022-01-12T13:05:47.682265625Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"Initialized name resolution to kubernetes","scope":"dapr.runtime","time":"2022-01-12T13:05:47.682535227Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"loading components","scope":"dapr.runtime","time":"2022-01-12T13:05:47.683547134Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"component loaded. name: kubernetes, type: secretstores.kubernetes/v1","scope":"dapr.runtime","time":"2022-01-12T13:05:47.684023538Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"rabbitmq pub/sub: connectionCount: current=0 reference=0","scope":"dapr.contrib","time":"2022-01-12T13:05:47.692627699Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"rabbitmq pub/sub: connected with connectionCount=1","scope":"dapr.contrib","time":"2022-01-12T13:05:47.698304239Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"component loaded. name: pubsub, type: pubsub.rabbitmq/v1","scope":"dapr.runtime","time":"2022-01-12T13:05:47.698346839Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"component loaded. name: eshop-secretstore, type: secretstores.kubernetes/v1","scope":"dapr.runtime","time":"2022-01-12T13:05:47.700102252Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"waiting for all outstanding components to be processed","scope":"dapr.runtime","time":"2022-01-12T13:05:47.700304253Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"component loaded. name: eshop-statestore, type: state.redis/v1","scope":"dapr.runtime","time":"2022-01-12T13:05:47.704480083Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"all outstanding components processed","scope":"dapr.runtime","time":"2022-01-12T13:05:47.704514683Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"enabled gRPC tracing middleware","scope":"dapr.runtime.grpc.api","time":"2022-01-12T13:05:47.704584083Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"enabled gRPC metrics middleware","scope":"dapr.runtime.grpc.api","time":"2022-01-12T13:05:47.704595483Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"enabled gRPC tracing middleware","scope":"dapr.runtime.grpc.api","time":"2022-01-12T13:05:47.704639984Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"enabled gRPC metrics middleware","scope":"dapr.runtime.grpc.api","time":"2022-01-12T13:05:47.704648284Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"API gRPC server is running on port 50001","scope":"dapr.runtime","time":"2022-01-12T13:05:47.704665284Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"enabled metrics http middleware","scope":"dapr.runtime.http","time":"2022-01-12T13:05:47.704927086Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"enabled tracing http middleware","scope":"dapr.runtime.http","time":"2022-01-12T13:05:47.704944486Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"enabled metrics http middleware","scope":"dapr.runtime.http","time":"2022-01-12T13:05:47.705006286Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"enabled tracing http middleware","scope":"dapr.runtime.http","time":"2022-01-12T13:05:47.705021386Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"http server is running on port 3500","scope":"dapr.runtime","time":"2022-01-12T13:05:47.705037886Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"The request body size parameter is: 4","scope":"dapr.runtime","time":"2022-01-12T13:05:47.705052987Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"enabled gRPC tracing middleware","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:05:47.705077187Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"enabled gRPC metrics middleware","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:05:47.705085787Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"sending workload csr request to sentry","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:05:47.705099887Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"certificate signed successfully","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:05:47.721594104Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"internal gRPC server is running on port 50002","scope":"dapr.runtime","time":"2022-01-12T13:05:47.721735405Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"application protocol: http. waiting on port 80. This will block until the app is listening on that port.","scope":"dapr.runtime","time":"2022-01-12T13:05:47.721756205Z","type":"log","ver":"1.5.1"}
{"app_id":"ordering-api","instance":"ordering-d5848d6c8-hxndh","level":"info","msg":"starting workload cert expiry watcher. current cert expires on: 2022-01-13 13:20:47 +0000 UTC","scope":"dapr.runtime.grpc.internal","time":"2022-01-12T13:05:47.722010607Z","type":"log","ver":"1.5.1"}
Let me know if you require any additional information to replicate.
I get a 401 Unauthorized error message when trying to add any item to the shopping cart after successfully logging in when running in a remote Kubernetes environment.
I can successfully run eShopOnDapr on my local machine through the use of docker-compose up. I am also able to successfully deploy the solution to a remote AKS cluster through the use of the Helm chart. All of the pods start up and I am able to successfully login using Bob or Alice. I can see the catalog items and filter on them. However, once I log in and try to add an item to the shopping cart I get a 401 Unauthorized error back from the API Gateway. Based on my understanding it goes to the API Gateway pod, which then redirects to Web Shopping Aggregator Pod and that is where it hits the 401 Unauthorized error message.
I checked the API Gateway and Shopping Aggregator logs, but nothing stands out. From what I can tell logging in works, Authorization to Basket API works as it successfully retrieves the shopping cart, it only seems to be the Web Shopping Aggregator.
I checked if I can save and retrieve state from the DAPR statestore and that works as expected.
I have attached a screenshot showing the successful catalog and basket GETs, and the 401 Unauthorized messages in the browser.
Just a simple question: Is there any particular reason that the Blazor Client app is not daprized?
With continued investment & DAPR project progress, wondering if the eShopOnDapr team could publish a roadmap? For example is this project still active etc. Thx.
I cloned it, started it up in VS 2022, appears to be running but chrome didn't open, what port is the blazor front-end app running on? What do I type in Chrome start the app as a user😉?
blank white page on BlazorClient.Host
{"errorCode":"ERR_DIRECT_INVOKE","message":"fail to invoke, id: catalog-api, err: rpc error: code = Internal desc = app channel is not initialized"}
The original project has tests in it, I was wondering if some could be added to this project too to help us see how to do it in a dapr way (if any) or to just generally keep in line with the original project
I cloned the git repo. From master, opened the root folder and tried to do docker compose up. All the containers start but if I look at the SPA container log, I have the following :
[02:34:48 ERR] An unhandled exception has occurred while executing the request.
System.AggregateException: One or more errors occurred. (One or more errors occurred. (The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: sh: 1: ng: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] start: ng serve "--port" "45397"
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-10T02_11_21_175Z-debug.log
))
---> System.AggregateException: One or more errors occurred. (The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: sh: 1: ng: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] start: ng serve "--port" "45397"
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-10T02_11_21_175Z-debug.log
)
---> System.InvalidOperationException: The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: sh: 1: ng: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! [email protected] start: ng serve "--port" "45397"
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-10T02_11_21_175Z-debug.log
---> System.IO.EndOfStreamException: Attempted to read past the end of the stream.
at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.StartAngularCliServerAsync(String sourcePath, String npmScriptName, ILogger logger)
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.StartAngularCliServerAsync(String sourcePath, String npmScriptName, ILogger logger)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task
1.get_Result()
at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.<>c.b__2_0(Task1 task) at System.Threading.Tasks.ContinuationResultTaskFromResultTask
2.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at Microsoft.AspNetCore.SpaServices.Extensions.Util.TaskTimeoutExtensions.WithTimeout[T](Task
1 task, TimeSpan timeoutDelay, String message)
at Microsoft.AspNetCore.SpaServices.Extensions.Proxy.SpaProxy.PerformProxyRequest(HttpContext context, HttpClient httpClient, Task`1 baseUriTask, CancellationToken applicationStoppingToken, Boolean proxy404s)
at Microsoft.AspNetCore.Builder.SpaProxyingExtensions.<>c__DisplayClass2_0.<b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
Any ideas?
I have used same file as provided.
It is running fine and display page and call to api working fine.
Now if I look at localhost:5411. It display zipkin page but no tracing information.
I have one another application if that application I run using cli - dapr run then tracing working in that case.
See #59
Description:
Few services in eShopOnContainers
are still using Newtonsoft.Json
. Need to migrate that to System.Text.Json
Reference :
Starting in Visual Studio Docker-compose hit with the following error.
SQL Server 2019 will run as non-root by default.
This container is running as user root.
Your master database file is owned by root.
To learn more visit https://go.microsoft.com/fwlink/?linkid=2099216.
2022-03-17 03:27:11.44 Server Microsoft SQL Server 2017 (RTM-CU28) (KB5008084) - 14.0.3430.2 (X64)
17 2021 14:30:27
(C) 2017 Microsoft Corporation
Edition (64-bit) on Linux (Ubuntu 16.04.7 LTS)
03:27:11.54 Server UTC adjustment: 0:00
03:27:11.56 Server (c) Microsoft Corporation.
03:27:11.57 Server All rights reserved.
03:27:11.57 Server Server process ID is 392.
03:27:11.59 Server Logging SQL Server messages in file '/var/opt/mssql/log/errorlog'.
03:27:11.61 Server Registry startup parameters:
-d /var/opt/mssql/data/master.mdf
-l /var/opt/mssql/data/mastlog.ldf
-e /var/opt/mssql/log/errorlog
03:27:11.78 Server SQL Server detected 1 sockets with 2 cores per socket and 4 logical processors per socket, 4 total logical processors; using 4 logical processors based on SQL Server licensing. This is an informational message; no user action is required.
03:27:11.83 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
03:27:11.88 Server Detected 6368 MB of RAM. This is an informational message; no user action is required.
03:27:11.91 Server Using conventional memory in the memory manager.
03:27:11.94 Server Page exclusion bitmap is enabled.
03:27:13.12 Server Buffer pool extension is already disabled. No action is necessary.
03:27:14.16 Server InitializeExternalUserGroupSid failed. Implied authentication will be disabled.
03:27:14.17 Server Implied authentication manager initialization failed. Implied authentication will be disabled.
03:27:14.18 Server Successfully initialized the TLS configuration. Allowed TLS protocol versions are ['1.0 1.1 1.2']. Allowed TLS ciphers are ['ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!DHE-RSA-AES256-GCM-SHA384:!DHE-RSA-AES128-GCM-SHA256:!DHE-RSA-AES256-SHA:!DHE-RSA-AES128-SHA'].
03:27:14.30 Server Query Store settings initialized with enabled = 1,
03:27:14.57 Server Node configuration: node 0: CPU mask: 0x000000000000000f:0 Active CPU mask: 0x000000000000000f:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.
03:27:14.58 Server The maximum number of dedicated administrator connections for this instance is '1'
03:27:14.78 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
03:27:14.86 Server In-Memory OLTP initialized on lowend machine.
03:27:15.59 Server Database Instant File Initialization: enabled. For security and performance considerations see the topic 'Database Instant File Initialization' in SQL Server Books Online. This is an informational message only. No user action is required.
is enabled for this instance.
03:27:15.96 Server Software Usage Metrics is disabled.
03:27:16.02 spid5s Starting up database 'master'.
feature is enabled for log durability.
03:27:16.68 spid5s 2 transactions rolled forward in database 'master' (1:0). This is an informational message only. No user action is required.
03:27:16.85 spid5s 0 transactions rolled back in database 'master' (1:0). This is an informational message only. No user action is required.
03:27:18.42 spid5s Resource governor reconfiguration succeeded.
03:27:18.43 spid5s SQL Server Audit is starting the audits. This is an informational message. No user action is required.
03:27:18.50 spid5s SQL Server Audit has started the audits. This is an informational message. No user action is required.
03:27:19.48 spid5s SQL Trace ID 1 was started by login "sa".
03:27:19.73 spid5s Server name is '14c35881e77c'. This is an informational message only. No user action is required.
03:27:19.84 spid5s Starting up database 'msdb'.
03:27:19.84 spid22s Always On: The availability replica manager is starting. This is an informational message only. No user action is required.
03:27:19.85 spid9s Starting up database 'mssqlsystemresource'.
03:27:19.90 spid22s Always On: The availability replica manager is waiting for the instance of SQL Server to allow client connections. This is an informational message only. No user action is required.
03:27:19.91 spid9s The resource database build version is 14.00.3430. This is an informational message only. No user action is required.
03:27:20.05 spid5s Error: 17204, Severity: 16, State: 1.
03:27:20.05 spid5s FCB::Open failed: Could not open file d:\dbs\sh\sqfs\1217_141239\cmd\29\obj\x64retail\sql\mkmastr\databases\mkmastr.proj\MSDBData.mdf for file number 1. OS error: 2(The system cannot find the file specified.).
03:27:20.09 spid9s Starting up database 'model'.
03:27:20.10 spid5s Error: 5120, Severity: 16, State: 101.
03:27:20.10 spid5s Unable to open the physical file "d:\dbs\sh\sqfs\1217_141239\cmd\29\obj\x64retail\sql\mkmastr\databases\mkmastr.proj\MSDBData.mdf". Operating system error 2: "2(The system cannot find the file specified.)".
03:27:20.16 spid9s Error: 17204, Severity: 16, State: 1.
03:27:20.16 spid9s FCB::Open failed: Could not open file d:\dbs\sh\sqfs\1217_141239\cmd\29\obj\x64retail\sql\mkmastr\databases\mkmastr.proj\model.mdf for file number 1. OS error: 2(The system cannot find the file specified.).
03:27:20.24 spid9s Error: 5120, Severity: 16, State: 101.
03:27:20.24 spid9s Unable to open the physical file "d:\dbs\sh\sqfs\1217_141239\cmd\29\obj\x64retail\sql\mkmastr\databases\mkmastr.proj\model.mdf". Operating system error 2: "2(The system cannot find the file specified.)".
03:27:20.25 spid5s Error: 17207, Severity: 16, State: 1.
03:27:20.25 spid5s FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'd:\dbs\sh\sqfs\1217_141239\cmd\29\obj\x64retail\sql\mkmastr\databases\mkmastr.proj\MSDBLog.ldf'. Diagnose and correct the operating system error, and retry the operation.
03:27:20.35 spid18s A self-generated certificate was successfully loaded for encryption.
03:27:20.35 spid5s File activation failure. The physical file name "d:\dbs\sh\sqfs\1217_141239\cmd\29\obj\x64retail\sql\mkmastr\databases\mkmastr.proj\MSDBLog.ldf" may be incorrect.
03:27:20.37 spid18s Server is listening on [ 'any' 1433].
03:27:20.38 spid9s Error: 17207, Severity: 16, State: 1.
03:27:20.38 spid9s FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'd:\dbs\sh\sqfs\1217_141239\cmd\29\obj\x64retail\sql\mkmastr\databases\mkmastr.proj\modellog.ldf'. Diagnose and correct the operating system error, and retry the operation.
03:27:20.39 spid18s Server is listening on [ 'any' 1433].
03:27:20.49 spid9s File activation failure. The physical file name "d:\dbs\sh\sqfs\1217_141239\cmd\29\obj\x64retail\sql\mkmastr\databases\mkmastr.proj\modellog.ldf" may be incorrect.
03:27:20.52 spid9s Error: 945, Severity: 14, State: 2.
03:27:20.52 spid9s Database 'model' cannot be opened due to inaccessible files or insufficient memory or disk space. See the SQL Server errorlog for details.
03:27:20.54 Server Server is listening on [ ::1 1434].
03:27:20.57 Server Server is listening on [ 127.0.0.1 1434].
03:27:20.58 spid9s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.
03:27:20.62 Server Dedicated admin connection support was established for listening locally on port 1434.
03:27:20.66 spid18s SQL Server is now ready for client connections. This is an informational message; no user action is required.
Instead of extensively cleaning up the current eShopOnDapr implementation (which is based on the dev branch of eShopOnContainers), we can use the MSLearn microservices sample as the foundation.
Subtask | Status |
---|---|
Docker Compose | ✅ #1 |
Secret store | ✅ #3 / #4 |
State store (Basket) | ✅ #3 / #4 |
Pub/sub | ✅ #6 |
Service invocation | ✅ #5 |
Observability | ✅ #5 |
Using Visual Studio to launch the project, getting the Unauthenticated error despite already login.
[{"traceId":"9c302b6e711d097a994a6a3580004115","id":"707e5f2a1782df16","kind":"CLIENT","name":"calllocal/basket-api/api/v1/basket/","timestamp":1647694630584448,"duration":667744,"localEndpoint":{"serviceName":"webshoppingapigw","ipv4":"172.18.0.10"},"tags":{"dapr.api":"GET /v1.0/invoke/basket-api/method/api/v1/basket/","dapr.protocol":"http","dapr.status_code":"401","error":"UNAUTHENTICATED","net.peer.name":"basket-api","opencensus.status_description":"Unauthenticated","rpc.service":"ServiceInvocation"}},{"traceId":"9c302b6e711d097a994a6a3580004115","parentId":"707e5f2a1782df16","id":"56903cd7fc4313ff","kind":"SERVER","name":"calllocal/basket-api/api/v1/basket/","timestamp":1647694630585212,"duration":666297,"localEndpoint":{"serviceName":"basket-api","ipv4":"172.18.0.16"},"tags":{"dapr.api":"/dapr.proto.internals.v1.ServiceInvocation/CallLocal","dapr.invoke_method":"api/v1/basket/","dapr.protocol":"grpc","rpc.service":"ServiceInvocation"}}]
Hello Team,
We tried to run the solution and it loads perfectly from Visual Studio. We are able to debug most part of the solution except the BlazorClient.
Following is our observations while debugging BlazorClient, we cleaned and rebuilt the projects to ensure our code changes are reflected
What we observed that the JavaScript debugger was never shown as one of the debugger?
But did not work on razor files
and we did not see JavaScript debugger
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.