Hi guys, sorry not to chime in earlier but I was out of town all weekend, and 
then immediately out sick with a cold :(

My understanding of the problem is:
The device is on a WiFi network that's firewalled so no outside hosts are 
reachable (the router won't route to any external address ranges.)
There is an HTTP proxy server on this network that can be used to make requests 
of outside servers.
The device is aware of the proxy, as evidenced by being able to use Safari to 
view outside sites.
But Couchbase Lite thinks the remote db server is unreachable and won't try to 
replicate.

It does sound as though SCNetworkReachability is ignoring the system proxy 
settings, which is surprising to me.  But maybe that's because it doesn't know 
what particular protocol I'm going to use to contact the host, so it can't 
assume that an HTTP-only proxy would provide access?

It sounds like the solution is to have my reachability code check the system 
proxy settings and check the reachability of the proxy server instead if there 
is one. The confusing aspect of this is that the proxy settings themselves are 
probably location-based, since the device can move between LANs with different 
proxies, so I probably need a second layer of notification to find out when the 
system proxy settings change...

--Jens

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/A129A9CC-DE5C-4701-8293-D12BA15D0086%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to