all-things-risingwave

What could be causing an error when connecting a docker container in a MacOS M1 laptop to RisingWave with psql versions 16 and 14?

Sergey Tarabara encountered an error when trying to connect a docker container in his MacOS M1 laptop to RisingWave using psql versions 16 and 14. The error message indicated a connection issue with the server. He also mentioned seeing an 'Unsupported protocol number in start up msg' error from the server side. Kexiang suggested checking if the docker compose file was used for deployment. Sergey confirmed using the docker compose file from the RisingWave documentation.

Se

Sergey Tarabara

Asked on Dec 22, 2023

  • The error could be related to the PostgreSQL version compatibility with the MacOS M1 architecture.
  • Uninstalling brew pg and installing version 16.1 from the PostgresApp website resolved the issue for Sergey.
  • It's important to ensure compatibility between the PostgreSQL version and the hardware architecture when setting up connections in a docker container on MacOS M1.
  • Checking the server-side logs for any specific error messages can provide additional insights into the connection problem.
Dec 22, 2023Edited by