Skip to content

Instantly share code, notes, and snippets.

@ddfont
Created April 25, 2024 20:40
Show Gist options
  • Save ddfont/8b03140fbc1e6702fdd765e4739c25c2 to your computer and use it in GitHub Desktop.
Save ddfont/8b03140fbc1e6702fdd765e4739c25c2 to your computer and use it in GitHub Desktop.
{"@timestamp":"2024-04-25T20:39:48.594Z","@version":"1","message":"Error handler for dx_promotion_platform.v1.DasherChallengeService/CreateChallenges returned successful response","logger_name":"com.doordash.asgard.grpc.interceptors.ExceptionInterceptor","thread_name":"blocking_worker-epoll-9-8","level":"WARN","level_value":30000,"trace_id":"dc6380559c30ae422b534dd3615cd73b","trace_flags":"00","span_id":"671635dede87d46e","tenant_id":"prod","status":{"code":"UNKNOWN","description":null,"cause":{"cause":null,"stackTrace":[{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"validateStartTimes","fileName":"DasherChallengeService.kt","lineNumber":162,"nativeMethod":false,"className":"com.doordash.dxpromotionplatform.service.DasherChallengeService"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"createChallenges","fileName":"DasherChallengeService.kt","lineNumber":188,"nativeMethod":false,"className":"com.doordash.dxpromotionplatform.service.DasherChallengeService"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"createChallenges","fileName":"DasherChallengeServiceImpl.kt","lineNumber":38,"nativeMethod":false,"className":"com.doordash.dxpromotionplatform.grpc.DasherChallengeServiceImpl"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"ChallengeGrpcKt.kt","lineNumber":461,"nativeMethod":false,"className":"com.doordash.rpc.dx_promotion_platform.DasherChallengeServiceGrpcKt$DasherChallengeServiceCoroutineImplBase$bindService$5"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"ChallengeGrpcKt.kt","lineNumber":290,"nativeMethod":false,"className":"com.doordash.rpc.dx_promotion_platform.DasherChallengeServiceGrpcKt$DasherChallengeServiceCoroutineImplBase$bindService$5"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"emit","fileName":"Emitters.kt","lineNumber":224,"nativeMethod":false,"className":"io.grpc.kotlin.ServerCalls$unaryServerMethodDefinition$2$invoke$$inlined$map$1$2"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"SafeCollector.kt","lineNumber":15,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"SafeCollector.kt","lineNumber":15,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"emit","fileName":"SafeCollector.kt","lineNumber":87,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollector"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"emit","fileName":"SafeCollector.kt","lineNumber":66,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollector"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"emit","fileName":"Helpers.kt","lineNumber":65,"nativeMethod":false,"className":"io.grpc.kotlin.HelpersKt$singleOrStatusFlow$1$1"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"SafeCollector.kt","lineNumber":15,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"SafeCollector.kt","lineNumber":15,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"emit","fileName":"SafeCollector.kt","lineNumber":87,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollector"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"emit","fileName":"SafeCollector.kt","lineNumber":66,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollector"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invokeSuspend","fileName":"ServerCalls.kt","lineNumber":228,"nativeMethod":false,"className":"io.grpc.kotlin.ServerCalls$serverCallListener$requests$1"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"resumeWith","fileName":"ContinuationImpl.kt","lineNumber":33,"nativeMethod":false,"className":"kotlin.coroutines.jvm.internal.BaseContinuationImpl"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"DispatchedTask.kt","lineNumber":108,"nativeMethod":false,"className":"kotlinx.coroutines.DispatchedTask"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"runTask","fileName":"AbstractEventExecutor.java","lineNumber":174,"nativeMethod":false,"className":"io.netty.util.concurrent.AbstractEventExecutor"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"safeExecute","fileName":"AbstractEventExecutor.java","lineNumber":167,"nativeMethod":false,"className":"io.netty.util.concurrent.AbstractEventExecutor"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"runAllTasks","fileName":"SingleThreadEventExecutor.java","lineNumber":470,"nativeMethod":false,"className":"io.netty.util.concurrent.SingleThreadEventExecutor"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"EpollEventLoop.java","lineNumber":413,"nativeMethod":false,"className":"io.netty.channel.epoll.EpollEventLoop"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"SingleThreadEventExecutor.java","lineNumber":997,"nativeMethod":false,"className":"io.netty.util.concurrent.SingleThreadEventExecutor$4"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"ThreadExecutorMap.java","lineNumber":74,"nativeMethod":false,"className":"io.netty.util.internal.ThreadExecutorMap$2"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"FastThreadLocalRunnable.java","lineNumber":30,"nativeMethod":false,"className":"io.netty.util.concurrent.FastThreadLocalRunnable"},{"classLoaderName":null,"moduleName":"java.base","moduleVersion":"17.0.11","methodName":"run","fileName":"Thread.java","lineNumber":840,"nativeMethod":false,"className":"java.lang.Thread"}],"message":"Start times must be in the past. Are in the future for: [challenge2]","suppressed":[],"localizedMessage":"Start times must be in the past. Are in the future for: [challenge2]"},"ok":false},"call":"dx_promotion_platform.v1.DasherChallengeService/CreateChallenges","newStatus":{"code":"UNKNOWN","description":null,"cause":{"cause":null,"stackTrace":[{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"validateStartTimes","fileName":"DasherChallengeService.kt","lineNumber":162,"nativeMethod":false,"className":"com.doordash.dxpromotionplatform.service.DasherChallengeService"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"createChallenges","fileName":"DasherChallengeService.kt","lineNumber":188,"nativeMethod":false,"className":"com.doordash.dxpromotionplatform.service.DasherChallengeService"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"createChallenges","fileName":"DasherChallengeServiceImpl.kt","lineNumber":38,"nativeMethod":false,"className":"com.doordash.dxpromotionplatform.grpc.DasherChallengeServiceImpl"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"ChallengeGrpcKt.kt","lineNumber":461,"nativeMethod":false,"className":"com.doordash.rpc.dx_promotion_platform.DasherChallengeServiceGrpcKt$DasherChallengeServiceCoroutineImplBase$bindService$5"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"ChallengeGrpcKt.kt","lineNumber":290,"nativeMethod":false,"className":"com.doordash.rpc.dx_promotion_platform.DasherChallengeServiceGrpcKt$DasherChallengeServiceCoroutineImplBase$bindService$5"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"emit","fileName":"Emitters.kt","lineNumber":224,"nativeMethod":false,"className":"io.grpc.kotlin.ServerCalls$unaryServerMethodDefinition$2$invoke$$inlined$map$1$2"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"SafeCollector.kt","lineNumber":15,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"SafeCollector.kt","lineNumber":15,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"emit","fileName":"SafeCollector.kt","lineNumber":87,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollector"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"emit","fileName":"SafeCollector.kt","lineNumber":66,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollector"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"emit","fileName":"Helpers.kt","lineNumber":65,"nativeMethod":false,"className":"io.grpc.kotlin.HelpersKt$singleOrStatusFlow$1$1"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"SafeCollector.kt","lineNumber":15,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invoke","fileName":"SafeCollector.kt","lineNumber":15,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"emit","fileName":"SafeCollector.kt","lineNumber":87,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollector"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"emit","fileName":"SafeCollector.kt","lineNumber":66,"nativeMethod":false,"className":"kotlinx.coroutines.flow.internal.SafeCollector"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"invokeSuspend","fileName":"ServerCalls.kt","lineNumber":228,"nativeMethod":false,"className":"io.grpc.kotlin.ServerCalls$serverCallListener$requests$1"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"resumeWith","fileName":"ContinuationImpl.kt","lineNumber":33,"nativeMethod":false,"className":"kotlin.coroutines.jvm.internal.BaseContinuationImpl"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"DispatchedTask.kt","lineNumber":108,"nativeMethod":false,"className":"kotlinx.coroutines.DispatchedTask"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"runTask","fileName":"AbstractEventExecutor.java","lineNumber":174,"nativeMethod":false,"className":"io.netty.util.concurrent.AbstractEventExecutor"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"safeExecute","fileName":"AbstractEventExecutor.java","lineNumber":167,"nativeMethod":false,"className":"io.netty.util.concurrent.AbstractEventExecutor"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"runAllTasks","fileName":"SingleThreadEventExecutor.java","lineNumber":470,"nativeMethod":false,"className":"io.netty.util.concurrent.SingleThreadEventExecutor"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"EpollEventLoop.java","lineNumber":413,"nativeMethod":false,"className":"io.netty.channel.epoll.EpollEventLoop"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"SingleThreadEventExecutor.java","lineNumber":997,"nativeMethod":false,"className":"io.netty.util.concurrent.SingleThreadEventExecutor$4"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"ThreadExecutorMap.java","lineNumber":74,"nativeMethod":false,"className":"io.netty.util.internal.ThreadExecutorMap$2"},{"classLoaderName":"app","moduleName":null,"moduleVersion":null,"methodName":"run","fileName":"FastThreadLocalRunnable.java","lineNumber":30,"nativeMethod":false,"className":"io.netty.util.concurrent.FastThreadLocalRunnable"},{"classLoaderName":null,"moduleName":"java.base","moduleVersion":"17.0.11","methodName":"run","fileName":"Thread.java","lineNumber":840,"nativeMethod":false,"className":"java.lang.Thread"}],"message":"Start times must be in the past. Are in the future for: [challenge2]","suppressed":[],"localizedMessage":"Start times must be in the past. Are in the future for: [challenge2]"},"ok":false}}
{"@timestamp":"2024-04-25T20:39:48.595Z","@version":"1","message":"Request resulted in error.","logger_name":"com.doordash.asgard.decorators.KLoggingDecorator","thread_name":"worker_-epoll-8-5","level":"ERROR","level_value":40000,"trace_id":"dc6380559c30ae422b534dd3615cd73b","trace_flags":"00","span_id":"671635dede87d46e","tenant_id":"prod","method":"POST","path":"/dx_promotion_platform.v1.DasherChallengeService/CreateChallenges","x-client-request-id":"","x-correlation-id":"8c21605c-9f2a-4608-8623-4a208373cb7e","x-session-id":"","request_headers":{":method":"POST",":scheme":"http",":authority":"localhost:50051",":path":"/dx_promotion_platform.v1.DasherChallengeService/CreateChallenges","te":"trailers","grpc-accept-encoding":"identity,gzip,deflate","content-type":"application/grpc","dd-api-secret":"HIDDEN"},"request_trailers":{},"response_headers":{":status":"200","content-type":"application/grpc+proto","grpc-encoding":"identity","grpc-accept-encoding":"gzip","x-correlation-id":"8c21605c-9f2a-4608-8623-4a208373cb7e","grpc-status":"2","content-length":"0","server":"Armeria/1.25.2","date":"Thu, 25 Apr 2024 20:39:48 GMT"},"response_trailers":{},"response":{"http_status":"200","grpc_status":2},"service_name":"dx_promotion_platform.v1.DasherChallengeService","exception":{"type":"io.grpc.StatusRuntimeException","message":"UNKNOWN","stacktrace":"io.grpc.StatusRuntimeException: UNKNOWN\n\tat io.grpc.Status.asRuntimeException(Status.java:537)\n\tat com.linecorp.armeria.internal.common.grpc.StatusAndMetadata.asRuntimeException(StatusAndMetadata.java:53)\n\tat com.linecorp.armeria.internal.common.grpc.GrpcLogUtil.rpcResponse(GrpcLogUtil.java:62)\n\tat com.linecorp.armeria.server.grpc.UnaryServerCall.doClose(UnaryServerCall.java:173)\n\tat com.linecorp.armeria.internal.server.grpc.AbstractServerCall.doClose(AbstractServerCall.java:260)\n\tat com.linecorp.armeria.internal.server.grpc.AbstractServerCall.lambda$close$1(AbstractServerCall.java:227)\n\tat com.linecorp.armeria.common.DefaultContextAwareRunnable.run(DefaultContextAwareRunnable.java:45)\n\tat io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)\n\tat io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)\n\tat io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)\n\tat io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:413)\n\tat io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)\n\tat io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)\n\tat io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat java.base/java.lang.Thread.run(Thread.java:840)\nCaused by: java.lang.IllegalArgumentException: Start times must be in the past. Are in the future for: [challenge2]\n\tat com.doordash.dxpromotionplatform.service.DasherChallengeService.validateStartTimes(DasherChallengeService.kt:162)\n\tat com.doordash.dxpromotionplatform.service.DasherChallengeService.createChallenges(DasherChallengeService.kt:188)\n\tat com.doordash.dxpromotionplatform.grpc.DasherChallengeServiceImpl.createChallenges(DasherChallengeServiceImpl.kt:38)\n\tat com.doordash.rpc.dx_promotion_platform.DasherChallengeServiceGrpcKt$DasherChallengeServiceCoroutineImplBase$bindService$5.invoke(ChallengeGrpcKt.kt:461)\n\tat com.doordash.rpc.dx_promotion_platform.DasherChallengeServiceGrpcKt$DasherChallengeServiceCoroutineImplBase$bindService$5.invoke(ChallengeGrpcKt.kt:290)\n\tat io.grpc.kotlin.ServerCalls$unaryServerMethodDefinition$2$invoke$$inlined$map$1$2.emit(Emitters.kt:224)\n\tat kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:15)\n\tat kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:15)\n\tat kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:87)\n\tat kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:66)\n\tat io.grpc.kotlin.HelpersKt$singleOrStatusFlow$1$1.emit(Helpers.kt:65)\n\tat kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:15)\n\tat kotlinx.coroutines.flow.internal.SafeCollectorKt$emitFun$1.invoke(SafeCollector.kt:15)\n\tat kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:87)\n\tat kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:66)\n\tat io.grpc.kotlin.ServerCalls$serverCallListener$requests$1.invokeSuspend(ServerCalls.kt:228)\n\tat kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)\n\tat kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)\n\t... 8 more\n"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment