tugraph-db icon indicating copy to clipboard operation
tugraph-db copied to clipboard

docker启动容器后,登录失败,提示缓冲区溢出

Open dragonAndWater opened this issue 1 year ago • 11 comments

部署环境:CentOS Linux release 7.8.2003 (Core)] 使用镜像:tugraph/tugraph-runtime-centos7:latest image

问题描述: 使用docker命令启动: docker run -d -p 7070:7070 -p 7687:7687 -p 9090:9090 -v /root/tugraph/data:/var/lib/lgraph/data -v /root/tugraph/log:/var/log/lgraph_log
--name tugraph_demo tugraph/tugraph-runtime-centos7:latest /bin/sh -c lgraph_server

启动成功后通过控制台连接图数据库,提示:登录失败 image

查看docker日志,报错信息是: [20240807 09:43:41.631847 0x00007b2ad29ff700 WARN src/bolt/connection.cpp:186] WebSocketAcceptDone error: buffer overflow [20240807 09:43:41.632000 0x00007b2ad29ff700 WARN src/bolt/connection.h:62] Close error: Operation canceled

请问如何解决这个问题?

dragonAndWater avatar Aug 07 '24 09:08 dragonAndWater

src/bolt/connection.cpp:186] WebSocketAcceptDone error: buffer overflow

KFF1998 avatar Sep 25 '24 06:09 KFF1998

大佬,我也是同样的版本,也是登陆失败 但我查看docker日志里是什么都没有呀,您的报错在哪看到的呀,启动命令: docker run -d -p 7070:7070 -p 7687:7687 -p 9090:9090 -v /root/tugraph/data:/var/lib/lgraph/data -v /root/tugraph/log:/var/log/lgraph_log
--name tugraph_demo ${REPOSITORY}:${VERSION}

paul-yangmy avatar Sep 30 '24 03:09 paul-yangmy

Just because I entered the wrong password !!!! When the password is correct, the error disappears 。。。

KFF1998 avatar Sep 30 '24 03:09 KFF1998

Just because I entered the wrong password !!!! When the password is correct, the error disappears 。。。

I'm certainly sure that I entered the current initial password, no spaces or anything, but it still gets an error :( Could you give me a way to check the logs? I used docker logs but got nothing. image

paul-yangmy avatar Sep 30 '24 06:09 paul-yangmy

same error for me, It looks like it’s only happening in the new frontend browser-resource. (4.3.1 uses resource and works well)

nlp4whp avatar Nov 01 '24 02:11 nlp4whp

it's the same problem.can anyone know how to fix it?

sjhm131 avatar Jul 01 '25 07:07 sjhm131

it's the same problem.can anyone know how to fix it?

Which web browser do you use? Use Chrome and have a try

ljcui avatar Jul 01 '25 07:07 ljcui

it's the same problem.can anyone know how to fix it?

Which web browser do you use? Use Chrome and have a try

I use the Chrome, the same error buffer overflow, version TuGraph v4.5.2 with docker

sjhm131 avatar Jul 01 '25 08:07 sjhm131

Use the following command to create the container: docker run -dt -p 7070:7070 -p 7687:7687 -p 9090:9090
-v /root/tugraph/data:/var/lib/lgraph/data
-v /root/tugraph/log:/var/log/lgraph_log
--name tugraph_demo ${REPOSITORY}:${VERSION} /bin/bash

Once the container is created, enter the container and use this command to start the service: lgraph_server -c /usr/local/etc/lgraph.json -d start

Then, try again to see if it works.

zhangwh807 avatar Jul 01 '25 08:07 zhangwh807

我也遇到一样的问题,按官网文档部署的: [20250911 01:50:38.953663 0x00007bcac37ff700 WARN src/bolt/connection.cpp:186] WebSocketAcceptDone error: buffer overflow [20250911 01:50:38.953785 0x00007bcac37ff700 WARN src/bolt/connection.h:62] Close error: Operation canceled

Image

mingo0117 avatar Sep 11 '25 01:09 mingo0117

我也遇到一样的问题,按官网文档部署的: [20250911 01:50:38.953663 0x00007bcac37ff700 WARN src/bolt/connection.cpp:186] WebSocketAcceptDone error: buffer overflow [20250911 01:50:38.953785 0x00007bcac37ff700 WARN src/bolt/connection.h:62] Close error: Operation canceled

Image

我用的Edge,换成Chrome可以了

mingo0117 avatar Sep 11 '25 02:09 mingo0117