Hey Michaël, I see you're getting a 500 error from _session - does you're reverse proxy do any filtering on the requests allowed through to the remote couch? E.g. Are urls white listed or blacklisted in the proxy? Cheers Simon
On Wednesday, 2 July 2014 at 09:20, Garren Smith wrote: > Ok, if you cannot figure it out, try upgrading the http-proxy module to the > latest release. We use quite an old version as its never given any problems. > > On 02 Jul 2014, at 10:17 AM, Michaël Zasso <mic.bes...@gmail.com> wrote: > > > Hi, > > No worries! But I have already set this section in my settings.json. > > > > The problem seems to be happening in the http-proxy module. I am > > investigating this. > > > > Cheers > > > > > > 2014-07-02 9:44 GMT+02:00 Garren Smith <gar...@apache.org>: > > > > > Hi Michael, > > > > > > Sorry, I thought the settings.json.default has a couch_server setting in > > > it but it doesn’t. Try the settings.json from this gist ( > > > https://gist.github.com/garrensmith/bb17097615fe217e6caf) Notice the > > > “couch_server” section. You need to set the url and port of your couchdb > > > server. > > > > > > Thanks for trying this. Once we got this working it would be awesome if > > > you could document your steps and we can update the Fauxton documentation. > > > Hopefully we can make sure the next person trying this doesn’t have the > > > same issues. > > > > > > Cheers > > > Garren > > > > > > On 02 Jul 2014, at 9:37 AM, Michaël Zasso <mic.bes...@gmail.com> wrote: > > > > > > > Thanks for your help so far. > > > > Unfortunately it is still not working :( > > > > > > > > Here is the image link : http://s9.postimg.org/c7qwojs1b/error.png > > > > In case it matters, CouchDB is behind an httpd reverse proxy. > > > > > > > > Cheers > > > > > > > > > > > > 2014-07-02 9:23 GMT+02:00 Garren Smith <gar...@apache.org>: > > > > > > > > > Hi Michael, > > > > > > > > > > Unfortunately that image didn’t come through. You might have to share > > > > > a > > > > > link instead. Since CouchDB is running on a different machine, you > > > > > need > > > > > > > > > > > > > > > > > > > to > > > > > make a copy of settings.json.default (NOTE: not the dev file, but the > > > > > settings.json.default one) and rename it to settings.json. Then the > > > > > > > > > > > > > > > Fauxton > > > > > grunt task will read all the settings from there. Then in the > > > > > > > > > > settings.json > > > > > file under the couchserver section enter the url for your Couchdb > > > > > > > > > > instance. > > > > > That should fix your problem. > > > > > > > > > > Cheers > > > > > Garren > > > > > > > > > > > > > > > On 02 Jul 2014, at 8:49 AM, Michaël Zasso <mic.bes...@gmail.com> > > > > > wrote: > > > > > > > > > > > I do have CouchDB running (1.5.0, on another computer in my > > > > > > network). I > > > > > am using settings.json.dev as a base with a couchserver key to > > > > > configure > > > > > the proxy as explained in the Grunfile. > > > > > > > > > > > > The dev console shows this error :