Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zhaoliangzl opened this issue Apr 19, 2022 · 1 comment
Open

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

zhaoliangzl opened this issue Apr 19, 2022 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@zhaoliangzl
Copy link

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个字符,太短了。

@javeme javeme added bug Something isn't working enhancement New feature or request and removed feature labels Apr 21, 2022
@javeme
Copy link
Collaborator

javeme commented Apr 21, 2022

可以考虑将host 48个字符限制放宽一些

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants