sorry about the last one, I posted prematurely on accident. here is the stack trace: CompilerException java.io.IOException, compiling:(NO_SOURCE_FILE:1:10) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3558) clojure.lang.Compiler$DefExpr.eval (Compiler.java:417) clojure.lang.Compiler.eval (Compiler.java:6708) clojure.lang.Compiler.eval (Compiler.java:6666) clojure.core/eval (core.clj:2927) clojure.main/repl/read-eval-print--6625/fn--6628 (main.clj:239) clojure.main/repl/read-eval-print--6625 (main.clj:239) clojure.main/repl/fn--6634 (main.clj:257) clojure.main/repl (main.clj:257) clojure.tools.nrepl.middleware.interruptible-eval/evaluate/fn--1308 (interruptible_eval.clj:56) clojure.core/apply (core.clj:624) clojure.core/with-bindings* (core.clj:1862) Caused by: IOException com.rabbitmq.client.impl.AMQChannel.wrap (AMQChannel.java:106) com.rabbitmq.client.impl.AMQChannel.wrap (AMQChannel.java:102) com.rabbitmq.client.impl.AMQChannel.exnWrappingRpc (AMQChannel.java:124) com.rabbitmq.client.impl.AMQConnection.start (AMQConnection.java:374) com.rabbitmq.client.ConnectionFactory.newConnection (ConnectionFactory.java:590) com.novemberain.langohr.Connection.init (Connection.java:107) langohr.core/connect (core.clj:93) clojure.lang.Compiler$InvokeExpr.eval (Compiler.java:3553) clojure.lang.Compiler$DefExpr.eval (Compiler.java:417) clojure.lang.Compiler.eval (Compiler.java:6708) clojure.lang.Compiler.eval (Compiler.java:6666) Caused by: ShutdownSignalException connection error com.rabbitmq.utility.ValueOrException.getValue (ValueOrException.java:67) com.rabbitmq.utility.BlockingValueOrException.uninterruptibleGetValue (BlockingValueOrException.java:33) com.rabbitmq.client.impl.AMQChannel$BlockingRpcContinuation.getReply (AMQChannel.java:343) com.rabbitmq.client.impl.AMQChannel.privateRpc (AMQChannel.java:216) Caused by: SocketException Connection reset
On Wednesday, June 11, 2014 1:53:25 PM UTC-4, Samuel Nelson wrote: > > I am new to langohr and rabbitmq, and I want to try and use it for sending > data across a distributed network. > > To test it out, I have two laptops, both connected over and adhoc network > and both running rabbitmq and their IP's are set to 10.10.10.3 and > 10.10.10.5... I added a rabbitmq username and password "client", "client" > on the 10.10.10.3 laptop > > From the repl on the 10.10.10.5 laptop, I enter the following command: > (def conn (langohr.core/connect { :host "10.10.10.3" > :username "client" > :password "client"})) > > And after a few seconds, it gives me the following exception: > SocketException Connection reset java.net.SocketInputStream.read > (SocketInputStream.java:185) > > I know that it isn't the network because the log file on the 10.10.10.3 > laptop says something like : > accepting amqp connection: <0.209.0> (10.10.10.5:46647 -> 10.10.10.3:5672 > ) > > Any idea what could be causing this exception? > > also, will langohr and rabbitmq work on embedded ARM processors? > > > > This information is intended solely for the use of the individual to whom it > is addressed. > Any review, disclosure, copying, distribution or use of this e-mail > communication by > others is strictly prohibited. If you are not the intended recipient, > please notify us > immediately by returning this message to the sender and delete all copies. > > -- This information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies. -- You received this message because you are subscribed to the Google Groups "clojure-rabbitmq" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure-rabbitmq+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.