Skip to content
This repository was archived by the owner on Dec 28, 2025. It is now read-only.

[Feature] hubble配置域名时,host超长。 #369

@zhaoliangzl

Description

@zhaoliangzl

Feature Description (功能描述)

{
"status": 400,
"data": null,
"message": "\n### Error updating database. Cause: org.h2.jdbc.JdbcSQLDataException: Value too long for column """HOST"" VARCHAR(48) DEFAULT 'localhost' NOT NULL": "'aiasojojdss.cssessd.com' (77)"; SQL statement:\nINSERT INTO graph_connection ( name,\ngraph,\nhost,\nport,\ntimeout,\nusername,\npassword,\n\n\ncreate_time ) VALUES ( ?,\n?,\n?,\n?,\n?,\n?,\n?,\n\n\n? ) [22001-199]\n### The error may exist in com/baidu/hugegraph/mapper/GraphConnectionMapper.java (best guess)\n### The error may involve com.baidu.hugegraph.mapper.GraphConnectionMapper.insert-Inline\n### The error occurred while setting parameters\n### SQL: INSERT INTO graph_connection ( name, graph, host, port, timeout, username, password, create_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ? )\n### Cause: org.h2.jdbc.JdbcSQLDataException: Value too long for column """HOST"" VARCHAR(48) DEFAULT 'localhost' NOT NULL": "'xxx.com' (77)"; SQL statement:\nINSERT INTO graph_connection ( name,\ngraph,\nhost,\nport,\ntimeout,\nusername,\npassword,\n\n\ncreate_time ) VALUES ( ?,\n?,\n?,\n?,\n?,\n?,\n?,\n\n\n? ) [22001-199]\n; Value too long for column """HOST"" VARCHAR(48) DEFAULT 'localhost' NOT NULL": "'webpreview-189940-8080-fdd29b8b7b6b4dfaac6f2f598c1bd199.icoding.baidu-int.com' (77)"; SQL statement:\nINSERT INTO graph_connection ( name,\ngraph,\nhost,\nport,\ntimeout,\nusername,\npassword,\n\n\ncreate_time ) VALUES ( ?,\n?,\n?,\n?,\n?,\n?,\n?,\n\n\n? ) [22001-199]; nested exception is org.h2.jdbc.JdbcSQLDataException: Value too long for column """HOST"" VARCHAR(48) DEFAULT 'localhost' NOT NULL": "'xxx.com' (77)"; SQL statement:\nINSERT INTO graph_connection ( name,\ngraph,\nhost,\nport,\ntimeout,\nusername,\npassword,\n\n\ncreate_time ) VALUES ( ?,\n?,\n?,\n?,\n?,\n?,\n?,\n\n\n? ) [22001-199]",
"cause": "org.h2.jdbc.JdbcSQLDataException: Value too long for column """HOST"" VARCHAR(48) DEFAULT 'localhost' NOT NULL": "'xxx.com' (77)"; SQL statement:\nINSERT INTO graph_connection ( name,\ngraph,\nhost,\nport,\ntimeout,\nusername,\npassword,\n\n\ncreate_time ) VALUES ( ?,\n?,\n?,\n?,\n?,\n?,\n?,\n\n\n? ) [22001-199]"
}

host仅允许48个字符,太短了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions