You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Starting Dapr Runtime -- version 1.13.2 -- commit f09b193d8ac62bef6c0fd5452a00d2a49cd0d134","scope":"dapr.runtime","time":"2024-04-21T02:52:34.462564961Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Log level set to: info","scope":"dapr.runtime","time":"2024-04-21T02:52:34.462711897Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Fetching initial identity certificate from dapr-sentry.dapr-system.svc.cluster.local:443","scope":"dapr.runtime.security","time":"2024-04-21T02:52:34.463104103Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Security is initialized successfully","scope":"dapr.runtime.security","time":"2024-04-21T02:52:34.485646076Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Starting workload cert expiry watcher; current cert expires on: 2024-04-22 02:52:34 +0000 UTC, renewing at 2024-04-21 19:36:04 +0000 UTC","scope":"dapr.runtime.security","time":"2024-04-21T02:52:34.485748442Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Initializing the operator client","scope":"dapr.runtime","time":"2024-04-21T02:52:34.485948243Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"warning","msg":"The default value for 'spec.metric.http.increasedCardinality' will change to 'false' in Dapr 1.14","scope":"dapr.runtime","time":"2024-04-21T02:52:34.504489089Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"metrics server started on :9090/","scope":"dapr.runtime","time":"2024-04-21T02:52:34.512819761Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"kubernetes mode configured","scope":"dapr.runtime","time":"2024-04-21T02:52:34.51312502Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"app id: ordering-api","scope":"dapr.runtime","time":"2024-04-21T02:52:34.513144405Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Dapr trace sampler initialized: DaprTraceSampler(P=1.000000)","scope":"dapr.runtime","time":"2024-04-21T02:52:34.513224757Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Initialized name resolution to kubernetes","scope":"dapr.runtime","time":"2024-04-21T02:52:34.513398446Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Loading components…","scope":"dapr.runtime","time":"2024-04-21T02:52:34.513609403Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Component loaded: kubernetes (secretstores.kubernetes/v1)","scope":"dapr.runtime.processor","time":"2024-04-21T02:52:34.514366806Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Component loaded: eshopondapr-secretstore (secretstores.kubernetes/v1)","scope":"dapr.runtime.processor","time":"2024-04-21T02:52:34.523155141Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Component loaded: eshopondapr-pubsub (pubsub.redis/v1)","scope":"dapr.runtime.processor","time":"2024-04-21T02:52:34.543865169Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Using 'eshopondapr-statestore' as actor state store","scope":"dapr.runtime.processor.state","time":"2024-04-21T02:52:34.556219632Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Component loaded: eshopondapr-statestore (state.redis/v1)","scope":"dapr.runtime.processor","time":"2024-04-21T02:52:34.556375387Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Waiting for all outstanding components to be processed…","scope":"dapr.runtime","time":"2024-04-21T02:52:34.556692501Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","component":"sendmail (bindings.smtp/v1)","instance":"ordering-5477688d98-6srzb","level":"warning","msg":"smtp binding warning: Skip TLS Verification is enabled. This is insecure and is NOT recommended for production scenarios.","scope":"dapr.contrib","time":"2024-04-21T02:52:34.561977944Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"successful init for output binding (sendmail (bindings.smtp/v1))","scope":"dapr.runtime.processor.binding","time":"2024-04-21T02:52:34.562030818Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Component loaded: sendmail (bindings.smtp/v1)","scope":"dapr.runtime.processor","time":"2024-04-21T02:52:34.562063027Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"All outstanding components processed","scope":"dapr.runtime","time":"2024-04-21T02:52:34.562098688Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Loading endpoints…","scope":"dapr.runtime","time":"2024-04-21T02:52:34.562129933Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Waiting for all outstanding http endpoints to be processed…","scope":"dapr.runtime","time":"2024-04-21T02:52:34.563609005Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"All outstanding http endpoints processed","scope":"dapr.runtime","time":"2024-04-21T02:52:34.563641636Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"gRPC server listening on TCP address: [::1]:50001","scope":"dapr.runtime.grpc.api","time":"2024-04-21T02:52:34.563830369Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"gRPC server listening on TCP address: 127.0.0.1:50001","scope":"dapr.runtime.grpc.api","time":"2024-04-21T02:52:34.563865055Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Enabled gRPC tracing middleware","scope":"dapr.runtime.grpc.api","time":"2024-04-21T02:52:34.563885676Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Enabled gRPC metrics middleware","scope":"dapr.runtime.grpc.api","time":"2024-04-21T02:52:34.563894693Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Registering workflow engine for gRPC endpoint: [::1]:50001","scope":"dapr.runtime.grpc.api","time":"2024-04-21T02:52:34.564026363Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Enabled gRPC tracing middleware","scope":"dapr.runtime.grpc.api","time":"2024-04-21T02:52:34.564073207Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Enabled gRPC metrics middleware","scope":"dapr.runtime.grpc.api","time":"2024-04-21T02:52:34.564084702Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Registering workflow engine for gRPC endpoint: 127.0.0.1:50001","scope":"dapr.runtime.grpc.api","time":"2024-04-21T02:52:34.56411178Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"API gRPC server is running on port 50001","scope":"dapr.runtime","time":"2024-04-21T02:52:34.564127486Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Enabled max body size HTTP middleware with size 4 MB","scope":"dapr.runtime.http","time":"2024-04-21T02:52:34.564380902Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Enabled tracing HTTP middleware","scope":"dapr.runtime.http","time":"2024-04-21T02:52:34.56441574Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Enabled metrics HTTP middleware","scope":"dapr.runtime.http","time":"2024-04-21T02:52:34.564425951Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"HTTP server listening on TCP address: [::1]:3500","scope":"dapr.runtime.http","time":"2024-04-21T02:52:34.564774924Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"HTTP server listening on TCP address: 127.0.0.1:3500","scope":"dapr.runtime.http","time":"2024-04-21T02:52:34.564799173Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Enabled tracing HTTP middleware","scope":"dapr.runtime.http","time":"2024-04-21T02:52:34.56482416Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Enabled metrics HTTP middleware","scope":"dapr.runtime.http","time":"2024-04-21T02:52:34.564831985Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"HTTP server is running on port 3500","scope":"dapr.runtime","time":"2024-04-21T02:52:34.564878815Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"The request body size parameter is: 4","scope":"dapr.runtime","time":"2024-04-21T02:52:34.564889432Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"gRPC server listening on TCP address: :50002","scope":"dapr.runtime.grpc.internal","time":"2024-04-21T02:52:34.564912478Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Enabled gRPC tracing middleware","scope":"dapr.runtime.grpc.internal","time":"2024-04-21T02:52:34.564921981Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Enabled gRPC metrics middleware","scope":"dapr.runtime.grpc.internal","time":"2024-04-21T02:52:34.564929763Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Internal gRPC server is running on port 50002","scope":"dapr.runtime","time":"2024-04-21T02:52:34.564972657Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","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":"2024-04-21T02:52:34.565025963Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"application discovered on port 80","scope":"dapr.runtime","time":"2024-04-21T02:52:36.888189187Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Application configuration loaded","scope":"dapr.runtime","time":"2024-04-21T02:52:37.05141902Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Configuring actors placement provider 'placement'. Configuration: 'placement:dapr-placement-server.dapr-system.svc.cluster.local:50005'","scope":"dapr.runtime.actor","time":"2024-04-21T02:52:37.051511977Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Configuring actor reminders provider 'default'. Configuration: ''","scope":"dapr.runtime.actor","time":"2024-04-21T02:52:37.051607495Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Actor runtime started. Actor idle timeout: 1h0m0s. Actor scan interval: 30s","scope":"dapr.runtime.actor","time":"2024-04-21T02:52:37.051700161Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Configuring workflow engine with actors backend","scope":"dapr.runtime","time":"2024-04-21T02:52:37.051721867Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Registering component for dapr workflow engine...","scope":"dapr.runtime","time":"2024-04-21T02:52:37.051737091Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","component":"dapr (workflow.dapr/v1)","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Initializing Dapr workflow component","scope":"dapr.contrib","time":"2024-04-21T02:52:37.051759598Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Workflow engine initialized.","scope":"dapr.runtime","time":"2024-04-21T02:52:37.051807891Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Actor API level in the cluster has been updated to 10","scope":"dapr.runtime.actor","time":"2024-04-21T02:52:37.071718978Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Placement tables updated, version: 20","scope":"dapr.runtime.actors.placement","time":"2024-04-21T02:52:37.071757894Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"app is subscribed to the following topics: [OrderStatusChangedToPaidIntegrationEvent OrderStatusChangedToShippedIntegrationEvent UserCheckoutAcceptedIntegrationEvent OrderStockConfirmedIntegrationEvent OrderStockRejectedIntegrationEvent OrderPaymentFailedIntegrationEvent OrderPaymentSucceededIntegrationEvent OrderStatusChangedToAwaitingStockValidationIntegrationEvent OrderStatusChangedToCancelledIntegrationEvent OrderStatusChangedToSubmittedIntegrationEvent OrderStatusChangedToValidatedIntegrationEvent] through pubsub=eshopondapr-pubsub","scope":"dapr.runtime.processor.pubsub","time":"2024-04-21T02:52:37.204120287Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"dapr initialized. Status: Running. Init Elapsed 2698ms","scope":"dapr.runtime","time":"2024-04-21T02:52:37.211918019Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Actor health check succeeded, marking healthy","scope":"actorshealth","time":"2024-04-21T02:52:37.56229765Z","type":"log","ver":"1.13.2"}
{"app_id":"ordering-api","instance":"ordering-5477688d98-6srzb","level":"info","msg":"Placement tables updated, version: 21","scope":"dapr.runtime.actors.placement","time":"2024-04-21T02:52:39.292928005Z","type":"log","ver":"1.13.2"}
Defaulted container "ordering-api" out of: ordering-api, daprd
[02:52:34 INF] Applying database migration (Ordering API)...
[02:52:36 INF] Starting web host (Ordering API)...
[02:52:36 WRN] Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed.
[02:52:36 WRN] No XML encryptor configured. Key {20c56e47-52b4-416a-acbc-00b00c4e670b} may be persisted to storage in unencrypted form.
[02:52:37 ERR] Health check dapr with status Unhealthy completed after 20.2987ms with message 'Dapr sidecar is unhealthy.'
可以看到dapr已经成功了,但是还是提示'Dapr sidecar is unhealthy.'
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[root@master dapr]# kubectl get pods -n eshopondapr
[root@master dapr]# kubectl logs ordering-5477688d98-6srzb -n eshopondapr -c daprd
[root@master dapr]# kubectl logs ordering-5477688d98-6srzb -n eshopondapr
可以看到dapr已经成功了,但是还是提示'Dapr sidecar is unhealthy.'
The text was updated successfully, but these errors were encountered: