sensu / sensu-transport

The Sensu transport abstraction library.
MIT License
14 stars 19 forks source link

[WIP] call transport on_error if connection error on initial connect #10

Closed portertech closed 7 years ago

portertech commented 9 years ago

Sensu cannot operate without a Transport EventMachine connection object. There are certain conditions that cause the creation of the object to fail, such as DNS resolution, eg. https://github.com/sensu/sensu/issues/877

portertech commented 9 years ago

The async object use and initialization errors are very difficult to handle :-1:

portertech commented 7 years ago

Closing this issue, as we now resolve DNS prior to setting up the connection and we are now using a deferrable connection object.