Skip to content

WEBrick suddenly shuts down with no errors #21

Open
@MarwanTukhta

Description

@MarwanTukhta

Hello folks, thanks for creating this awesome gem, I am facing an issue with WEBrick on my app, my app runes on passenger, running Yabeda::Prometheus::Exporter.start_metrics_server! works fine and the metrics are scraped by Prometheus just fine, but then with no errors, WEBrick returns this

INFO  going to shutdown ...
INFO  WEBrick::HTTPServer#start done.

and yabeda prometheus no longer works, trying to re-run it again gives me Errno::EADDRINUSE

gems

gem "yabeda-prometheus", "~> 0.8.0"
gem "yabeda-rails", "~> 0.8.1"
gem "yabeda-graphql", "~> 0.2.2"
gem "yabeda-anycable", "~> 0.1.1"

my yabeda_prometheus.rb initializer

Yabeda::Rails.install!
Yabeda::Prometheus::Exporter.start_metrics_server!

Note: I got anycable and sidekiq running on different servers and they work fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions