thoughtbot / carnival

An unobtrusive, developer-friendly way to add comments
MIT License
499 stars 30 forks source link

Seems like there is a malformed request on your announcement page #252

Closed joshbeckman closed 9 years ago

joshbeckman commented 9 years ago

screen shot 2015-04-17 at 8 35 31 am

Error code 405 on calling /user

chrisradford commented 9 years ago

I'm getting the same set of errors on my (just started) personal blog, specifically:

[Error] Failed to load resource: the server responded with a status of 405 (Method Not Allowed) (user, line 0, x2)
[Error] Failed to load resource: Origin http://chrisradford.com is not allowed by Access-Control-Allow-Origin. (user, line 0)
[Error] XMLHttpRequest cannot load https://carnivalapp.io/user. Origin http://chrisradford.com is not allowed by Access-Control-Allow-Origin.
    getUser (autogen-BVW6LHUT.js, line 1)
    isLoggedIn (autogen-BVW6LHUT.js, line 1)
    (anonymous function) (autogen-BVW6LHUT.js, line 1)
[Error] NETWORK_ERR: XMLHttpRequest Exception 101: A network error occurred in synchronous requests.
    send (autogen-BVW6LHUT.js, line 1)
    getUser (autogen-BVW6LHUT.js, line 1)
    isLoggedIn (autogen-BVW6LHUT.js, line 1)
    (anonymous function) (autogen-BVW6LHUT.js, line 1)
pbrisbin commented 9 years ago

Hi all, sorry about this. I've reproduced locally, have a vague idea of the issue, and am getting started on a fix.

Thanks for the report!

pbrisbin commented 9 years ago

Fixed in #253 should be merged/deployed within the hour.

pbrisbin commented 9 years ago

This specific error was fixed in dd1ab05e3, still need to deal with #248.