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

Bug: hive connect fail: Peer indicated failure: Error validating the login #1504

Open
swtor-xing opened this issue Aug 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@swtor-xing
Copy link

Chat2DB Version

2.0.0-SNAPSHOT

Describe the bug

Peer indicated failure: Error validating the login

The username and password have been set.

@swtor-xing swtor-xing added the bug Something isn't working label Aug 14, 2024
@swtor-xing
Copy link
Author

java.sql.SQLException: Cannot create connection (Could not open client transport with JDBC Uri: jdbc:hive2:xxx : Peer indicated failure: Error validating the login)

    at ai.chat2db.spi.sql.IDriverManager.getConnection(IDriverManager.java:100)
    at ai.chat2db.spi.sql.IDriverManager.getConnection(IDriverManager.java:75)
    at ai.chat2db.spi.util.JdbcUtils.testConnect(JdbcUtils.java:162)
    at ai.chat2db.server.domain.core.impl.DataSourceServiceImpl.preConnect(DataSourceServiceImpl.java:255)
    at ai.chat2db.server.web.api.controller.data.source.DataSourceController.preConnect(DataSourceController.java:91)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
    at java.base/java.lang.reflect.Method.invoke(Method.java:580)

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

No branches or pull requests

1 participant