Skip to content

DbVisualizer with Postgres Driver causes Error on Reconnect #1177

@gramian

Description

@gramian

ArcadeDB Version:

ArcadeDB Server v23.7.1-SNAPSHOT (build aac7596/1689712378146/main)

OS and JDK Version:

Running on Mac OS X 12.6.5 - OpenJDK 64-Bit Server VM 11.0.19 (Homebrew)

Expected behavior

No error

Actual behavior

Exception in thread "ArcadeDB-postgres//127.0.0.1" Exception in thread "ArcadeDB-postgres//127.0.0.1" com.arcadedb.postgres.PostgresProtocolException: Error on parsing startup message
	at com.arcadedb.postgres.PostgresNetworkExecutor.readStartupMessage(PostgresNetworkExecutor.java:934)
	at com.arcadedb.postgres.PostgresNetworkExecutor.run(PostgresNetworkExecutor.java:96)
Caused by: java.io.EOFException
	at java.base/java.io.DataInputStream.readInt(DataInputStream.java:397)
	at com.arcadedb.network.binary.ChannelBinary.readUnsignedInt(ChannelBinary.java:79)
	at com.arcadedb.postgres.PostgresNetworkExecutor.readStartupMessage(PostgresNetworkExecutor.java:871)
	... 1 more
com.arcadedb.postgres.PostgresProtocolException: Error on parsing startup message
	at com.arcadedb.postgres.PostgresNetworkExecutor.readStartupMessage(PostgresNetworkExecutor.java:934)
	at com.arcadedb.postgres.PostgresNetworkExecutor.run(PostgresNetworkExecutor.java:96)
Caused by: java.io.EOFException
	at java.base/java.io.DataInputStream.readInt(DataInputStream.java:397)
	at com.arcadedb.network.binary.ChannelBinary.readUnsignedInt(ChannelBinary.java:79)
	at com.arcadedb.postgres.PostgresNetworkExecutor.readStartupMessage(PostgresNetworkExecutor.java:871)
	... 1 more

Steps to reproduce

  1. Follow the steps in https://docs.arcadedb.com/#_dbvisualizer
  2. On the "Connection" tab click "Ping Server", "Connect" and then "Reconnect" (sometimes "Reconnect" needs to be pressed multiple times)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions