nebula graph studio无法连接,提示配置失败

  • nebula 版本:2.0.0
  • 部署方式(分布式 / 单机 / Docker / DBaaS):Docker

今天下午4点在一台新服务器上部署了db和studio(都是使用docker-compose),发现studio无法连接db,无论是使用服务器的外网地址还是127.0.0.1
snipaste_20210722_191116

其他情况:
1.我查阅了论坛的其他帖子,大概率是端口未开放的问题,我的不是这个问题

2.f12打开控制台看到一个connect的api返回404,其中Remote Address指向一个奇怪的地址


3.我在本地(windows)使用docker-compose安装了studio,同样出现了这个问题

4.我在另一台之前部署过studio的服务器(和问题服务器不是同一个云服务器运营商,不是局域网)可以连接成功,可以执行语句

5.今天群里有另外两个人出现了这个问题

麻烦大佬解惑下可能是什么问题

你把配置文件贴一下,感觉是 nginx 那边没配置好呀。你配置文件贴一下

docker-compose使用的默认配置

version: '3.4'
services:
  client:
    image: vesoft/nebula-http-gateway:v2
    environment:
      USER: root
    ports:
      - 8080
    networks:
      - nebula-web
  web:
    image: vesoft/nebula-graph-studio:v2
    environment:
      USER: root
      UPLOAD_DIR: ${MAPPING_DOCKER_DIR}
    ports:
      - 7001
    depends_on:
      - client
    volumes:
      - ${UPLOAD_DIR}:${MAPPING_DOCKER_DIR}:rw
    networks:
      - nebula-web
  importer:
    image: vesoft/nebula-importer:v2
    networks:
      - nebula-web
    ports:
      - 5699
    volumes:
      - ${UPLOAD_DIR}:${MAPPING_DOCKER_DIR}:rw
    command:
      - "--port=5699"
      - "--callback=http://nginx:7001/api/import/finish"
  nginx:
    image: nginx:alpine
    volumes:
      - ./nginx/nginx.conf:/etc/nginx/conf.d/nebula.conf
      - ${UPLOAD_DIR}:${MAPPING_DOCKER_DIR}:rw
    depends_on:
      - client
      - web
    networks:
      - nebula-web
    ports:
      - 7001:7001

networks:
  nebula-web:

为啥你的 docker compose 配置文件里没有配置 mate、storage、graph?你可以看下这个视频 用 Docker 部署 Nebula Graph 2.0 和 Nebula Studio 2.0_哔哩哔哩_bilibili 应该不会出现啥问题,按照他的步骤来操作

https://oss-cdn.nebula-graph.com.cn/nebula-graph-studio/nebula-graph-studio-v2.tar.gz

这个压缩包里的docker-compose.yml确实是这样的…


所以你的 Host 那填写的是什么地址和端口号

服务器ip:9669

而在之前部署过studio的服务器可以连接这台新服务的db


可以看一下现在的studio部署里的 http gw 进程和log么?

http 进程

root      1142  1093  0 16:22 ?        00:00:00 ./nebula-http-gateway
root      1143  1095  0 16:22 ?        00:00:00 nebula-importer --port=5699 --callback=http://nginx:7001/api/import/finish
root      1569  1551  0 16:22 ?        00:00:00 /usr/local/bin/node --no-deprecation --require /nebula-graph-studio/node_modules/source-map-support/register.js /nebula-graph-studio/node_modules/egg-cluster/lib/agent_worker.js {"framework":"/nebula-graph-studio/node_modules/egg","baseDir":"/nebula-graph-studio","workers":4,"plugins":null,"https":false,"title":"egg-server-nebula-graph-studio","clusterPort":42457}
root      1580  1551  0 16:22 ?        00:00:01 /usr/local/bin/node --no-deprecation --require /nebula-graph-studio/node_modules/source-map-support/register.js /nebula-graph-studio/node_modules/egg-cluster/lib/app_worker.js {"framework":"/nebula-graph-studio/node_modules/egg","baseDir":"/nebula-graph-studio","workers":4,"plugins":null,"https":false,"title":"egg-server-nebula-graph-studio","clusterPort":42457}
root      1581  1551  0 16:22 ?        00:00:01 /usr/local/bin/node --no-deprecation --require /nebula-graph-studio/node_modules/source-map-support/register.js /nebula-graph-studio/node_modules/egg-cluster/lib/app_worker.js {"framework":"/nebula-graph-studio/node_modules/egg","baseDir":"/nebula-graph-studio","workers":4,"plugins":null,"https":false,"title":"egg-server-nebula-graph-studio","clusterPort":42457}
root      1593  1551  0 16:22 ?        00:00:01 /usr/local/bin/node --no-deprecation --require /nebula-graph-studio/node_modules/source-map-support/register.js /nebula-graph-studio/node_modules/egg-cluster/lib/app_worker.js {"framework":"/nebula-graph-studio/node_modules/egg","baseDir":"/nebula-graph-studio","workers":4,"plugins":null,"https":false,"title":"egg-server-nebula-graph-studio","clusterPort":42457}
root      1600  1551  0 16:22 ?        00:00:01 /usr/local/bin/node --no-deprecation --require /nebula-graph-studio/node_modules/source-map-support/register.js /nebula-graph-studio/node_modules/egg-cluster/lib/app_worker.js {"framework":"/nebula-graph-studio/node_modules/egg","baseDir":"/nebula-graph-studio","workers":4,"plugins":null,"https":false,"title":"egg-server-nebula-graph-studio","clusterPort":42457}
root      2543  1463  0 16:24 pts/0    00:00:00 grep --color=auto http
root      2638  2573  0 Jul22 ?        00:10:38 ./bin/nebula-metad --flagfile=./etc/nebula-metad.conf --daemonize=false --meta_server_addrs=metad0:9559,metad1:9559,metad2:9559 --local_ip=metad2 --ws_ip=metad2 --port=9559 --ws_http_port=19559 --data_path=/data/meta --log_dir=/logs --v=0 --minloglevel=0
root      2656  2598  0 Jul22 ?        00:08:14 ./bin/nebula-metad --flagfile=./etc/nebula-metad.conf --daemonize=false --meta_server_addrs=metad0:9559,metad1:9559,metad2:9559 --local_ip=metad1 --ws_ip=metad1 --port=9559 --ws_http_port=19559 --data_path=/data/meta --log_dir=/logs --v=0 --minloglevel=0
root      2665  2625  0 Jul22 ?        00:08:16 ./bin/nebula-metad --flagfile=./etc/nebula-metad.conf --daemonize=false --meta_server_addrs=metad0:9559,metad1:9559,metad2:9559 --local_ip=metad0 --ws_ip=metad0 --port=9559 --ws_http_port=19559 --data_path=/data/meta --log_dir=/logs --v=0 --minloglevel=0
root      3296  3255  0 Jul22 ?        00:03:48 ./bin/nebula-storaged --flagfile=./etc/nebula-storaged.conf --daemonize=false --meta_server_addrs=metad0:9559,metad1:9559,metad2:9559 --local_ip=storaged0 --ws_ip=storaged0 --port=9779 --ws_http_port=19779 --data_path=/data/storage --log_dir=/logs --v=0 --minloglevel=0
root      3485  3406  0 Jul22 ?        00:00:15 /usr/local/nebula/bin/nebula-graphd --flagfile=/usr/local/nebula/etc/nebula-graphd.conf --daemonize=false --meta_server_addrs=metad0:9559,metad1:9559,metad2:9559 --port=9669 --ws_ip=graphd1 --ws_http_port=19669 --log_dir=/logs --v=0 --minloglevel=0
root      3516  3435  0 Jul22 ?        00:03:52 ./bin/nebula-storaged --flagfile=./etc/nebula-storaged.conf --daemonize=false --meta_server_addrs=metad0:9559,metad1:9559,metad2:9559 --local_ip=storaged1 --ws_ip=storaged1 --port=9779 --ws_http_port=19779 --data_path=/data/storage --log_dir=/logs --v=0 --minloglevel=0
root      3527  3459  0 Jul22 ?        00:00:15 /usr/local/nebula/bin/nebula-graphd --flagfile=/usr/local/nebula/etc/nebula-graphd.conf --daemonize=false --meta_server_addrs=metad0:9559,metad1:9559,metad2:9559 --port=9669 --ws_ip=graphd2 --ws_http_port=19669 --log_dir=/logs --v=0 --minloglevel=0
root      3659  3600  0 Jul22 ?        00:01:03 /usr/local/nebula/bin/nebula-graphd --flagfile=/usr/local/nebula/etc/nebula-graphd.conf --daemonize=false --meta_server_addrs=metad0:9559,metad1:9559,metad2:9559 --port=9669 --ws_ip=graphd --ws_http_port=19669 --log_dir=/logs --v=0 --minloglevel=0
root      3808  3725  0 Jul22 ?        00:03:47 ./bin/nebula-storaged --flagfile=./etc/nebula-storaged.conf --daemonize=false --meta_server_addrs=metad0:9559,metad1:9559,metad2:9559 --local_ip=storaged2 --ws_ip=storaged2 --port=9779 --ws_http_port=19779 --data_path=/data/storage --log_dir=/logs --v=0 --minloglevel=0

