Coder Social home page Coder Social logo

middlemail's People

Contributors

ahammoudeh-mia avatar leo-labs avatar saraedum avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

middlemail's Issues

Upgrade EasyNetQ

We are currently at using EasyNetQ at version 5.2.0 but should try to upgrade to the current major version. We would need to test if we could still consume messages from 5.2.0 when using 6.x. That would make simplify the upgrade.

Run tests on GitHub

probably using Kubernetes-in-Docker as this makes it easy to run the dependencies?

The operation requested on PersistentChannel timed out

Sometimes MiddleMail crashes with the following stack trace:

Unhandled exception. System.TimeoutException: The operation requested on PersistentChannel timed out
   at EasyNetQ.Producer.PersistentChannel.InvokeChannelAction(Action`1 channelAction)
   at EasyNetQ.Producer.ClientCommandDispatcherSingleton.<>c__DisplayClass7_0`1.<InvokeAsync>b__0()
--- End of stack trace from previous location where exception was thrown ---
   at EasyNetQ.Producer.ClientCommandDispatcherSingleton.Invoke[T](Func`2 channelAction)
   at EasyNetQ.Producer.ClientCommandDispatcher.Invoke[T](Func`2 channelAction)
   at EasyNetQ.RabbitAdvancedBus.QueueDeclare(String name, Boolean passive, Boolean durable, Boolean exclusive, Boolean autoDelete, Nullable`1 perQueueMessageTtl, Nullable`1 expires, Nullable`1 maxPriority, String deadLetterExchange, String deadLetterRoutingKey, Nullable`1 maxLength, Nullable`1 maxLengthBytes)
   at EasyNetQ.RabbitBus.SubscribeAsync[T](String subscriptionId, Func`2 onMessage, Action`1 configure)
   at EasyNetQ.RabbitBus.SubscribeAsync[T](String subscriptionId, Func`2 onMessage)
   at MiddleMail.MessageSource.RabbitMQ.RabbitMQMessageSource.Start(Func`2 callback) in /app/src/MiddleMail.MessageSource.RabbitMQ/RabbitMQMessageSource.cs:line 35
   at MiddleMail.MiddleMailService.ExecuteAsync(CancellationToken cancellationToken) in /app/src/MiddleMail/MiddleMailService.cs:line 31
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at MiddleMail.Server.Program.Main(String[] args) in /app/src/MiddleMail.Server/Program.cs:line 17

Fix reconnection logic in SmtpMimeMessageSender

  • Do we really need to execute the NoOp command or can we just check for a ServiceNotConnectedException when calling SendAsync

  • Investigate when exactly we can throw a MimeMessageSenderException (it is better to be conservative here and do not throw if we are unsure)

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.