Giter Site home page Giter Site logo

Comments (8)

michaelklishin avatar michaelklishin commented on July 22, 2024

rabbit_networking:active_listeners/0 returns

 {listener,rabbit@moraine,https,"moraine",
           {0,0,0,0,0,0,0,0},
           15671,
           [{cowboy_opts,[{sendfile,false}]},
            {port,15671},
            {ssl,true},
            {ssl_opts,[{cacertfile,"/path/to/tls-gen.git/basic/result/ca_certificate.pem"},
                       {keyfile,"/path/to/tls-gen.git/basic/result/server_key.pem"},
                       {certfile,"/path/to/tls-gen.git/basic/result/server_certificate.pem"},
                       {port,15679}]}]},

from rabbitmq-management.

lukebakken avatar lukebakken commented on July 22, 2024

@michaelklishin - https://www.pivotaltracker.com/story/show/135606833

from rabbitmq-management.

lukebakken avatar lukebakken commented on July 22, 2024

How did you find this issue @michaelklishin ? It works when I use this configuration file:
rabbitmq-tls.conf.txt

Output:

$ ./sbin/rabbitmq-diagnostics listeners
Asking node rabbit@shostakovich to report its protocol listeners ...
Interface: [::], port: 15671, protocol: https, purpose: HTTP API over TLS (HTTPS)
Interface: [::], port: 25672, protocol: clustering, purpose: inter-node and CLI tool communication
Interface: [::], port: 5671, protocol: amqp/ssl, purpose: AMQP 0-9-1 and AMQP 1.0 over TLS

I'll try next with a more minimal file like yours.

from rabbitmq-management.

lukebakken avatar lukebakken commented on July 22, 2024

Even with a shorter configuration it appears to work correctly:

(23.1.1)lbakken@shostakovich ~/development/rabbitmq/umbrella/deps/rabbitmq_server_release (master %=)
$ ./sbin/rabbitmq-diagnostics listeners
Asking node rabbit@shostakovich to report its protocol listeners ...
Interface: [::], port: 15671, protocol: https, purpose: HTTP API over TLS (HTTPS)
Interface: [::], port: 25672, protocol: clustering, purpose: inter-node and CLI tool communication
Interface: [::], port: 5672, protocol: amqp, purpose: AMQP 0-9-1 and AMQP 1.0
(23.1.1)lbakken@shostakovich ~/development/rabbitmq/umbrella/deps/rabbitmq_server_release (master %=)
$ ./sbin/rabbitmq-diagnostics listeners -s
Interface: [::], port: 15671, protocol: https, purpose: HTTP API over TLS (HTTPS)
Interface: [::], port: 25672, protocol: clustering, purpose: inter-node and CLI tool communication
Interface: [::], port: 5672, protocol: amqp, purpose: AMQP 0-9-1 and AMQP 1.0

Can't reproduce with 3.8.9 generic-unix, either. Closing!

from rabbitmq-management.

michaelklishin avatar michaelklishin commented on July 22, 2024

Using a generic UNIX build and the config above. I can try another machine later on.

from rabbitmq-management.

xirius avatar xirius commented on July 22, 2024

@lukebakken The initial port in the first post is not the default port:

management.ssl.port = 15679

and in your own logs the reported port is the wrong one ! (it is a default port)

$ ./sbin/rabbitmq-diagnostics listeners
Asking node rabbit@shostakovich to report its protocol listeners ...
Interface: [::], port: **15671**, protocol: https, purpose: HTTP API over TLS (HTTPS)
Interface: [::], port: 25672, protocol: clustering, purpose: inter-node and CLI tool communication
Interface: [::], port: 5671, protocol: amqp/ssl, purpose: AMQP 0-9-1 and AMQP 1.0 over TLS

It doesn't work for me either.

from rabbitmq-management.

michaelklishin avatar michaelklishin commented on July 22, 2024

"works" here could refer to the fact that the node does bind to the expected port. Only the listener registry reports the default value.

from rabbitmq-management.

lukebakken avatar lukebakken commented on July 22, 2024

@xirius I was testing with port 15671 in my configuration files when apparently I should have been using a different value. I didn't think the value mattered, just that it didn't show up in the output.

from rabbitmq-management.

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.