Error connecting to socket Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61}

271 views
Skip to first unread message

Prem Chand

unread,
Dec 1, 2016, 12:57:49 PM12/1/16
to Couchbase Mobile
Hey, 

I am getting this issue when in iOS while it working fine with Android. 

Error connecting to socket Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorDomainKey=1, _kCFStreamErrorCodeKey=61}
Error: Could not connect to the server.



Jens Alfke

unread,
Dec 1, 2016, 1:08:43 PM12/1/16
to mobile-c...@googlegroups.com
I'm on my phone and can't look up the error code right now, but

- double check that the URL is identical to what you use on Android.
- App Transport Security (look it up) on iOS will refuse to connect to non -SSL servers or if the SSL connection isn't secure enough. I don't think it's the same error code, but it's a common failure.

--Jens     [via iPhone]
--
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/6452bb9c-47f7-40e3-9c60-67a9b4e6c541%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages