xyk98 opened a new issue, #2545:
URL: https://github.com/apache/incubator-hugegraph/issues/2545

   ### Problem Type (问题类型)
   
   server status (启动/运行异常)
   
   ### Before submit
   
   - [X] 我已经确认现有的 [Issues](https://github.com/apache/hugegraph/issues) 与 
[FAQ](https://hugegraph.apache.org/docs/guides/faq/) 中没有相同 / 重复问题 (I have 
confirmed and searched that there are no similar problems in the historical 
issue and documents)
   
   ### Environment (环境信息)
   
   - Server Version: 1.2.0
   
   
   ### Your Question (问题描述)
   
   After deploying hugegraph and hugegraph-hubble via docker, running the 
example using CypherAPI on the swagger page reported an error.
   
   CypherAPI [GET] Input:
   graph:hugegraph
   cypher:match(n:person) return n.name as name order by n.name limit 1
   
   error message:
   {
     "exception": "class jakarta.ws.rs.NotAuthorizedException",
     "message": "HTTP 401 Unauthorized",
     "cause": ""
   }
   
   docker-compose.yml:
   version: '3'
   services:
     hugegraph-server:
       image: hugegraph/hugegraph:1.2.0
       container_name: hugegraph
       restart: always
       environment:
         - PRELOAD=true
       volumes:
         - ./script:/hugegraph/scripts/example.groovy
       ports:
         - 18080:8080
   
     hugegraph-hubble:
       image: hugegraph/hubble:1.2.0
       container_name: hugegraph-hubble
       restart: always
       environment:
         - LANG=C.UTF-8
         - LANGUAGE=C.UTF-8
         - LC_ALL=C.UTF-8
       ports:
         - 18088:8088
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   _No response_
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to