-
-
Notifications
You must be signed in to change notification settings - Fork 94
Description
ArcadeDB Version: 22.10.0
JDK Version: OpenJDK Runtime Environment 18.9
OS: RHEL
Expected behavior
Actual behavior
Unexpected message type 'H' for message any
com.arcadedb.postgres.PostgresProtocolException: Unexpected message type 'H' for message any
at com.arcadedb.postgres.PostgresNetworkExecutor.readMessage(PostgresNetworkExecutor.java:969)
at com.arcadedb.postgres.PostgresNetworkExecutor.run(PostgresNetworkExecutor.java:140)
Steps to reproduce
Step#1: Start the arcadedb server with postgres driver enabled as below:
bin/server.sh -Darcadedb.server.plugins="Postgres:com.arcadedb.postgres.PostgresProtocolPlugin"
Step#2:
Execute the following command:
import asyncio
import asyncpg
async def run():
conn = await asyncpg.connect(user='xxxx', password='xxxx',
database='OpenBeer', host='xxx.xxx.xxx.xx')
sql = "select from Beer limit 30"
values = await conn.fetch(sql)
await conn.close()
loop = asyncio.get_event_loop()
loop.run_until_complete(run())
<An SQL script to reproduce the problem or a JUnit test case will increase A LOT the chance to have a quick fix>