t0nylai commented on issue #805: XMLHttpRequest cannot load. No 'Access-Control-Allow-Origin' header is present on the requested resource. URL: https://github.com/apache/couchdb/issues/805#issuecomment-328641367 Hi Joan, On CouchDB 2.0, I used to have origins = * and credentials = true for CORS. In ver 2.1, I see it doesn't allowed. So I have origins = http://intranet-dev,http://intranet-qa "couchdb2_1-dev" is a Windows 2008R2 machine where the Couchdb 2.1 installed and database located. "intranet-dev" is a Windows 2008R2 IIS web server has the application running and access db on couchdb2_1-dev I still have this error. XMLHttpRequest cannot load http://couchdb2_1-dev/sash_dev/. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://intranet-dev' is therefore not allowed access. The response had HTTP status code 401 Tony Lai On Mon, Sep 11, 2017 at 12:20 PM, Joan Touzet <[email protected]> wrote: > Our CORS test passes so this is likely a misconfiguration of some sort. I > am not familiar with the CORS support so I can't immediately help further. > Can you paste your full local.ini file? > > Our tests: https://github.com/apache/couchdb/blob/master/src/ > chttpd/test/chttpd_cors_test.erl > > ? > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/apache/couchdb/issues/805#issuecomment-328631634>, or mute > the thread > <https://github.com/notifications/unsubscribe-auth/AFmDredVsye-4xB91Wi3sHtz12Kxr31gks5shYf4gaJpZM4PTnlT> > . > ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