没有gw进程

docker-compose logs

web_1       | > nebula-graph-studio@2.2.1 docker-start /nebula-graph-studio
web_1       | > egg-scripts start --title=egg-server-nebula-graph-studio
web_1       | 
web_1       | [egg-scripts] Starting egg application at /nebula-graph-studio
web_1       | [egg-scripts] Run node --no-deprecation --require /nebula-graph-studio/node_modules/source-map-support/register.js /nebula-graph-studio/node_modules/egg-scripts/lib/start-cluster {"title":"egg-server-nebula-graph-studio","baseDir":"/nebula-graph-studio","framework":"/nebula-graph-studio/node_modules/egg"} --title=egg-server-nebula-graph-studio
web_1       | 2021-07-23 08:22:39,192 INFO 30 [master] =================== egg start =====================
web_1       | 2021-07-23 08:22:39,193 INFO 30 [master] node version v12.22.3
web_1       | 2021-07-23 08:22:39,193 INFO 30 [master] egg version 2.29.4
web_1       | 2021-07-23 08:22:39,193 INFO 30 [master] start with options:
web_1       | {
web_1       |   "framework": "/nebula-graph-studio/node_modules/egg",
web_1       |   "baseDir": "/nebula-graph-studio",
web_1       |   "workers": 4,
web_1       |   "plugins": null,
web_1       |   "https": false,
web_1       |   "title": "egg-server-nebula-graph-studio"
web_1       | }
web_1       | 2021-07-23 08:22:39,193 INFO 30 [master] start with env: isProduction: true, EGG_SERVER_ENV: undefined, NODE_ENV: production
web_1       | 2021-07-23 08:22:39,204 INFO 30 [master] agent_worker#1:37 start with clusterPort:42457
web_1       | 2021-07-23 08:22:39,681 INFO 37 Plugin development is disabled by env unmatched, require env([ 'local' ]) but got env is prod
web_1       | 2021-07-23 08:22:39,703 INFO 37 [egg:core] App root: /nebula-graph-studio
web_1       | 2021-07-23 08:22:39,703 INFO 37 [egg:core] All *.log files save on "/root/logs/nebula-graph-studio"
web_1       | 2021-07-23 08:22:39,703 INFO 37 [egg:core] Loaded enabled plugin [{"enable":true,"package":"egg-session","name":"session","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-session","version":"3.3.0"},{"enable":true,"package":"egg-security","name":"security","dependencies":[],"optionalDependencies":["session"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-security","version":"2.9.0"},{"enable":true,"package":"egg-jsonp","name":"jsonp","dependencies":[],"optionalDependencies":["security"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-jsonp","version":"2.0.0"},{"enable":true,"package":"egg-onerror","name":"onerror","dependencies":[],"optionalDependencies":["jsonp"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-onerror","version":"2.1.0"},{"enable":true,"package":"egg-i18n","name":"i18n","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-i18n","version":"2.1.1"},{"enable":true,"package":"egg-watcher","name":"watcher","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-watcher","version":"3.1.1"},{"enable":true,"package":"egg-schedule","name":"schedule","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-schedule","version":"3.6.6"},{"enable":true,"package":"egg-multipart","name":"multipart","dependencies":[],"optionalDependencies":["schedule"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-multipart","version":"2.13.0"},{"enable":true,"package":"egg-logrotator","name":"logrotator","dependencies":["schedule"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-logrotator","version":"3.1.0"},{"enable":true,"package":"egg-static","name":"static","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-static","version":"2.2.0"},{"enable":true,"package":"egg-view","name":"view","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view","version":"2.1.3"},{"enable":true,"package":"egg-view-assets","name":"assets","dependencies":["view"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view-assets","version":"1.7.0"},{"enable":true,"package":"egg-view-nunjucks","name":"nunjucks","dependencies":["security","view"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view-nunjucks","version":"2.3.0"}]
web_1       | 2021-07-23 08:22:39,823 INFO 37 [egg:logger] init all loggers with options: {"dir":"/root/logs/nebula-graph-studio","encoding":"utf8","env":"prod","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":true,"outputJSON":false,"buffer":true,"appLogName":"nebula-graph-studio-web.log","coreLogName":"egg-web.log","agentLogName":"egg-agent.log","errorLogName":"common-error.log","coreLogger":{},"allowDebugAtProd":false,"type":"agent"}
web_1       | 2021-07-23 08:22:39,833 INFO 37 [egg:core] dump config after load, 5ms
web_1       | 2021-07-23 08:22:39,862 INFO 37 [egg-watcher:agent] watcher start success
web_1       | 2021-07-23 08:22:39,863 INFO 37 [egg:core:ready_stat] end ready task /nebula-graph-studio/node_modules/egg-schedule/agent.js:12:9, remain ["/nebula-graph-studio/node_modules/egg-watcher/lib/init.js:15:14"]
web_1       | 2021-07-23 08:22:39,863 WARN 37 [egg-watcher] defaultEventSource watcher will NOT take effect
web_1       | 2021-07-23 08:22:39,863 INFO 37 [egg:core:ready_stat] end ready task /nebula-graph-studio/node_modules/egg-watcher/lib/init.js:15:14, remain []
web_1       | 2021-07-23 08:22:39,865 INFO 30 [master] agent_worker#1:37 started (669ms)
web_1       | 2021-07-23 08:22:39,866 INFO 30 [master] start appWorker with args ["{\"framework\":\"/nebula-graph-studio/node_modules/egg\",\"baseDir\":\"/nebula-graph-studio\",\"workers\":4,\"plugins\":null,\"https\":false,\"title\":\"egg-server-nebula-graph-studio\",\"clusterPort\":42457}"]
web_1       | 2021-07-23 08:22:39,902 INFO 30 [master] app_worker#1:48 start, state: none, current workers: ["1","2","3","4"]
web_1       | 2021-07-23 08:22:39,902 INFO 30 [master] app_worker#2:49 start, state: none, current workers: ["1","2","3","4"]
web_1       | 2021-07-23 08:22:39,902 INFO 30 [master] app_worker#3:61 start, state: none, current workers: ["1","2","3","4"]
web_1       | 2021-07-23 08:22:39,902 INFO 30 [master] app_worker#4:68 start, state: none, current workers: ["1","2","3","4"]
web_1       | 2021-07-23 08:22:40,371 INFO 49 Plugin development is disabled by env unmatched, require env([ 'local' ]) but got env is prod
web_1       | 2021-07-23 08:22:40,391 INFO 49 [egg:core] App root: /nebula-graph-studio
web_1       | 2021-07-23 08:22:40,391 INFO 49 [egg:core] All *.log files save on "/root/logs/nebula-graph-studio"
web_1       | 2021-07-23 08:22:40,391 INFO 49 [egg:core] Loaded enabled plugin [{"enable":true,"package":"egg-session","name":"session","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-session","version":"3.3.0"},{"enable":true,"package":"egg-security","name":"security","dependencies":[],"optionalDependencies":["session"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-security","version":"2.9.0"},{"enable":true,"package":"egg-jsonp","name":"jsonp","dependencies":[],"optionalDependencies":["security"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-jsonp","version":"2.0.0"},{"enable":true,"package":"egg-onerror","name":"onerror","dependencies":[],"optionalDependencies":["jsonp"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-onerror","version":"2.1.0"},{"enable":true,"package":"egg-i18n","name":"i18n","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-i18n","version":"2.1.1"},{"enable":true,"package":"egg-watcher","name":"watcher","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-watcher","version":"3.1.1"},{"enable":true,"package":"egg-schedule","name":"schedule","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-schedule","version":"3.6.6"},{"enable":true,"package":"egg-multipart","name":"multipart","dependencies":[],"optionalDependencies":["schedule"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-multipart","version":"2.13.0"},{"enable":true,"package":"egg-logrotator","name":"logrotator","dependencies":["schedule"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-logrotator","version":"3.1.0"},{"enable":true,"package":"egg-static","name":"static","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-static","version":"2.2.0"},{"enable":true,"package":"egg-view","name":"view","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view","version":"2.1.3"},{"enable":true,"package":"egg-view-assets","name":"assets","dependencies":["view"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view-assets","version":"1.7.0"},{"enable":true,"package":"egg-view-nunjucks","name":"nunjucks","dependencies":["security","view"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view-nunjucks","version":"2.3.0"}]
web_1       | 2021-07-23 08:22:40,414 INFO 68 Plugin development is disabled by env unmatched, require env([ 'local' ]) but got env is prod
web_1       | 2021-07-23 08:22:40,421 INFO 61 Plugin development is disabled by env unmatched, require env([ 'local' ]) but got env is prod
web_1       | 2021-07-23 08:22:40,428 INFO 48 Plugin development is disabled by env unmatched, require env([ 'local' ]) but got env is prod
web_1       | 2021-07-23 08:22:40,435 INFO 68 [egg:core] App root: /nebula-graph-studio
web_1       | 2021-07-23 08:22:40,435 INFO 68 [egg:core] All *.log files save on "/root/logs/nebula-graph-studio"
web_1       | 2021-07-23 08:22:40,435 INFO 68 [egg:core] Loaded enabled plugin [{"enable":true,"package":"egg-session","name":"session","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-session","version":"3.3.0"},{"enable":true,"package":"egg-security","name":"security","dependencies":[],"optionalDependencies":["session"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-security","version":"2.9.0"},{"enable":true,"package":"egg-jsonp","name":"jsonp","dependencies":[],"optionalDependencies":["security"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-jsonp","version":"2.0.0"},{"enable":true,"package":"egg-onerror","name":"onerror","dependencies":[],"optionalDependencies":["jsonp"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-onerror","version":"2.1.0"},{"enable":true,"package":"egg-i18n","name":"i18n","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-i18n","version":"2.1.1"},{"enable":true,"package":"egg-watcher","name":"watcher","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-watcher","version":"3.1.1"},{"enable":true,"package":"egg-schedule","name":"schedule","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-schedule","version":"3.6.6"},{"enable":true,"package":"egg-multipart","name":"multipart","dependencies":[],"optionalDependencies":["schedule"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-multipart","version":"2.13.0"},{"enable":true,"package":"egg-logrotator","name":"logrotator","dependencies":["schedule"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-logrotator","version":"3.1.0"},{"enable":true,"package":"egg-static","name":"static","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-static","version":"2.2.0"},{"enable":true,"package":"egg-view","name":"view","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view","version":"2.1.3"},{"enable":true,"package":"egg-view-assets","name":"assets","dependencies":["view"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view-assets","version":"1.7.0"},{"enable":true,"package":"egg-view-nunjucks","name":"nunjucks","dependencies":["security","view"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view-nunjucks","version":"2.3.0"}]
web_1       | 2021-07-23 08:22:40,444 INFO 61 [egg:core] App root: /nebula-graph-studio
web_1       | 2021-07-23 08:22:40,445 INFO 61 [egg:core] All *.log files save on "/root/logs/nebula-graph-studio"
web_1       | 2021-07-23 08:22:40,445 INFO 61 [egg:core] Loaded enabled plugin [{"enable":true,"package":"egg-session","name":"session","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-session","version":"3.3.0"},{"enable":true,"package":"egg-security","name":"security","dependencies":[],"optionalDependencies":["session"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-security","version":"2.9.0"},{"enable":true,"package":"egg-jsonp","name":"jsonp","dependencies":[],"optionalDependencies":["security"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-jsonp","version":"2.0.0"},{"enable":true,"package":"egg-onerror","name":"onerror","dependencies":[],"optionalDependencies":["jsonp"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-onerror","version":"2.1.0"},{"enable":true,"package":"egg-i18n","name":"i18n","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-i18n","version":"2.1.1"},{"enable":true,"package":"egg-watcher","name":"watcher","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-watcher","version":"3.1.1"},{"enable":true,"package":"egg-schedule","name":"schedule","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-schedule","version":"3.6.6"},{"enable":true,"package":"egg-multipart","name":"multipart","dependencies":[],"optionalDependencies":["schedule"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-multipart","version":"2.13.0"},{"enable":true,"package":"egg-logrotator","name":"logrotator","dependencies":["schedule"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-logrotator","version":"3.1.0"},{"enable":true,"package":"egg-static","name":"static","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-static","version":"2.2.0"},{"enable":true,"package":"egg-view","name":"view","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view","version":"2.1.3"},{"enable":true,"package":"egg-view-assets","name":"assets","dependencies":["view"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view-assets","version":"1.7.0"},{"enable":true,"package":"egg-view-nunjucks","name":"nunjucks","dependencies":["security","view"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view-nunjucks","version":"2.3.0"}]
web_1       | 2021-07-23 08:22:40,450 INFO 48 [egg:core] App root: /nebula-graph-studio
web_1       | 2021-07-23 08:22:40,451 INFO 48 [egg:core] All *.log files save on "/root/logs/nebula-graph-studio"
web_1       | 2021-07-23 08:22:40,451 INFO 48 [egg:core] Loaded enabled plugin [{"enable":true,"package":"egg-session","name":"session","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-session","version":"3.3.0"},{"enable":true,"package":"egg-security","name":"security","dependencies":[],"optionalDependencies":["session"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-security","version":"2.9.0"},{"enable":true,"package":"egg-jsonp","name":"jsonp","dependencies":[],"optionalDependencies":["security"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-jsonp","version":"2.0.0"},{"enable":true,"package":"egg-onerror","name":"onerror","dependencies":[],"optionalDependencies":["jsonp"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-onerror","version":"2.1.0"},{"enable":true,"package":"egg-i18n","name":"i18n","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-i18n","version":"2.1.1"},{"enable":true,"package":"egg-watcher","name":"watcher","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-watcher","version":"3.1.1"},{"enable":true,"package":"egg-schedule","name":"schedule","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-schedule","version":"3.6.6"},{"enable":true,"package":"egg-multipart","name":"multipart","dependencies":[],"optionalDependencies":["schedule"],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-multipart","version":"2.13.0"},{"enable":true,"package":"egg-logrotator","name":"logrotator","dependencies":["schedule"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-logrotator","version":"3.1.0"},{"enable":true,"package":"egg-static","name":"static","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-static","version":"2.2.0"},{"enable":true,"package":"egg-view","name":"view","dependencies":[],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/node_modules/egg/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view","version":"2.1.3"},{"enable":true,"package":"egg-view-assets","name":"assets","dependencies":["view"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view-assets","version":"1.7.0"},{"enable":true,"package":"egg-view-nunjucks","name":"nunjucks","dependencies":["security","view"],"optionalDependencies":[],"env":[],"from":"/nebula-graph-studio/config/plugin.js","path":"/nebula-graph-studio/node_modules/egg-view-nunjucks","version":"2.3.0"}]
web_1       | 2021-07-23 08:22:40,568 INFO 49 [egg:logger] init all loggers with options: {"dir":"/root/logs/nebula-graph-studio","encoding":"utf8","env":"prod","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":true,"outputJSON":false,"buffer":true,"appLogName":"nebula-graph-studio-web.log","coreLogName":"egg-web.log","agentLogName":"egg-agent.log","errorLogName":"common-error.log","coreLogger":{},"allowDebugAtProd":false,"type":"application"}
web_1       | 2021-07-23 08:22:40,593 INFO 49 [egg-multipart] stream mode enable
web_1       | 2021-07-23 08:22:40,593 INFO 49 [egg-multipart] will save temporary files to "/tmp/egg-multipart-tmp/nebula-graph-studio", cleanup job cron: "0 30 4 * * *"
web_1       | 2021-07-23 08:22:40,606 INFO 68 [egg:logger] init all loggers with options: {"dir":"/root/logs/nebula-graph-studio","encoding":"utf8","env":"prod","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":true,"outputJSON":false,"buffer":true,"appLogName":"nebula-graph-studio-web.log","coreLogName":"egg-web.log","agentLogName":"egg-agent.log","errorLogName":"common-error.log","coreLogger":{},"allowDebugAtProd":false,"type":"application"}
web_1       | 2021-07-23 08:22:40,623 INFO 61 [egg:logger] init all loggers with options: {"dir":"/root/logs/nebula-graph-studio","encoding":"utf8","env":"prod","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":true,"outputJSON":false,"buffer":true,"appLogName":"nebula-graph-studio-web.log","coreLogName":"egg-web.log","agentLogName":"egg-agent.log","errorLogName":"common-error.log","coreLogger":{},"allowDebugAtProd":false,"type":"application"}
web_1       | 2021-07-23 08:22:40,625 INFO 48 [egg:logger] init all loggers with options: {"dir":"/root/logs/nebula-graph-studio","encoding":"utf8","env":"prod","level":"INFO","consoleLevel":"INFO","disableConsoleAfterReady":true,"outputJSON":false,"buffer":true,"appLogName":"nebula-graph-studio-web.log","coreLogName":"egg-web.log","agentLogName":"egg-agent.log","errorLogName":"common-error.log","coreLogger":{},"allowDebugAtProd":false,"type":"application"}
web_1       | 2021-07-23 08:22:40,634 INFO 68 [egg-multipart] stream mode enable
web_1       | 2021-07-23 08:22:40,634 INFO 68 [egg-multipart] will save temporary files to "/tmp/egg-multipart-tmp/nebula-graph-studio", cleanup job cron: "0 30 4 * * *"
web_1       | 2021-07-23 08:22:40,653 INFO 61 [egg-multipart] stream mode enable
web_1       | 2021-07-23 08:22:40,653 INFO 61 [egg-multipart] will save temporary files to "/tmp/egg-multipart-tmp/nebula-graph-studio", cleanup job cron: "0 30 4 * * *"
web_1       | 2021-07-23 08:22:40,653 INFO 48 [egg-multipart] stream mode enable
web_1       | 2021-07-23 08:22:40,653 INFO 48 [egg-multipart] will save temporary files to "/tmp/egg-multipart-tmp/nebula-graph-studio", cleanup job cron: "0 30 4 * * *"
web_1       | 2021-07-23 08:22:40,728 INFO 49 Use coreMiddleware order: ["meta","siteFile","notfound","static","bodyParser","overrideMethod","session","securities","i18n","multipart"]
web_1       | 2021-07-23 08:22:40,728 INFO 49 Use appMiddleware order: []
web_1       | 2021-07-23 08:22:40,733 INFO 49 [egg:loader] Use middleware: meta
web_1       | 2021-07-23 08:22:40,733 INFO 49 [egg:loader] Use middleware: siteFile
web_1       | 2021-07-23 08:22:40,733 INFO 49 [egg:loader] Use middleware: notfound
web_1       | 2021-07-23 08:22:40,733 INFO 49 [egg-static] starting static serve /public/ -> /nebula-graph-studio/app/public
web_1       | 2021-07-23 08:22:40,734 INFO 49 [egg:loader] Use middleware: static
web_1       | 2021-07-23 08:22:40,734 INFO 49 [egg:loader] Use middleware: bodyParser
web_1       | 2021-07-23 08:22:40,734 INFO 49 [egg:loader] Use middleware: overrideMethod
web_1       | 2021-07-23 08:22:40,735 INFO 49 [egg:loader] Use middleware: session
web_1       | 2021-07-23 08:22:40,736 INFO 49 [egg-security] use methodnoallow middleware
web_1       | 2021-07-23 08:22:40,737 INFO 49 [egg-security] use noopen middleware
web_1       | 2021-07-23 08:22:40,737 INFO 49 [egg-security] use nosniff middleware
web_1       | 2021-07-23 08:22:40,738 INFO 49 [egg-security] use xssProtection middleware
web_1       | 2021-07-23 08:22:40,738 INFO 49 [egg-security] use xframe middleware
web_1       | 2021-07-23 08:22:40,739 INFO 49 [egg-security] use dta middleware
web_1       | 2021-07-23 08:22:40,739 INFO 49 [egg-security] compose 6 middlewares into one security middleware
web_1       | 2021-07-23 08:22:40,739 INFO 49 [egg:loader] Use middleware: securities
web_1       | 2021-07-23 08:22:40,739 INFO 49 [egg:loader] Use middleware: i18n
web_1       | 2021-07-23 08:22:40,739 INFO 49 [egg:loader] Use middleware: multipart
web_1       | 2021-07-23 08:22:40,739 INFO 49 [egg:loader] Loaded middleware from ["/nebula-graph-studio/node_modules/egg-session/app/middleware","/nebula-graph-studio/node_modules/egg-security/app/middleware","/nebula-graph-studio/node_modules/egg-jsonp/app/middleware","/nebula-graph-studio/node_modules/egg-onerror/app/middleware","/nebula-graph-studio/node_modules/egg-i18n/app/middleware","/nebula-graph-studio/node_modules/egg-watcher/app/middleware","/nebula-graph-studio/node_modules/egg-schedule/app/middleware","/nebula-graph-studio/node_modules/egg-multipart/app/middleware","/nebula-graph-studio/node_modules/egg-logrotator/app/middleware","/nebula-graph-studio/node_modules/egg-static/app/middleware","/nebula-graph-studio/node_modules/egg-view/app/middleware","/nebula-graph-studio/node_modules/egg-view-assets/app/middleware","/nebula-graph-studio/node_modules/egg-view-nunjucks/app/middleware","/nebula-graph-studio/node_modules/egg/app/middleware","/nebula-graph-studio/app/middleware"]
web_1       | 2021-07-23 08:22:40,756 INFO 68 Use coreMiddleware order: ["meta","siteFile","notfound","static","bodyParser","overrideMethod","session","securities","i18n","multipart"]
web_1       | 2021-07-23 08:22:40,757 INFO 68 Use appMiddleware order: []
web_1       | 2021-07-23 08:22:40,761 INFO 68 [egg:loader] Use middleware: meta
web_1       | 2021-07-23 08:22:40,761 INFO 68 [egg:loader] Use middleware: siteFile
web_1       | 2021-07-23 08:22:40,761 INFO 68 [egg:loader] Use middleware: notfound
web_1       | 2021-07-23 08:22:40,762 INFO 68 [egg-static] starting static serve /public/ -> /nebula-graph-studio/app/public
web_1       | 2021-07-23 08:22:40,763 INFO 68 [egg:loader] Use middleware: static
web_1       | 2021-07-23 08:22:40,763 INFO 68 [egg:loader] Use middleware: bodyParser
web_1       | 2021-07-23 08:22:40,763 INFO 68 [egg:loader] Use middleware: overrideMethod
web_1       | 2021-07-23 08:22:40,763 INFO 68 [egg:loader] Use middleware: session
web_1       | 2021-07-23 08:22:40,764 INFO 68 [egg-security] use methodnoallow middleware
web_1       | 2021-07-23 08:22:40,765 INFO 68 [egg-security] use noopen middleware
web_1       | 2021-07-23 08:22:40,765 INFO 68 [egg-security] use nosniff middleware
web_1       | 2021-07-23 08:22:40,766 INFO 68 [egg-security] use xssProtection middleware
web_1       | 2021-07-23 08:22:40,767 INFO 68 [egg-security] use xframe middleware
web_1       | 2021-07-23 08:22:40,768 INFO 68 [egg-security] use dta middleware
web_1       | 2021-07-23 08:22:40,768 INFO 68 [egg-security] compose 6 middlewares into one security middleware
web_1       | 2021-07-23 08:22:40,768 INFO 68 [egg:loader] Use middleware: securities
web_1       | 2021-07-23 08:22:40,768 INFO 68 [egg:loader] Use middleware: i18n
web_1       | 2021-07-23 08:22:40,768 INFO 68 [egg:loader] Use middleware: multipart
web_1       | 2021-07-23 08:22:40,768 INFO 68 [egg:loader] Loaded middleware from ["/nebula-graph-studio/node_modules/egg-session/app/middleware","/nebula-graph-studio/node_modules/egg-security/app/middleware","/nebula-graph-studio/node_modules/egg-jsonp/app/middleware","/nebula-graph-studio/node_modules/egg-onerror/app/middleware","/nebula-graph-studio/node_modules/egg-i18n/app/middleware","/nebula-graph-studio/node_modules/egg-watcher/app/middleware","/nebula-graph-studio/node_modules/egg-schedule/app/middleware","/nebula-graph-studio/node_modules/egg-multipart/app/middleware","/nebula-graph-studio/node_modules/egg-logrotator/app/middleware","/nebula-graph-studio/node_modules/egg-static/app/middleware","/nebula-graph-studio/node_modules/egg-view/app/middleware","/nebula-graph-studio/node_modules/egg-view-assets/app/middleware","/nebula-graph-studio/node_modules/egg-view-nunjucks/app/middleware","/nebula-graph-studio/node_modules/egg/app/middleware","/nebula-graph-studio/app/middleware"]
web_1       | 2021-07-23 08:22:40,793 INFO 48 Use coreMiddleware order: ["meta","siteFile","notfound","static","bodyParser","overrideMethod","session","securities","i18n","multipart"]
web_1       | 2021-07-23 08:22:40,793 INFO 48 Use appMiddleware order: []
web_1       | 2021-07-23 08:22:40,799 INFO 48 [egg:loader] Use middleware: meta
web_1       | 2021-07-23 08:22:40,800 INFO 48 [egg:loader] Use middleware: siteFile
web_1       | 2021-07-23 08:22:40,800 INFO 48 [egg:loader] Use middleware: notfound
web_1       | 2021-07-23 08:22:40,801 INFO 48 [egg-static] starting static serve /public/ -> /nebula-graph-studio/app/public
web_1       | 2021-07-23 08:22:40,801 INFO 48 [egg:loader] Use middleware: static
web_1       | 2021-07-23 08:22:40,801 INFO 48 [egg:loader] Use middleware: bodyParser
web_1       | 2021-07-23 08:22:40,802 INFO 48 [egg:loader] Use middleware: overrideMethod
web_1       | 2021-07-23 08:22:40,802 INFO 48 [egg:loader] Use middleware: session
web_1       | 2021-07-23 08:22:40,803 INFO 48 [egg-security] use methodnoallow middleware
web_1       | 2021-07-23 08:22:40,803 INFO 61 Use coreMiddleware order: ["meta","siteFile","notfound","static","bodyParser","overrideMethod","session","securities","i18n","multipart"]
web_1       | 2021-07-23 08:22:40,804 INFO 61 Use appMiddleware order: []
web_1       | 2021-07-23 08:22:40,804 INFO 48 [egg-security] use noopen middleware
web_1       | 2021-07-23 08:22:40,805 INFO 48 [egg-security] use nosniff middleware
web_1       | 2021-07-23 08:22:40,805 INFO 48 [egg-security] use xssProtection middleware
web_1       | 2021-07-23 08:22:40,806 INFO 48 [egg-security] use xframe middleware
web_1       | 2021-07-23 08:22:40,806 INFO 48 [egg-security] use dta middleware
web_1       | 2021-07-23 08:22:40,806 INFO 48 [egg-security] compose 6 middlewares into one security middleware
web_1       | 2021-07-23 08:22:40,806 INFO 48 [egg:loader] Use middleware: securities
web_1       | 2021-07-23 08:22:40,806 INFO 48 [egg:loader] Use middleware: i18n
web_1       | 2021-07-23 08:22:40,807 INFO 48 [egg:loader] Use middleware: multipart
web_1       | 2021-07-23 08:22:40,807 INFO 48 [egg:loader] Loaded middleware from ["/nebula-graph-studio/node_modules/egg-session/app/middleware","/nebula-graph-studio/node_modules/egg-security/app/middleware","/nebula-graph-studio/node_modules/egg-jsonp/app/middleware","/nebula-graph-studio/node_modules/egg-onerror/app/middleware","/nebula-graph-studio/node_modules/egg-i18n/app/middleware","/nebula-graph-studio/node_modules/egg-watcher/app/middleware","/nebula-graph-studio/node_modules/egg-schedule/app/middleware","/nebula-graph-studio/node_modules/egg-multipart/app/middleware","/nebula-graph-studio/node_modules/egg-logrotator/app/middleware","/nebula-graph-studio/node_modules/egg-static/app/middleware","/nebula-graph-studio/node_modules/egg-view/app/middleware","/nebula-graph-studio/node_modules/egg-view-assets/app/middleware","/nebula-graph-studio/node_modules/egg-view-nunjucks/app/middleware","/nebula-graph-studio/node_modules/egg/app/middleware","/nebula-graph-studio/app/middleware"]
web_1       | 2021-07-23 08:22:40,809 INFO 61 [egg:loader] Use middleware: meta
web_1       | 2021-07-23 08:22:40,810 INFO 61 [egg:loader] Use middleware: siteFile
web_1       | 2021-07-23 08:22:40,810 INFO 61 [egg:loader] Use middleware: notfound
web_1       | 2021-07-23 08:22:40,810 INFO 61 [egg-static] starting static serve /public/ -> /nebula-graph-studio/app/public
web_1       | 2021-07-23 08:22:40,811 INFO 61 [egg:loader] Use middleware: static
web_1       | 2021-07-23 08:22:40,812 INFO 61 [egg:loader] Use middleware: bodyParser
web_1       | 2021-07-23 08:22:40,812 INFO 61 [egg:loader] Use middleware: overrideMethod
web_1       | 2021-07-23 08:22:40,812 INFO 61 [egg:loader] Use middleware: session
web_1       | 2021-07-23 08:22:40,814 INFO 61 [egg-security] use methodnoallow middleware
web_1       | 2021-07-23 08:22:40,814 INFO 61 [egg-security] use noopen middleware
web_1       | 2021-07-23 08:22:40,815 INFO 61 [egg-security] use nosniff middleware
web_1       | 2021-07-23 08:22:40,815 INFO 61 [egg-security] use xssProtection middleware
web_1       | 2021-07-23 08:22:40,816 INFO 61 [egg-security] use xframe middleware
web_1       | 2021-07-23 08:22:40,816 INFO 61 [egg-security] use dta middleware
web_1       | 2021-07-23 08:22:40,816 INFO 61 [egg-security] compose 6 middlewares into one security middleware
web_1       | 2021-07-23 08:22:40,816 INFO 61 [egg:loader] Use middleware: securities
web_1       | 2021-07-23 08:22:40,817 INFO 61 [egg:loader] Use middleware: i18n
web_1       | 2021-07-23 08:22:40,817 INFO 61 [egg:loader] Use middleware: multipart
web_1       | 2021-07-23 08:22:40,817 INFO 61 [egg:loader] Loaded middleware from ["/nebula-graph-studio/node_modules/egg-session/app/middleware","/nebula-graph-studio/node_modules/egg-security/app/middleware","/nebula-graph-studio/node_modules/egg-jsonp/app/middleware","/nebula-graph-studio/node_modules/egg-onerror/app/middleware","/nebula-graph-studio/node_modules/egg-i18n/app/middleware","/nebula-graph-studio/node_modules/egg-watcher/app/middleware","/nebula-graph-studio/node_modules/egg-schedule/app/middleware","/nebula-graph-studio/node_modules/egg-multipart/app/middleware","/nebula-graph-studio/node_modules/egg-logrotator/app/middleware","/nebula-graph-studio/node_modules/egg-static/app/middleware","/nebula-graph-studio/node_modules/egg-view/app/middleware","/nebula-graph-studio/node_modules/egg-view-assets/app/middleware","/nebula-graph-studio/node_modules/egg-view-nunjucks/app/middleware","/nebula-graph-studio/node_modules/egg/app/middleware","/nebula-graph-studio/app/middleware"]
web_1       | 2021-07-23 08:22:40,818 INFO 68 [egg:loader] Controller loaded: /nebula-graph-studio/app/controller
web_1       | 2021-07-23 08:22:40,820 INFO 49 [egg:loader] Controller loaded: /nebula-graph-studio/app/controller
web_1       | 2021-07-23 08:22:40,843 INFO 68 [egg:core] dump config after load, 14ms
web_1       | 2021-07-23 08:22:40,845 INFO 49 [egg:core] dump config after load, 13ms
web_1       | 2021-07-23 08:22:40,850 INFO 68 [egg:core:ready_stat] end ready task /nebula-graph-studio/node_modules/egg-core/lib/egg.js:303:10, remain ["/nebula-graph-studio/node_modules/egg-watcher/lib/init.js:15:14"]
web_1       | 2021-07-23 08:22:40,854 INFO 49 [egg:core:ready_stat] end ready task /nebula-graph-studio/node_modules/egg-core/lib/egg.js:303:10, remain ["/nebula-graph-studio/node_modules/egg-watcher/lib/init.js:15:14"]
web_1       | 2021-07-23 08:22:40,862 INFO 68 [egg-watcher:application] watcher start success
web_1       | 2021-07-23 08:22:40,862 INFO 49 [egg-watcher:application] watcher start success
web_1       | 2021-07-23 08:22:40,863 INFO 68 [egg:core:ready_stat] end ready task /nebula-graph-studio/node_modules/egg-watcher/lib/init.js:15:14, remain []
web_1       | 2021-07-23 08:22:40,873 INFO 49 [egg:core:ready_stat] end ready task /nebula-graph-studio/node_modules/egg-watcher/lib/init.js:15:14, remain []
web_1       | 2021-07-23 08:22:40,886 INFO 48 [egg:loader] Controller loaded: /nebula-graph-studio/app/controller
web_1       | 2021-07-23 08:22:40,890 INFO 30 [master] app_worker#4:68 started at 7001, remain 3 (1024ms)
web_1       | 2021-07-23 08:22:40,893 INFO 30 [master] app_worker#2:49 started at 7001, remain 2 (1027ms)
web_1       | 2021-07-23 08:22:40,894 INFO 61 [egg:loader] Controller loaded: /nebula-graph-studio/app/controller
web_1       | 2021-07-23 08:22:40,901 INFO 48 [egg:core] dump config after load, 7ms
web_1       | 2021-07-23 08:22:40,908 INFO 61 [egg:core] dump config after load, 6ms
web_1       | 2021-07-23 08:22:40,908 INFO 48 [egg:core:ready_stat] end ready task /nebula-graph-studio/node_modules/egg-core/lib/egg.js:303:10, remain ["/nebula-graph-studio/node_modules/egg-watcher/lib/init.js:15:14"]
web_1       | 2021-07-23 08:22:40,912 INFO 48 [egg-watcher:application] watcher start success
web_1       | 2021-07-23 08:22:40,912 INFO 48 [egg:core:ready_stat] end ready task /nebula-graph-studio/node_modules/egg-watcher/lib/init.js:15:14, remain []
web_1       | 2021-07-23 08:22:40,914 INFO 61 [egg:core:ready_stat] end ready task /nebula-graph-studio/node_modules/egg-core/lib/egg.js:303:10, remain ["/nebula-graph-studio/node_modules/egg-watcher/lib/init.js:15:14"]
web_1       | 2021-07-23 08:22:40,921 INFO 61 [egg-watcher:application] watcher start success
web_1       | 2021-07-23 08:22:40,921 INFO 61 [egg:core:ready_stat] end ready task /nebula-graph-studio/node_modules/egg-watcher/lib/init.js:15:14, remain []
web_1       | 2021-07-23 08:22:40,924 INFO 30 [master] app_worker#1:48 started at 7001, remain 1 (1058ms)
web_1       | 2021-07-23 08:22:40,936 INFO 30 [master] app_worker#3:61 started at 7001, remain 0 (1070ms)
web_1       | 2021-07-23 08:22:40,936 INFO 30 [master] egg started on http://0.0.0.0:7001 (1743ms)

执行docker-compose ps返回

              Name                             Command               State                        Ports                      
-----------------------------------------------------------------------------------------------------------------------------
nebula-graph-studio-v2_client_1     ./nebula-http-gateway            Up      0.0.0.0:49197->8080/tcp,:::49197->8080/tcp      
nebula-graph-studio-v2_importer_1   nebula-importer --port=569 ...   Up      0.0.0.0:49198->5699/tcp,:::49198->5699/tcp      
nebula-graph-studio-v2_nginx_1      /docker-entrypoint.sh ngin ...   Up      0.0.0.0:7001->7001/tcp,:::7001->7001/tcp, 80/tcp
nebula-graph-studio-v2_web_1        docker-entrypoint.sh npm r ...   Up      0.0.0.0:49199->7001/tcp,:::49199->7001/tcp

在可以使用的服务器上执行docker-compose ps返回

             Name                           Command               State               Ports             
--------------------------------------------------------------------------------------------------------
nebulagraphstudiov2_client_1     ./nebula-http-gateway            Up      0.0.0.0:32795->8080/tcp       
nebulagraphstudiov2_importer_1   nebula-importer --port=569 ...   Up      0.0.0.0:32794->5699/tcp       
nebulagraphstudiov2_nginx_1      /docker-entrypoint.sh ngin ...   Up      0.0.0.0:7001->7001/tcp, 80/tcp
nebulagraphstudiov2_web_1        docker-entrypoint.sh npm r ...   Up      0.0.0.0:32796->7001/tcp

这个就是 nebula-http-gateway 哈,可以测试一下它是不是正常

$ curl -i \
    -X POST \
    -d '{"username":"user","password":"password","address":"<graphd_ip>","port":9669}' \
    http://<http-gateway-listen-ip>:8080/api/db/connect
curl -i \
    -X POST \
    -d '{"username":"user","password":"password","address":"ip","port":9669}' \
    http://ip:49197/api/db/connect

错误的服务器返回内容

HTTP/1.1 404 Not Found
Server: beegoServer:1.12.3
Set-Cookie: nsid=b9aa056cce41ed637ec9278b097886d8; Path=/; HttpOnly; SameSite
Date: Fri, 23 Jul 2021 09:19:37 GMT
Content-Length: 2001
Content-Type: text/html; charset=utf-8


<!DOCTYPE html>
<html lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Not Found</title>
		<style type="text/css">
			* {
				margin:0;
				padding:0;
			}

			body {
				background-color:#EFEFEF;
				font: .9em "Lucida Sans Unicode", "Lucida Grande", sans-serif;
			}

			#wrapper{
				width:600px;
				margin:40px auto 0;
				text-align:center;
				-moz-box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
				-webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
				box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
			}

			#wrapper h1{
				color:#FFF;
				text-align:center;
				margin-bottom:20px;
			}

			#wrapper a{
				display:block;
				font-size:.9em;
				padding-top:20px;
				color:#FFF;
				text-decoration:none;
				text-align:center;
			}

			#container {
				width:600px;
				padding-bottom:15px;
				background-color:#FFFFFF;
			}

			.navtop{
				height:40px;
				background-color:#24B2EB;
				padding:13px;
			}

			.content {
				padding:10px 10px 25px;
				background: #FFFFFF;
				margin:;
				color:#333;
			}

			a.button{
				color:white;
				padding:15px 20px;
				text-shadow:1px 1px 0 #00A5FF;
				font-weight:bold;
				text-align:center;
				border:1px solid #24B2EB;
				margin:0px 200px;
				clear:both;
				background-color: #24B2EB;
				border-radius:100px;
				-moz-border-radius:100px;
				-webkit-border-radius:100px;
			}

			a.button:hover{
				text-decoration:none;
				background-color: #24B2EB;
			}

		</style>
	</head>
	<body>
		<div id="wrapper">
			<div id="container">
				<div class="navtop">
					<h1>Not Found</h1>
				</div>
				<div id="content">
					<br>The page you have requested has flown the coop.<br>Perhaps you are here because:<br><br><ul><br>The page has moved<br>The page no longer exists<br>You were looking for your puppy and got lost<br>You like 404 pages</ul>
					<a href="/" title="Home" class="button">Go Home</a><br />

					<br>Powered by beego 1.12.3
				</div>
			</div>
		</div>
	</body>
</html>
curl -i \
    -X POST \
    -d '{"username":"user","password":"password","address":"ip","port":9669}' \
    http://ip:32795/api/db/connect

没有问题的服务器返回内容

HTTP/1.1 200 OK
Content-Length: 100
Content-Type: application/json; charset=utf-8
Server: beegoServer:1.12.3
Set-Cookie: nsid=803a2055c9f13f4e21cdc7983d33264a; Path=/; HttpOnly; SameSite
Set-Cookie: Secure=true; Path=/
Set-Cookie: SameSite=None; Path=/
Date: Fri, 23 Jul 2021 09:19:00 GMT

{
  "code": 0,
  "data": "f8a261bb-a40b-4a0a-9dc2-5f66d021097d",
  "message": "Login successfully"
}

应该是代理转发有点问题,能看下你的nginx配置信息吗

也有可能http-gateway服务有问题,可以都检查一下

1 个赞

没有额外使用nginx,配置使用的上面docker-compose.yml里的

  nginx:
    image: nginx:alpine
    volumes:
      - ./nginx/nginx.conf:/etc/nginx/conf.d/nebula.conf
      - ${UPLOAD_DIR}:${MAPPING_DOCKER_DIR}:rw
    depends_on:
      - client
      - web
    networks:
      - nebula-web
    ports:
      - 7001:7001

http-gateway可能有问题,但是我使用的是默认配置,直接运行的,应该怎么排查?

看看是不是http-gateway服务是不是没启起来,docker-compose ps看看

遇到了同样的问题,请问怎么解决呢

这边已经复现了

更新一下镜像试试,@nicolas

1 个赞

浙ICP备20010487号