Giter VIP home page Giter VIP logo

Comments (3)

rslota avatar rslota commented on September 21, 2024

Hi @andrewvmail ,

In order to investigate the issue, can you please share some more information about the configuration you're running (version of MongoosePush, push provider the issue is occurring for)? Also, surrounding logs would also be helpful (specifically if it happens that push provider closes the connection beforehand).

from mongoosepush.

andrewvmail avatar andrewvmail commented on September 21, 2024

I'm building on top of mongooseim/mongoose-push:2.0.0 from dockerhub
And the most recent thing i enabled is FCM using PUSH_FCM_ENABLED=true.
I had some problems with FCM but I pulled in the latest image #123 which has this fix.

Everything is working fine so far. Except for the endless ping.

Here is more of the surrounding logs

2/13/2020 1:56:09 PM2020-02-13T21:56:09.006 [info] pid=<0.22996.7>  action=terminate, reason={{:case_clause, {:normal, {:gen_statem, :call, [#PID<0.23098.7>, {:send_ping, #PID<0.22996.7>}, :infinity]}}}, [{:wpool_process, :handle_info, 2, [file: '/home/circleci/app/deps/worker_pool/src/wpool_process.erl', line: 126]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 637]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 711]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}, connection_ref!=nil
2/13/2020 1:56:09 PM
2/13/2020 1:56:09 PM2020-02-13T21:56:09.006 [error] pid=<0.22996.7> GenServer :"wpool_pool-default-5" terminating
2/13/2020 1:56:09 PM** (CaseClauseError) no case clause matching: {:normal, {:gen_statem, :call, [#PID<0.23098.7>, {:send_ping, #PID<0.22996.7>}, :infinity]}}
2/13/2020 1:56:09 PM    (worker_pool) /home/circleci/app/deps/worker_pool/src/wpool_process.erl:126: :wpool_process.handle_info/2
2/13/2020 1:56:09 PM    (stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
2/13/2020 1:56:09 PM    (stdlib) gen_server.erl:711: :gen_server.handle_msg/6
2/13/2020 1:56:09 PM    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
2/13/2020 1:56:09 PMLast message: :ping
2/13/2020 1:56:39 PM
2/13/2020 1:56:39 PM2020-02-13T21:56:39.180 [info] pid=<0.23135.7>  action=terminate, reason={{:case_clause, {:normal, {:gen_statem, :call, [#PID<0.23181.7>, {:send_ping, #PID<0.23135.7>}, :infinity]}}}, [{:wpool_process, :handle_info, 2, [file: '/home/circleci/app/deps/worker_pool/src/wpool_process.erl', line: 126]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 637]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 711]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}, connection_ref!=nil
2/13/2020 1:56:39 PM
2/13/2020 1:56:39 PM2020-02-13T21:56:39.181 [error] pid=<0.23135.7> GenServer :"wpool_pool-default-5" terminating
2/13/2020 1:56:39 PM** (CaseClauseError) no case clause matching: {:normal, {:gen_statem, :call, [#PID<0.23181.7>, {:send_ping, #PID<0.23135.7>}, :infinity]}}
2/13/2020 1:56:39 PM    (worker_pool) /home/circleci/app/deps/worker_pool/src/wpool_process.erl:126: :wpool_process.handle_info/2
2/13/2020 1:56:39 PM    (stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
2/13/2020 1:56:39 PM    (stdlib) gen_server.erl:711: :gen_server.handle_msg/6
2/13/2020 1:56:39 PM    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
2/13/2020 1:56:39 PMLast message: :ping
2/13/2020 1:56:39 PM
2/13/2020 1:56:39 PM2020-02-13T21:56:39.188 [info] pid=<0.23129.7>  action=terminate, reason={{:case_clause, {:normal, {:gen_statem, :call, [#PID<0.23179.7>, {:send_ping, #PID<0.23129.7>}, :infinity]}}}, [{:wpool_process, :handle_info, 2, [file: '/home/circleci/app/deps/worker_pool/src/wpool_process.erl', line: 126]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 637]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 711]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}, connection_ref!=nil
2/13/2020 1:56:39 PM
2/13/2020 1:56:39 PM2020-02-13T21:56:39.189 [error] pid=<0.23129.7> GenServer :"wpool_pool-default-2" terminating
2/13/2020 1:56:39 PM** (CaseClauseError) no case clause matching: {:normal, {:gen_statem, :call, [#PID<0.23179.7>, {:send_ping, #PID<0.23129.7>}, :infinity]}}
2/13/2020 1:56:39 PM    (worker_pool) /home/circleci/app/deps/worker_pool/src/wpool_process.erl:126: :wpool_process.handle_info/2
2/13/2020 1:56:39 PM    (stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
2/13/2020 1:56:39 PM    (stdlib) gen_server.erl:711: :gen_server.handle_msg/6
2/13/2020 1:56:39 PM    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
2/13/2020 1:56:39 PMLast message: :ping
2/13/2020 1:56:39 PM
2/13/2020 1:56:39 PM2020-02-13T21:56:39.198 [info] pid=<0.23131.7>  action=terminate, reason={{:case_clause, {:normal, {:gen_statem, :call, [#PID<0.23187.7>, {:send_ping, #PID<0.23131.7>}, :infinity]}}}, [{:wpool_process, :handle_info, 2, [file: '/home/circleci/app/deps/worker_pool/src/wpool_process.erl', line: 126]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 637]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 711]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}, connection_ref!=nil
2/13/2020 1:56:39 PM
2/13/2020 1:56:39 PM2020-02-13T21:56:39.199 [error] pid=<0.23131.7> GenServer :"wpool_pool-default-3" terminating
2/13/2020 1:56:39 PM** (CaseClauseError) no case clause matching: {:normal, {:gen_statem, :call, [#PID<0.23187.7>, {:send_ping, #PID<0.23131.7>}, :infinity]}}
2/13/2020 1:56:39 PM    (worker_pool) /home/circleci/app/deps/worker_pool/src/wpool_process.erl:126: :wpool_process.handle_info/2
2/13/2020 1:56:39 PM    (stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
2/13/2020 1:56:39 PM    (stdlib) gen_server.erl:711: :gen_server.handle_msg/6
2/13/2020 1:56:39 PM    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
2/13/2020 1:56:39 PMLast message: :ping
2/13/2020 1:56:49 PM
2/13/2020 1:56:49 PM2020-02-13T21:56:49.212 [info] pid=<0.23127.7>  action=terminate, reason={{:case_clause, {:normal, {:gen_statem, :call, [#PID<0.23234.7>, {:send_ping, #PID<0.23127.7>}, :infinity]}}}, [{:wpool_process, :handle_info, 2, [file: '/home/circleci/app/deps/worker_pool/src/wpool_process.erl', line: 126]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 637]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 711]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}, connection_ref!=nil
2/13/2020 1:56:49 PM
2/13/2020 1:56:49 PM2020-02-13T21:56:49.213 [error] pid=<0.23127.7> GenServer :"wpool_pool-default-1" terminating
2/13/2020 1:56:49 PM** (CaseClauseError) no case clause matching: {:normal, {:gen_statem, :call, [#PID<0.23234.7>, {:send_ping, #PID<0.23127.7>}, :infinity]}}
2/13/2020 1:56:49 PM    (worker_pool) /home/circleci/app/deps/worker_pool/src/wpool_process.erl:126: :wpool_process.handle_info/2
2/13/2020 1:56:49 PM    (stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
2/13/2020 1:56:49 PM    (stdlib) gen_server.erl:711: :gen_server.handle_msg/6
2/13/2020 1:56:49 PM    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
2/13/2020 1:56:49 PMLast message: :ping
2/13/2020 1:56:49 PM
2/13/2020 1:56:49 PM2020-02-13T21:56:49.216 [info] pid=<0.23133.7>  action=terminate, reason={{:case_clause, {:normal, {:gen_statem, :call, [#PID<0.23232.7>, {:send_ping, #PID<0.23133.7>}, :infinity]}}}, [{:wpool_process, :handle_info, 2, [file: '/home/circleci/app/deps/worker_pool/src/wpool_process.erl', line: 126]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 637]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 711]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}, connection_ref!=nil
2/13/2020 1:56:49 PM
2/13/2020 1:56:49 PM2020-02-13T21:56:49.219 [error] pid=<0.23133.7> GenServer :"wpool_pool-default-4" terminating
2/13/2020 1:56:49 PM** (CaseClauseError) no case clause matching: {:normal, {:gen_statem, :call, [#PID<0.23232.7>, {:send_ping, #PID<0.23133.7>}, :infinity]}}
2/13/2020 1:56:49 PM    (worker_pool) /home/circleci/app/deps/worker_pool/src/wpool_process.erl:126: :wpool_process.handle_info/2
2/13/2020 1:56:49 PM    (stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
2/13/2020 1:56:49 PM    (stdlib) gen_server.erl:711: :gen_server.handle_msg/6
2/13/2020 1:56:49 PM    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
2/13/2020 1:56:49 PMLast message: :ping
2/13/2020 1:57:09 PM
2/13/2020 1:57:09 PM2020-02-13T21:57:09.381 [info] pid=<0.23207.7>  action=terminate, reason={{:case_clause, {:normal, {:gen_statem, :call, [#PID<0.23274.7>, {:send_ping, #PID<0.23207.7>}, :infinity]}}}, [{:wpool_process, :handle_info, 2, [file: '/home/circleci/app/deps/worker_pool/src/wpool_process.erl', line: 126]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 637]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 711]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}, connection_ref!=nil
2/13/2020 1:57:09 PM
2/13/2020 1:57:09 PM2020-02-13T21:57:09.382 [error] pid=<0.23207.7> GenServer :"wpool_pool-default-2" terminating
2/13/2020 1:57:09 PM** (CaseClauseError) no case clause matching: {:normal, {:gen_statem, :call, [#PID<0.23274.7>, {:send_ping, #PID<0.23207.7>}, :infinity]}}
2/13/2020 1:57:09 PM    (worker_pool) /home/circleci/app/deps/worker_pool/src/wpool_process.erl:126: :wpool_process.handle_info/2
2/13/2020 1:57:09 PM    (stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
2/13/2020 1:57:09 PM    (stdlib) gen_server.erl:711: :gen_server.handle_msg/6
2/13/2020 1:57:09 PM    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
2/13/2020 1:57:09 PMLast message: :ping
2/13/2020 1:57:39 PM
2/13/2020 1:57:39 PM2020-02-13T21:57:39.559 [info] pid=<0.23307.7>  action=terminate, reason={{:case_clause, {:normal, {:gen_statem, :call, [#PID<0.23357.7>, {:send_ping, #PID<0.23307.7>}, :infinity]}}}, [{:wpool_process, :handle_info, 2, [file: '/home/circleci/app/deps/worker_pool/src/wpool_process.erl', line: 126]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 637]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 711]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 249]}]}, connection_ref!=nil
2/13/2020 1:57:39 PM
2/13/2020 1:57:39 PM2020-02-13T21:57:39.560 [error] pid=<0.23307.7> GenServer :"wpool_pool-default-4" terminating
2/13/2020 1:57:39 PM** (CaseClauseError) no case clause matching: {:normal, {:gen_statem, :call, [#PID<0.23357.7>, {:send_ping, #PID<0.23307.7>}, :infinity]}}
2/13/2020 1:57:39 PM    (worker_pool) /home/circleci/app/deps/worker_pool/src/wpool_process.erl:126: :wpool_process.handle_info/2
2/13/2020 1:57:39 PM    (stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
2/13/2020 1:57:39 PM    (stdlib) gen_server.erl:711: :gen_server.handle_msg/6
2/13/2020 1:57:39 PM    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
2/13/2020 1:57:39 PMLast message: :ping

from mongoosepush.

rslota avatar rslota commented on September 21, 2024

Hi @andrewvmail ,

The fix has already been pushed and within few minutes new docker image (2.0.1) should be available. If the issue still persists, please reopen the issue.

from mongoosepush.

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.