Skip to content

Instantly share code, notes, and snippets.

@ccapndave
Created November 6, 2023 13:31
Show Gist options
  • Save ccapndave/19d9ae954b7d78533ba129c1b33679ca to your computer and use it in GitHub Desktop.
Save ccapndave/19d9ae954b7d78533ba129c1b33679ca to your computer and use it in GitHub Desktop.
popt-electric_1-1 | Last message: {:tcp, #Port<0.24>, <<0, 0, 0, 8, 4, 210, 22, 48>>}
popt-electric_1-1 | 13:27:57.079 pid=<0.3403.0> proxy_session_id=5 [error] GenServer #PID<0.3403.0> terminating
popt-electric_1-1 | ** (FunctionClauseError) no function clause matching in Electric.Postgres.Proxy.Handler.handle_messages/3
popt-electric_1-1 | (electric 0.7.0) lib/electric/postgres/proxy/handler.ex:133: Electric.Postgres.Proxy.Handler.handle_messages([%PgProtocol.Message.GSSENCRequest{}], %ThousandIsland.Socket{socket: #Port<0.26>, transport_module: ThousandIsland.Transports.TCP, read_timeout: 60000, span: %ThousandIsland.Telemetry{span_name: :connection, telemetry_span_context: #Reference<0.3997643739.1119092740.165009>, start_time: -576460584819486727, start_metadata: %{parent_telemetry_span_context: #Reference<0.3997643739.1119092737.164642>, remote_address: {192, 168, 65, 1}, remote_port: 30892, telemetry_span_context: #Reference<0.3997643739.1119092740.165009>}}}, %Electric.Postgres.Proxy.Handler.S{upstream: [], injector_opts: [capture_mode: [default: Electric.Postgres.Proxy.Injector.Electric, per_user: %{"prisma" => Electric.Postgres.Proxy.Injector.Prisma, "transparent" => Electric.Postgres.Proxy.Injector.Transparent}]], injector: nil, loader: {Electric.Postgres.Extension.SchemaCache, []}, conn_config: [origin: "postgres_1", producer: Electric.Replication.Postgres.LogicalReplicationProducer, connection: [replication: "database", ipv6: false, ssl: false, host: "postgres_1", database: "electric", port: 5432, username: "postgres", password: "password", timeout: 5000], replication: [electric_connection: [host: "electric_1", port: 5433, dbname: "electric", connect_timeout: 5000]], proxy: [listen: [port: 65432], password: "password", log_level: :info]], connection: nil, decoder: %PgProtocol.Decoder{buffer: "", source: :frontend}, session_id: 5, authenticated?: false, username: nil, database: nil, password: "password", authentication: nil})
popt-electric_1-1 | (electric 0.7.0) deps/thousand_island/lib/thousand_island/handler.ex:369: Electric.Postgres.Proxy.Handler.handle_info/2
popt-electric_1-1 | (stdlib 4.3.1.2) gen_server.erl:1123: :gen_server.try_dispatch/4
popt-electric_1-1 | (stdlib 4.3.1.2) gen_server.erl:1200: :gen_server.handle_msg/6
popt-electric_1-1 | (stdlib 4.3.1.2) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
popt-electric_1-1 | Last message: {:tcp, #Port<0.26>, <<0, 0, 0, 8, 4, 210, 22, 48>>}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment