Comments (1)
@ansd you might find this interesting. When the TLS handshake times out, this is what rabbit_mqtt_reader:init/1
returns:
1> redbug:start("rabbit_mqtt_reader:init->return,stack",[{time,60000}]).
{529,1}
% 10:21:43 <0.791.0>({rabbit_mqtt_reader,init,1})
% rabbit_mqtt_reader:init({acceptor,{0,0,0,0,0,0,0,0},8883})
% proc_lib:init_p_do_apply/3
% 10:21:43 <0.791.0>(dead)
% rabbit_mqtt_reader:init/1 -> {exit,normal}
I'm assuming this is why nothing is logged ... I'm continuing my investigation. I'm kind of surprised a badmatch
is getting turned into {exit, normal}
somehow 🤔
UPDATE: oh, here's why:
(rabbit@PROKOFIEV)4> redbug:start("rabbit_networking:handshake->return,stack",[{time,60000}]).
{529,1}
% 10:29:05 <0.774.0>({rabbit_mqtt_reader,init,1})
% rabbit_networking:handshake({acceptor,{0,0,0,0,0,0,0,0},8883}, false)
% rabbit_mqtt_reader:init/1
% proc_lib:init_p_do_apply/3
% 10:29:05 <0.774.0>(dead)
% rabbit_networking:handshake/2 -> {exit,normal}
UPDATE 2: yeah, it seems like the whole supervisor setup for a TCP/SSL ranch listener swallows errors like TLS handshake timeout, with nary a log message or crash anywhere.
from rabbitmq-server.
Related Issues (20)
- Add the ability to specify `$node` in log formatter format string
- HTTP API: GET /api/queues/{vhost}/{name} can return duplicate keys for quorum queues HOT 3
- 3.11: two Raft replicas are in the timeout state, one is a candidate HOT 5
- OpenID compliance check is not based on the final specification
- Possible race condition in classic queue deletion/declaration handling for multi-node clusters
- Quorum queue replica Erlang process names can conflict between queues in different virtual hosts HOT 2
- OpenID Connect RP-Initiated Logout should be optional HOT 1
- Optimise how rdq files are scanned at CQ shared message store recovery startup HOT 21
- Management UI creates classic queue instead of virtual host default queue type in some circumstances HOT 2
- When I create a stream, an error message "could not connect osiris to replica" appears in the log. HOT 1
- Make it possible to configure OpenId Connect endpoints rather than discover them dynamically via OpenId Connect Discovery endpoint
- 3.13.0 - 3.13.2: Dead-letter cycle detection can wrongly drop messages
- 3.13.0 - 3.13.2: Wrong warning messages that dead letter messages get dropped HOT 1
- Streams: consider allowing non-numerical values for publishingId HOT 3
- Include x-death header in Stream messages HOT 1
- 4.x: reduce default maximum message size further (e.g. to 64 or 50 MiB) HOT 13
- Publish `amqp_client` 3.13.x GA versions to hex
- Emit event if configured queue length is reached
- Don't close connection if channel without finished publish is closed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rabbitmq-server.