--Originally posted here: https://productforums.google.com/forum/?utm_medium=email&utm_source=footer#!msg/chrome/RilYhMfw9sc/gzSWBb8t43UJIt was suggested that I post here as well.I am developing a website with separate UI/API components that are currently deployed on the same IIS 7.5, Windows Server 2008 R2 box.When my website and public API are on the same origin server with different urls, i.e. http://company.com/web and http://company.com/api, I used to get a same-origin error on a previous version. Now (version 41.0.2272.118 m), I get a 500 Internal Server Error from the website even though my request is received, processed, and returned by my API.This only happens in Chrome. FireFox and even IE work without issue.I don't have much leeway as to where I can deploy, and this restriction/error with Chrome makes it difficult to instill confidence to QA to pass my project.RegardsI have now tested against Version 42.0.2311.90 m as well with the same results.
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discu...@chromium.org.
Incognito mode produces the same error.We've always had issues with Chrome in our test environment where the UI and API are on the same server.It's hard to call this a server error when the problem is limited to one browser of many.All I can see in the headers is that Chrome is sending an Origin tag that isn't present in the IE or FF request. The IE request works, by the way. Firefox doesn't even show up in fiddler, but it works fine as well.Chrome from fiddler: (gets a 500)
POST http://testweb.company.com/api/controller/method HTTP/1.1Content-Type: application/json;charset=UTF-8Accept: application/json, text/plain, */*Accept-Encoding: gzip, deflateUser-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36Connection: keep-aliveContent-Length: 62DNT: 1Host: testweb.company.comOrigin: http://testweb.company.comCookie: _ga=cookie; _gat=1
IE from fiddler: (gets a 200)
POST http://testweb.company.com/api/controller/method HTTP/1.1Content-Type: application/json;charset=utf-8Accept: application/json, text/plain, */*Referer: http://testweb.company.com/website/Accept-Language: en-USAccept-Encoding: gzip, deflateUser-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; TNJB; rv:11.0) like GeckoConnection: Keep-AliveContent-Length: 62DNT: 1Host: testweb.company.comPragma: no-cacheCookie: _ga=cookie; __utma=cookie; __utmz=cookie; _gat=1
FireFox from Firebug: (gets a 200)
POST /api/controller/method HTTP/1.1Host: testweb.company.comUser-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0Accept: application/json, text/plain, */*Accept-Language: en-US,en;q=0.5Accept-Encoding: gzip, deflateContent-Type: application/json;charset=utf-8Referer: http://testweb.company.com/website/Content-Length: 61Cookie: __utma=cookie; __utmz=cookie; _ga=cookie; _gat=1Connection: keep-alivePragma: no-cacheCache-Control: no-cache