我试图让控制台成功操作Azure-Cosmosdb图形数据库。需要明确的是,我使用:gremlin控制台到azure-cosmosdb
:远程连接tinkerpop.server的conf /远程安全-Collection1.yaml
我得到的连接:
配置undefined.graphs.azure.com/52.173 .137.146:443
但在执行查询时出错。每次访问此消息否认:
“小鬼的WebSocket客户未能提供有效的SASL授权信息\ t @:在GraphService.GremlinSession.d
试图跟随来自TinkerPop有关和蔚蓝的联机帮助,不能找到我有配置错误的地方,任何帮助,将不胜感激,下面的全错误文本
意外的输入结束:期待字符串值的关闭报价 at [Source:{“requestId”:“2febb36e -b214-44f1-a811-f9a2afea324e“,”status“:{”code“:401,”attributes“:{},”message“:”Gremlin websocket客户端无法提供有效的SASL授权信息。\ t @: at GraphService.GremlinSession.d__10.MoveNext()\ r ---从上一个位置抛出异常的堆栈跟踪结束--- \ r at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\ r at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)\ r at GraphService.GremlinSession.d__8.MoveNext()\ r ---抛出异常的上一个位置的堆栈跟踪结束--- \ r 在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务个)\ r 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务个)\ r 在GraphService.GremlinClientHandler.d__14.MoveNext()\吨--- >
次访问图形数据库denided \吨@: 在GraphService.GraphConnectionFactory.CreateGraphConnection(字符串documentDBAccountUri,字符串documentDBAccountKey,字符串documentDBDatabaseName,字符串documentDBCollectionName个)\ r 在GraphService.GraphConnectionFactory.GetGraphConnection(字符串documentDBAccountUri,字符串documentDBAccountKey,字符串documentDBDatabaseName,字符串documentDBCollectionName个)\ r 在GraphService.GraphConnectionFactory.GetConnectionFromAuthMessage(字符串用户,字符串password)在GraphService.GremlinSession.CheckSaslAuthorization(字符串challangeResponse个)\ r \ r 在GraphService.GremlinSession.d__10.MoveNext()\叔 - >
发生一个或多个错误\ t @: 在System.Threading.Tasks.Task`1.GetResultCore(布尔waitCompletionNotification)\ r 在GraphService.GraphConnectionFactory.CreateGraphConnection(字符串documentDBAccountUri,字符串documentDBAccountKey,字符串documentDBDatabaseName,字符串documentDBCollectionName)\在发送所述请求吨--->发生
错误\吨@: 在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务个)\ r 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)\ r at Microsoft.Azure.Documents.Client.GatewayServiceConfigurationReader.d__0.MoveNext()\ r ---以前位置的堆栈跟踪结束,其中异常w抛出--- \ r 在System.Runtime.CompilerServices。TaskAwaiter.ThrowForNonSuccess(任务任务)\ r 在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)\ r 在Microsoft.Azure.Documents.Routing.GlobalEndpointManager.d__0.MoveNext(个)\ r - 完堆栈跟踪从以前位置抛出异常--- \ r at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\ r at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)\ r 在Microsoft.Azure.Documents.Client.GatewayServiceConfigurationReader.d__b.MoveNext()\ r ---从上一个位置抛出异常的堆栈跟踪结束--- \ r at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)\ r at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)\ r at Microsoft.Azure.Documents.Client.DocumentClient.d__35d.MoveNext()\ r ---以前位置的堆栈跟踪结束,抛出--- \ r at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\ r at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\ r at Microsoft.Azure.Documents.Client。 DocumentClient.d__29.MoveNext()\ r ---从之前位置抛出异常的堆栈跟踪结束--- \ r 位于System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务任务)\ r 位于System。 Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebugger通知(TAS;行:1,列:8193] 键入':help'或':h'寻求帮助。
请描述更准确,你在做什么,我第一次使用SO根据SO指引 – Mikhail
很抱歉的格式问题格式化异常,所以请点我到相关指引。乐于调整。 –
https://meta.stackexchange.com/questions/22186/how-do-i-format-my-code-blocks – Mikhail