Skip to content

mailcatcher UI stops working when navigating #570

@Guistoff081

Description

@Guistoff081

When running MailCatcher and navigating to http://localhost:1080, it crashes, but if I don't open the MailCatcher UI, it works fine.

guigo@guigo:~/Projects/gc/guardcenter-client-portal/guardcenter-client-api$ mailcatcher
Starting MailCatcher
==> smtp://127.0.0.1:1025
==> http://127.0.0.1:1080
/home/guigo/.local/share/mise/installs/ruby/3.4.6/lib/ruby/gems/3.4.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:1490:in 'EventMachine.event_callback': undefined method 'close' for an instance of Integer (NoMethodError)

              io.close
                ^^^^^^
Did you mean?  clone
        from /home/guigo/.local/share/mise/installs/ruby/3.4.6/lib/ruby/gems/3.4.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in 'EventMachine.run_machine'
        from /home/guigo/.local/share/mise/installs/ruby/3.4.6/lib/ruby/gems/3.4.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in 'EventMachine.run'
        from /home/guigo/.local/share/mise/installs/ruby/3.4.6/lib/ruby/gems/3.4.0/gems/mailcatcher-0.2.4/lib/mail_catcher.rb:21:in 'MailCatcher.run'
        from /home/guigo/.local/share/mise/installs/ruby/3.4.6/lib/ruby/gems/3.4.0/gems/mailcatcher-0.2.4/bin/mailcatcher:44:in '<top (required)>'
        from /home/guigo/.local/share/mise/installs/ruby/3.4.6/lib/ruby/site_ruby/3.4.0/rubygems.rb:319:in 'Kernel#load'
        from /home/guigo/.local/share/mise/installs/ruby/3.4.6/lib/ruby/site_ruby/3.4.0/rubygems.rb:319:in 'Gem.activate_and_load_bin_path'
        from /home/guigo/.local/share/mise/installs/ruby/3.4.6/bin/mailcatcher:25:in '<main>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions