mikepaulx
WWasp
•Created by mikepaulx on 12/30/2024 in #đŸ™‹questions
Error on calculating daily tasks
Hello, I am getting this error after running wasp start:
[ Server!] Error calculating daily stats: Error: 2 UNKNOWN: Getting metadata from plugin failed with error: error:1E08010C:DECODER routines::unsupported
[ Server!] at callErrorFromStatus (/root/app/node_modules/@grpc/grpc-js/src/call.ts:82:17)
[ Server!] at Object.onReceiveStatus (/root/app/node_modules/@grpc/grpc-js/src/client.ts:360:55) [ Server!] at Object.onReceiveStatus (/root/app/node_modules/@grpc/grpc-js/src/client-interceptors.ts:458:34) [ Server!] at Object.onReceiveStatus (/root/app/node_modules/@grpc/grpc-js/src/client-interceptors.ts:419:48) [ Server!] at <anonymous> (/root/app/node_modules/@grpc/grpc-js/src/resolving-call.ts:163:24)
[ Server!] at process.processTicksAndRejections (node:internal/process/task_queues:77:11) [ Server!] for call at [ Server!] at ServiceClientImpl.makeUnaryRequest (/root/app/node_modules/@grpc/grpc-js/src/client.ts:325:42) [ Server!] at ServiceClientImpl.<anonymous> (/root/app/node_modules/@grpc/grpc-js/src/make-client.ts:189:15) [ Server!] at /root/app/node_modules/@google-analytics/data/build/src/v1beta/beta_analytics_data_client.js:190:29 [ Server!] at /root/app/node_modules/google-gax/build/src/normalCalls/timeout.js:44:16 [ Server!] at OngoingCallPromise.call (/root/app/node_modules/google-gax/build/src/call.js:67:27) [ Server!] at NormalApiCaller.call (/root/app/node_modules/google-gax/build/src/normalCalls/normalApiCaller.js:34:19) [ Server!] at /root/app/node_modules/google-gax/build/src/createApiCall.js:112:30 I put the base64 encoded key inside .env.server for the GOOGLE_ANALYTICS_PRIVATE_KEY Inside googleAnalyticsUtils.ts I have printed the private key: const PRIVATE_KEY = Buffer.from(process.env.GOOGLE_ANALYTICS_PRIVATE_KEY!, 'base64').toString('utf-8'); console.log(PRIVATE_KEY); And it is the same as the one in the service JSON from google cloud
[ Server!] at Object.onReceiveStatus (/root/app/node_modules/@grpc/grpc-js/src/client.ts:360:55) [ Server!] at Object.onReceiveStatus (/root/app/node_modules/@grpc/grpc-js/src/client-interceptors.ts:458:34) [ Server!] at Object.onReceiveStatus (/root/app/node_modules/@grpc/grpc-js/src/client-interceptors.ts:419:48) [ Server!] at <anonymous> (/root/app/node_modules/@grpc/grpc-js/src/resolving-call.ts:163:24)
[ Server!] at process.processTicksAndRejections (node:internal/process/task_queues:77:11) [ Server!] for call at [ Server!] at ServiceClientImpl.makeUnaryRequest (/root/app/node_modules/@grpc/grpc-js/src/client.ts:325:42) [ Server!] at ServiceClientImpl.<anonymous> (/root/app/node_modules/@grpc/grpc-js/src/make-client.ts:189:15) [ Server!] at /root/app/node_modules/@google-analytics/data/build/src/v1beta/beta_analytics_data_client.js:190:29 [ Server!] at /root/app/node_modules/google-gax/build/src/normalCalls/timeout.js:44:16 [ Server!] at OngoingCallPromise.call (/root/app/node_modules/google-gax/build/src/call.js:67:27) [ Server!] at NormalApiCaller.call (/root/app/node_modules/google-gax/build/src/normalCalls/normalApiCaller.js:34:19) [ Server!] at /root/app/node_modules/google-gax/build/src/createApiCall.js:112:30 I put the base64 encoded key inside .env.server for the GOOGLE_ANALYTICS_PRIVATE_KEY Inside googleAnalyticsUtils.ts I have printed the private key: const PRIVATE_KEY = Buffer.from(process.env.GOOGLE_ANALYTICS_PRIVATE_KEY!, 'base64').toString('utf-8'); console.log(PRIVATE_KEY); And it is the same as the one in the service JSON from google cloud
7 replies