Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sarosejoshi/f5ff5e3cd53d46b293fb98777169373c to your computer and use it in GitHub Desktop.
Save sarosejoshi/f5ff5e3cd53d46b293fb98777169373c to your computer and use it in GitHub Desktop.
/p/k/p/f/c/t/k/helm ❯❯❯ kubectl logs consentifier-app-5884dbb997-wp8fd -c consentifier -f ⏎ hotfix/endpoints ✭ ✱
{"@timestamp":"2018-07-20T10:16:29.714+00:00","@version":"1","message":"Service bound to address /0:0:0:0:0:0:0:0:9001","logger_name":"org.http4s.blaze.channel.nio1.NIO1SocketServerGroup","thread_name":"main","level":"INFO","level_value":20000,"severity":"level_IS_UNDEFINED"}
{"@timestamp":"2018-07-20T10:16:29.911+00:00","@version":"1","message":" _ _ _ _ _ ","logger_name":"org.http4s.server.blaze.BlazeBuilder","thread_name":"main","level":"INFO","level_value":20000,"severity":"level_IS_UNDEFINED"}
{"@timestamp":"2018-07-20T10:16:29.913+00:00","@version":"1","message":" | |_| |_| |_ _ __| | | ___","logger_name":"org.http4s.server.blaze.BlazeBuilder","thread_name":"main","level":"INFO","level_value":20000,"severity":"level_IS_UNDEFINED"}
{"@timestamp":"2018-07-20T10:16:29.914+00:00","@version":"1","message":" | ' \\ _| _| '_ \\_ _(_-<","logger_name":"org.http4s.server.blaze.BlazeBuilder","thread_name":"main","level":"INFO","level_value":20000,"severity":"level_IS_UNDEFINED"}
{"@timestamp":"2018-07-20T10:16:29.916+00:00","@version":"1","message":" |_||_\\__|\\__| .__/ |_|/__/","logger_name":"org.http4s.server.blaze.BlazeBuilder","thread_name":"main","level":"INFO","level_value":20000,"severity":"level_IS_UNDEFINED"}
{"@timestamp":"2018-07-20T10:16:29.916+00:00","@version":"1","message":" |_|","logger_name":"org.http4s.server.blaze.BlazeBuilder","thread_name":"main","level":"INFO","level_value":20000,"severity":"level_IS_UNDEFINED"}
{"@timestamp":"2018-07-20T10:16:31.208+00:00","@version":"1","message":"http4s v0.18.12 on blaze v0.12.13 started at http://[0:0:0:0:0:0:0:0]:9001/","logger_name":"org.http4s.server.blaze.BlazeBuilder","thread_name":"main","level":"INFO","level_value":20000,"severity":"level_IS_UNDEFINED"}
{"@timestamp":"2018-07-20T10:16:39.309+00:00","@version":"1","message":"Connection to /127.0.0.1:48680 accepted at Fri Jul 20 10:16:39 UTC 2018.","logger_name":"org.http4s.blaze.channel.ServerChannelGroup","thread_name":"blaze-nio1-acceptor","level":"INFO","level_value":20000,"severity":"level_IS_UNDEFINED"}
{"@timestamp":"2018-07-20T10:16:49.107+00:00","@version":"1","message":"Error servicing request: POST /consent from 127.0.0.1","logger_name":"org.http4s.server.service-errors","thread_name":"scala-execution-context-global-21","level":"ERROR","level_value":40000,"stack_trace":"com.google.cloud.datastore.DatastoreException: Missing or insufficient permissions.\n\tat com.google.cloud.datastore.spi.v1.HttpDatastoreRpc.translate(HttpDatastoreRpc.java:129)\n\tat com.google.cloud.datastore.spi.v1.HttpDatastoreRpc.translate(HttpDatastoreRpc.java:114)\n\tat com.google.cloud.datastore.spi.v1.HttpDatastoreRpc.allocateIds(HttpDatastoreRpc.java:137)\n\tat com.google.cloud.datastore.DatastoreImpl$2.call(DatastoreImpl.java:227)\n\tat com.google.cloud.datastore.DatastoreImpl$2.call(DatastoreImpl.java:223)\n\tat com.google.api.gax.retrying.DirectRetryingExecutor.submit(DirectRetryingExecutor.java:89)\n\tat com.google.cloud.RetryHelper.run(RetryHelper.java:74)\n\tat com.google.cloud.RetryHelper.runWithRetries(RetryHelper.java:51)\n\tat com.google.cloud.datastore.DatastoreImpl.allocateIds(DatastoreImpl.java:222)\n\tat com.google.cloud.datastore.DatastoreImpl.allocateId(DatastoreImpl.java:211)\n\tat com.google.cloud.datastore.DatastoreHelper.allocateId(DatastoreHelper.java:38)\n\tat com.google.cloud.datastore.DatastoreImpl.allocateId(DatastoreImpl.java:188)\n\tat de.kenkou.consentifier.repository.DatastoreConsentRepository.$anonfun$save$1(DatastoreConsentRepository.scala:47)\n\tat scala.runtime.java8.JFunction0$mcJ$sp.apply(JFunction0$mcJ$sp.java:12)\n\tat scala.concurrent.Future$.$anonfun$apply$1(Future.scala:654)\n\tat scala.util.Success.$anonfun$map$1(Try.scala:251)\n\tat scala.util.Success.map(Try.scala:209)\n\tat scala.concurrent.Future.$anonfun$map$1(Future.scala:288)\n\tat scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:29)\n\tat scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:29)\n\tat scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)\nCaused by: com.google.datastore.v1.client.DatastoreException: Missing or insufficient permissions.\n\tat com.google.datastore.v1.client.RemoteRpc.makeException(RemoteRpc.java:226)\n\tat com.google.datastore.v1.client.RemoteRpc.makeException(RemoteRpc.java:275)\n\tat com.google.datastore.v1.client.RemoteRpc.call(RemoteRpc.java:186)\n\tat com.google.datastore.v1.client.Datastore.allocateIds(Datastore.java:70)\n\tat com.google.cloud.datastore.spi.v1.HttpDatastoreRpc.allocateIds(HttpDatastoreRpc.java:135)\n\t... 21 common frames omitted\n","severity":"level_IS_UNDEFINED"}
{"@timestamp":"2018-07-20T10:16:54.108+00:00","@version":"1","message":"Unexpected error on publishing to Pub/Sub","logger_name":"de.kenkou.consentifier.publisher.PubsubConsentPublisher","thread_name":"Gax-3","level":"ERROR","level_value":40000,"stack_trace":"com.google.api.gax.rpc.PermissionDeniedException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: User not authorized to perform this action.\n\tat com.google.api.gax.rpc.ApiExceptionFactory.createException(ApiExceptionFactory.java:55)\n\tat com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:72)\n\tat com.google.api.gax.grpc.GrpcApiExceptionFactory.create(GrpcApiExceptionFactory.java:60)\n\tat com.google.api.gax.grpc.GrpcExceptionCallable$ExceptionTransformingFuture.onFailure(GrpcExceptionCallable.java:95)\n\tat com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:61)\n\tat com.google.common.util.concurrent.Futures$4.run(Futures.java:1123)\n\tat com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:435)\n\tat com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:900)\n\tat com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:811)\n\tat com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:675)\n\tat io.grpc.stub.ClientCalls$GrpcFuture.setException(ClientCalls.java:492)\n\tat io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:467)\n\tat io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)\n\tat io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)\n\tat io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)\n\tat io.grpc.internal.CensusStatsModule$StatsClientInterceptor$1$1.onClose(CensusStatsModule.java:684)\n\tat io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)\n\tat io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)\n\tat io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)\n\tat io.grpc.internal.CensusTracingModule$TracingClientInterceptor$1$1.onClose(CensusTracingModule.java:391)\n\tat io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:471)\n\tat io.grpc.internal.ClientCallImpl.access$300(ClientCallImpl.java:63)\n\tat io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.close(ClientCallImpl.java:553)\n\tat io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl.access$600(ClientCallImpl.java:474)\n\tat io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1StreamClosed.runInContext(ClientCallImpl.java:591)\n\tat io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)\n\tat io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)\nCaused by: io.grpc.StatusRuntimeException: PERMISSION_DENIED: User not authorized to perform this action.\n\tat io.grpc.Status.asRuntimeException(Status.java:526)\n\t... 23 common frames omitted\n","severity":"level_IS_UNDEFINED"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment