I ran this code:
using Revise, GraknClient, UUIDs
using GraknClient: CoreTransaction, Proto, GraknOptions, bytes
client = GraknClient.CoreClient("127.0.0.1", 1729)
session = GraknClient.CoreSession(client, "phone_calls", GraknClient.grakn.protocol.Session_Type.DATA, GraknClient.GraknOptions())
txn = CoreTransaction(session, session.sessionID, Proto.Transaction_Type.READ, GraknOptions())
The Julia REPL hung, and the Grakn server console shows an error (scroll to bottom):
➜ grakn-server git:(master) ✗ grakn-core-all-mac/grakn server
18:18:02,406 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
18:18:02,407 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
18:18:02,407 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/Users/tomkwong/OpenSource/grakn-server/grakn-core-all-mac/server/conf/logback.xml]
18:18:02,408 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
18:18:02,408 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/Users/tomkwong/OpenSource/grakn-server/grakn-core-all-mac/server/lib/common/io-grakn-core-grakn-server-bin-0.0.0.jar!/logback.xml]
18:18:02,408 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/Users/tomkwong/OpenSource/grakn-server/grakn-core-all-mac/server/conf/logback.xml]
18:18:02,505 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
18:18:02,513 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Will scan for changes in [file:/Users/tomkwong/OpenSource/grakn-server/grakn-core-all-mac/server/conf/logback.xml]
18:18:02,513 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - Setting ReconfigureOnChangeTask scanning period to 30 seconds
18:18:02,517 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
18:18:02,519 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
18:18:02,523 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
18:18:02,570 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
18:18:02,572 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [LOGFILE]
18:18:02,573 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
18:18:02,577 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1961173763 - setting totalSizeCap to 1 GB
18:18:02,579 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1961173763 - Archive files will be limited to [50 MB] each.
18:18:02,580 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1961173763 - Will use gz compression
18:18:02,581 |-INFO in c.q.l.core.rolling.SizeAndTimeBasedRollingPolicy@1961173763 - Will use the pattern /Users/tomkwong/OpenSource/grakn-server/grakn-core-all-mac/server/logs//grakn.log-%d{yyyy-MM}.%i.log for the active file
18:18:02,583 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@47af7f3d - The date pattern is 'yyyy-MM' from file name pattern '/Users/tomkwong/OpenSource/grakn-server/grakn-core-all-mac/server/logs//grakn.log-%d{yyyy-MM}.%i.log.gz'.
18:18:02,583 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@47af7f3d - Rollover at start of every month.
18:18:02,587 |-INFO in ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP@47af7f3d - Setting initial period to Sat Apr 17 18:17:52 PDT 2021
18:18:02,590 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[LOGFILE] - Active log file name: /Users/tomkwong/OpenSource/grakn-server/grakn-core-all-mac/server/logs//grakn.log
18:18:02,590 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[LOGFILE] - File property is set to [/Users/tomkwong/OpenSource/grakn-server/grakn-core-all-mac/server/logs//grakn.log]
18:18:02,591 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN
18:18:02,592 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [grakn.core] to INFO
18:18:02,592 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [LOGFILE] to Logger[grakn.core]
18:18:02,592 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[grakn.core]
18:18:02,592 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
18:18:02,592 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@7c729a55 - Registering current configuration as safe fallback point
====================================================================================================
________ _____ _______ __ ___ __ __ _______ _______ _____ _______
| __ || _ \ | _ || | / /| \ | | | _ || _ || _ \ | ____|
| | |__|| | | | | | | || | / / | \ | | | | |__|| | | || | | | | |
| | ____ | |_/ / | |_| || |/ / | \| | | | | | | || |_/ / | |____
| ||_ || _ \ | _ || _ \ | _ | | | __ | | | || _ \ | ____|
| |__| || | \ \ | | | || | \ \ | | \ | | |_| || |_| || | \ \ | |____
|________||__| \__\|__| |__||__| \__\|__| \__| |_______||_______||__| \__\|_______|
THE KNOWLEDGE GRAPH
====================================================================================================
2021-04-17 18:18:04,550 [main] [INFO ] grakn.core.server.GraknServer - Grakn Core Server is now running and will keep this process alive.
2021-04-17 18:18:04,552 [main] [INFO ] grakn.core.server.GraknServer - You can press CTRL+C to shutdown this server.
2021-04-17 18:18:04,552 [main] [INFO ] grakn.core.server.GraknServer -
2021-04-17 18:18:04,552 [main] [INFO ] grakn.core.server.GraknServer - - version: 2.0.0-alpha-9
2021-04-17 18:18:04,552 [main] [INFO ] grakn.core.server.GraknServer - - listening to port: 1729
2021-04-17 18:18:04,552 [main] [INFO ] grakn.core.server.GraknServer - - data directory configured to: /Users/tomkwong/OpenSource/grakn-server/grakn-core-all-mac/server/data
2021-04-17 18:18:04,553 [main] [INFO ] grakn.core.server.GraknServer - - bootup completed in: 1824 ms
2021-04-17 18:18:04,553 [main] [INFO ] grakn.core.server.GraknServer - ...
Apr 17, 2021 6:18:15 PM io.grpc.internal.SerializingExecutor run
SEVERE: Exception while executing runnable io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1MessagesAvailable@60fa2136
io.grpc.StatusRuntimeException: INTERNAL: Invalid protobuf byte sequence
at io.grpc.Status.asRuntimeException(Status.java:524)
at io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller.parse(ProtoLiteUtils.java:218)
at io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller.parse(ProtoLiteUtils.java:118)
at io.grpc.MethodDescriptor.parseRequest(MethodDescriptor.java:307)
at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.messagesAvailableInternal(ServerCallImpl.java:309)
at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.messagesAvailable(ServerCallImpl.java:292)
at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1MessagesAvailable.runInContext(ServerImpl.java:782)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.google.protobuf.InvalidProtocolBufferException: Protocol message had invalid UTF-8.
at com.google.protobuf.InvalidProtocolBufferException.invalidUtf8(InvalidProtocolBufferException.java:141)
at com.google.protobuf.Utf8$DecodeUtil.handleTwoBytes(Utf8.java:1909)
at com.google.protobuf.Utf8$DecodeUtil.access$700(Utf8.java:1883)
at com.google.protobuf.Utf8$UnsafeProcessor.decodeUtf8(Utf8.java:1411)
at com.google.protobuf.Utf8.decodeUtf8(Utf8.java:340)
at com.google.protobuf.CodedInputStream$ArrayDecoder.readStringRequireUtf8(CodedInputStream.java:810)
at grakn.protocol.TransactionProto$Transaction$Req.<init>(TransactionProto.java:2109)
at grakn.protocol.TransactionProto$Transaction$Req.<init>(TransactionProto.java:2071)
at grakn.protocol.TransactionProto$Transaction$Req$1.parsePartialFrom(TransactionProto.java:4970)
at grakn.protocol.TransactionProto$Transaction$Req$1.parsePartialFrom(TransactionProto.java:4964)
at com.google.protobuf.CodedInputStream$ArrayDecoder.readMessage(CodedInputStream.java:889)
at grakn.protocol.TransactionProto$Transaction$Client.<init>(TransactionProto.java:263)
at grakn.protocol.TransactionProto$Transaction$Client.<init>(TransactionProto.java:220)
at grakn.protocol.TransactionProto$Transaction$Client$1.parsePartialFrom(TransactionProto.java:951)
at grakn.protocol.TransactionProto$Transaction$Client$1.parsePartialFrom(TransactionProto.java:945)
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:86)
at com.google.protobuf.AbstractParser.parseFrom(AbstractParser.java:48)
at io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller.parseFrom(ProtoLiteUtils.java:223)
at io.grpc.protobuf.lite.ProtoLiteUtils$MessageMarshaller.parse(ProtoLiteUtils.java:215)
... 10 more