Snooping around a bit I think this bug has already been reported (and is believed to be due to the libraries of apple). Is there any chance there will be a fix or workaround for this soon?
I've read about the commit adding a "."-suffix to the _changes feed listener, but won't this give problems with any certificates when using ssl?
I am using the latest version of the github branch SyncPoint. In my application I am still receiving timeouts for several GET requests. I assume they are stuck behind the _changes feed listener.
For the SSL bit: in case the hostname mismatch would be treated as an error in the future, what would you advise to keep everything working in the future? Or will the connection still be allowed, regardless of the error?
I'm afraid I can't tell you the exact timeout duration at the moment as my development machine is at the office and right now I just got home, but I will be sure to post it here tomorrow. However I had all kinds of logging on and I can tell you 100% sure that the timeouts were a lot faster than 4 minutes. Judging from my memory I would say anywhere from 30 seconds to a minute sounds correct.
That's good to hear about the SSL! One last question on the topic: is it possible to add a white list of trusted certificates somehow or does TouchDB not support this?
Thanks,
Robin
That's good to hear about the SSL! One last question on the topic: is it possible to add a white list of trusted certificates somehow or does TouchDB not support this?
I was using the IP address to connect to it. Hence the fix appending a dot didn't work for me.
Overjoyed I started testing my replicators right away but noticed that continuous replication still wasn't working as I had though when using https with a certificate. After changing an attachment on the server, I logged my active tasks on the device and saw the status was still on idle: my suspicion is that the _changes feed isn't being read properly (due to the dot and the combination with https).