I asked this in the Clutch group, before I realized the last time anyone 
else had posted there was last year...

I have some code that connects to a CouchDB server using Clutch 
(https://github.com/clojure-clutch/clutch). I recently changed the 
connection to use a non-local connection, i.e. 

(def db (clutch/get-database "http://<ip addres>:<port>/<db>"))

instead of

(def db (clutch/get-database "<db>"))


Since doing so, I've gotten the following error:
ConnectTimeoutException Connect to <ip address>:<port> timed out  org.apache
.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:
119)

 The CouchDB server is on my local home network, which isn't the best 
(local SSH connections get dropped, etc.) Is there anything I can do to fix 
my timeout problems? I'd really rather not have to wrap everything in 
try/catch blocks, if I can possibly avoid it.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to