Giter VIP home page Giter VIP logo

Comments (5)

josevalim avatar josevalim commented on June 1, 2024 3

Can you please try the just released v0.17.1?

from postgrex.

jkmrto avatar jkmrto commented on June 1, 2024 1

Elixir version
1.14.3

Database and Version
postgres 12.1-alpine

Postgrex Version
0.17

We have an error that could be related on version 0.17.0, also using Commanded. The trace is not shown when using version 0.16.5 of postgrex.

We get this (debug) log in local:

[debug] Attempting to start Postgrex.Notifications
[debug] Successfully started Postgrex.Notifications (#PID<0.3135.0>)
[debug] Monitored process EXIT due to: {:function_clause, [{Postgrex.SimpleConnection, :handle_event, [:timeout, nil, :no_state
, %Postgrex.SimpleConnection{idle_interval: 5000, protocol: %Postgrex.Protocol{sock: {:gen_tcp, #Port<0.47>}, connection_id: 31
0, connection_key: -674320564, peer: {{127, 0, 0, 1}, 5432}, types: {EventStore.PostgresTypes, #Reference<0.4085729420.21208760
33.141520>}, null: nil, timeout: 15000, ping_timeout: 15000, parameters: #Reference<0.4085729420.2120744965.137402>, queries: #
Reference<0.4085729420.2120876033.146109>, postgres: :idle, transactions: :naive, buffer: :active_once, disconnect_on_error_cod
es: [], scram: nil}, auto_reconnect: false, reconnect_backoff: 500, state: {Postgrex.Notifications, %Postgrex.Notifications{fro
m: nil, ref: nil, auto_reconnect: false, connected: true, listeners: %{#Reference<0.4085729420.2120744961.146114> => {"events",
 #PID<0.2514.0>}}, listener_channels: %{"events" => %{#Reference<0.4085729420.2120744961.146114> => #PID<0.2514.0>}}}}}], [file
: 'lib/postgrex/simple_connection.ex', line: 340]}, {:gen_statem, :loop_state_callback, 11, [file: 'gen_statem.erl', line: 1428
]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}

from postgrex.

josevalim avatar josevalim commented on June 1, 2024

We have no familiarity with commanded, so can you please report it to them and maybe they can isolate it? Or at least provide a failing test case? Thank you.

from postgrex.

jkmrto avatar jkmrto commented on June 1, 2024

Yep, it looks to be working. No error trace any more.

Thanks 🙌

from postgrex.

danhawkins avatar danhawkins commented on June 1, 2024

Thank @josevalim 🙏

from postgrex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.