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

Failed conenct to Dremio #20

Open
bukreevai opened this issue Jan 10, 2025 · 0 comments
Open

Failed conenct to Dremio #20

bukreevai opened this issue Jan 10, 2025 · 0 comments

Comments

@bukreevai
Copy link

Local stack in Docker

Dremio:

  • version: 25.2
  • JAVA: openjdk 11.0.25 2024-10-15

Metabase:

  • version: 0.52.5
  • JAVA: OpenJDK 64-Bit Server VM 21.0.5+11-LTS

Driver version:

  • 1.5.0 and 1.4.0

Error, when I tried connect Metabase to Dremio:

Failure in connecting to Dremio: cdjd.com.dremio.exec.rpc.RpcException: 
HANDSHAKE_COMMUNICATION : [USER]: Channel closed null <--> null (user client)

Metabase logs:

2025-01-10 08:52:30,857 ERROR driver.util :: Failed to connect to Database
java.sql.SQLException: Failure in connecting to Dremio: cdjd.com.dremio.exec.rpc.ConnectionFailedException: CONNECTION : SSL negotiation failed
        
Caused by: cdjd.com.dremio.exec.rpc.ChannelClosedException: [USER]: Channel closed null <--> null (user client)
        at cdjd.com.dremio.exec.rpc.RpcBus$ChannelClosedHandler.operationComplete(RpcBus.java:214)
        ... 33 more
2025-01-10 08:52:30,935 ERROR api.database :: Cannot connect to Database
clojure.lang.ExceptionInfo: Failure in connecting to Dremio: cdjd.com.dremio.exec.rpc.RpcException: HANDSHAKE_COMMUNICATION : [USER]: Channel closed null <--> null (user client) {:message "Failure in connecting to Dremio: cdjd.com.dremio.exec.rpc.RpcException: HANDSHAKE_COMMUNICATION : [USER]: Channel closed null <--> null (user client)"}
......
Caused by: cdjd.com.dremio.exec.rpc.ChannelClosedException: [USER]: Channel closed null <--> null (user client)
        at cdjd.com.dremio.exec.rpc.RpcBus$ChannelClosedHandler.operationComplete(RpcBus.java:214)
        ... 33 more
2025-01-10 08:52:30,983 DEBUG middleware.log :: POST /api/database 400 224ms (1 DB calls) {:metabase-user-id 1} 
{:message
 "Failure in connecting to Dremio: cdjd.com.dremio.exec.rpc.RpcException: HANDSHAKE_COMMUNICATION : [USER]: Channel closed null <--> null (user client)"}

Dremio logs:

2025-01-10 08:56:23,392 [UserServer-1] INFO  c.d.sabot.rpc.user.UserRPCServer - [USER]: Channel closed /172.19.0.3:31010 <--> /172.19.0.6:42672 (user client)
2025-01-10 08:56:23,393 [UserServer-1] INFO  com.dremio.ConnectionLog - [4bc699af-3cae-4a57-829a-854a01445dab] Connection Closed
2025-01-10 08:56:23,454 [UserServer-1] INFO  com.dremio.ConnectionLog - [1bf157cf-980b-4112-b609-fe19f08c735e] Connection opened.
        Endpoint: 172.19.0.6:42684
        Protocol Version: 5
        Record Type: DREMIO
        Record Formats: DREMIO_23_0, DREMIO_1_4, DREMIO_0_9
        Support Complex Types: true
        Name: Dremio JDBC Driver
        Version: 24.0.0-202302100528110223-3a169b7c (24.0.0)
        Application: 1@metabase
        User Properties: 
                port=31010
                direct=dremio:31010
                host=dremio
                loginTimeout=10
                sendTimeAsDatetime=false
                type=dremio
                user=metabase
                applicationName=Metabase v0.52.5

2025-01-10 08:56:23,454 [UserServer-1] WARN  c.dremio.sabot.rpc.user.UserSession - Ignoring unknown property: PORT
2025-01-10 08:56:23,454 [UserServer-1] WARN  c.dremio.sabot.rpc.user.UserSession - Ignoring unknown property: DIRECT
2025-01-10 08:56:23,455 [UserServer-1] WARN  c.dremio.sabot.rpc.user.UserSession - Ignoring unknown property: HOST
2025-01-10 08:56:23,455 [UserServer-1] WARN  c.dremio.sabot.rpc.user.UserSession - Ignoring unknown property: LOGINTIMEOUT
2025-01-10 08:56:23,455 [UserServer-1] WARN  c.dremio.sabot.rpc.user.UserSession - Ignoring unknown property: SENDTIMEASDATETIME
2025-01-10 08:56:23,455 [UserServer-1] WARN  c.dremio.sabot.rpc.user.UserSession - Ignoring unknown property: TYPE
2025-01-10 08:56:23,455 [UserServer-1] WARN  c.dremio.sabot.rpc.user.UserSession - Ignoring unknown property: APPLICATIONNAME
2025-01-10 08:56:23,460 [UserServer-1] INFO  c.d.sabot.rpc.user.UserRPCServer - [USER]: Channel closed /172.19.0.3:31010 <--> /172.19.0.6:42684 (user client)
2025-01-10 08:56:23,460 [UserServer-1] INFO  com.dremio.ConnectionLog - [1bf157cf-980b-4112-b609-fe19f08c735e] Connection Closed

I don't understand why this exception was rised?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant