Giter Site home page Giter Site logo

Comments (3)

damienlevin avatar damienlevin commented on July 26, 2024

Here is how it looks with actor logging turned on.
In this case I set the following rule :

sudo ipfw add 1 deny tcp from any to rds1.blabla.com 6379
and removed it latter on with
sudo ipfw del 1 deny tcp from any to rds1.blabla.com 6379

As you can see an Akka actor crashed and Brando don't get notified of it no Tcp.CommandFailed(_: Connect) sent.

[DEBUG] [08/08/2013 09:43:53.307] [system-akka.actor.default-dispatcher-2] [akka://system/system/IO-TCP/selectors/$a/0] Attempting connection to [rds1.blabla.com/174.129.176.148:6379]
[DEBUG] [08/08/2013 09:43:53.334] [system-akka.actor.default-dispatcher-2] [akka://system/system/IO-TCP/selectors/$a/0] Connection established to [rds1.blabla.com/174.129.176.148:6379]
Connected
0 Success Some(Pong)
1 Success Some(Pong)
2 Success Some(Pong)
3 Success Some(Pong)
[DEBUG] [08/08/2013 09:43:57.834] [system-akka.actor.default-dispatcher-4] [akka://system/system/IO-TCP/selectors/$a/0] Closing connection due to IO error java.io.IOException: Permission denied
ConnectionClosed
[DEBUG] [08/08/2013 09:43:57.850] [system-akka.actor.default-dispatcher-3] [akka://system/system/IO-TCP/selectors/$a] received AutoReceiveMessage Envelope(Terminated(Actor[akka://system/system/IO-TCP/selectors/$a/0#958831268]),Actor[akka://system/system/IO-TCP/selectors/$a/0#958831268])
Connect
[DEBUG] [08/08/2013 09:43:59.872] [system-akka.actor.default-dispatcher-2] [akka://system/system/IO-TCP/selectors/$a/1] Attempting connection to [rds1.blabla.com/174.129.176.148:6379]
[DEBUG] [08/08/2013 09:43:59.880] [system-akka.actor.default-dispatcher-3] [akka://system/system/IO-TCP/selectors/$a/1] Permission denied
[DEBUG] [08/08/2013 09:43:59.883] [system-akka.actor.default-dispatcher-3] [akka://system/system/IO-TCP/selectors/$a] received AutoReceiveMessage Envelope(Terminated(Actor[akka://system/system/IO-TCP/selectors/$a/1#94740691]),Actor[akka://system/system/IO-TCP/selectors/$a/1#94740691])
4 Failure Timed out
5 Failure Timed out
6 Failure Timed out
7 Failure Timed out
8 Failure Timed out

from brando.

damienlevin avatar damienlevin commented on July 26, 2024

Roland asked me to open a ticket :
akka/akka#1637

from brando.

damienlevin avatar damienlevin commented on July 26, 2024

Fixed with Akka 2.2.1 update.
Akka issue 3535 Akka IO - CommandFailed(_: Connect) not sent for Connection refused

from brando.

Related Issues (13)

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.