Re: CouchDB sync error net::ERR_CONNECTION_RESET

2017-11-29 Thread Joel Wallis Jucá
Hi Yvonne, I think that, by *tunnel*, it was meant to have a HTTPS proxy - like Nginx with a Let's Encrypt certificate running in front of CouchDB. This way your HTTP requests wouldn't be going on plain text across the web. After setting up your server to use HTTPS your browser will be doing the

Re: CouchDB sync error net::ERR_CONNECTION_RESET

2017-11-29 Thread Yvonne Aburrow
Thanks Adam, that makes sense. (Except that one doesn't have this issue with other APIs...) Do you know if there is a way to create a SSH tunnel using JavaScript but without using Node.js? I've searched for one but it doesn't look as if there is. Regards, *Yvonne Aburrow* Applications Developer

Re: CouchDB sync error net::ERR_CONNECTION_RESET

2017-11-29 Thread Adam Kocoloski
Hi Yvonne, yes, either the remote CouchDB instance needs to be directly accessible from the internet, or you need some kind of tunnel or proxy that will provide access to it. PouchDB is not special in this respect; it’s using the same API as everyone else. Cheers, Adam > On Nov 29, 2017, at 5:

Re: CouchDB sync error net::ERR_CONNECTION_RESET

2017-11-29 Thread Yvonne Aburrow
oops I mean SSH tunnel Regards, *Yvonne Aburrow* Applications Developer Information Systems Team *IT Services * Oxford Brookes University extn 2706 For enquiries and issues with live systems, please email broo...@service-now.com On

Re: CouchDB sync error net::ERR_CONNECTION_RESET

2017-11-29 Thread Yvonne Aburrow
Thanks Adam Unfortunately that still didn't work - I got ERR_CONNECTION_RESET again. I am wondering if I need to use a SSL tunnel to create a local instance (I had to do that to access Fauxton). There doesn't seem to be a script for SSL tunnelling that doesn't involve using Node.js Regards, *Y