First I’d like to say thanks to all that work on Discourse. I’m a CS professor and I’ve used it for multiple courses. It’s far superior to Piazza, and I like being able to tell students that we’re using community-supported software. Keep up the good work.
I’ve put up the latest version of Discourse at CS 125. I know that this is a subfolder install, and not completely supported, but it’s working fairly well. I’ve followed the instructions, and used my logs to hunt down some places where images weren’t being prefixed properly.
Except that the topic preview pane is not working. In a related problem, I can’t view the content of posts that have been queued for moderation. I can see an error in the Chrome developer console about “Cannot read property ‘getResponseHeader’ of undefined.” (I wanted to post the screenshot but only get one per topic and the Safari one is probably more revealing.)
On Safari the error is a bit more interesting:
I don’t see any errors in the server-side logs, but perhaps I’m not looking in the right place.
I’ve installed Let’s Encrypt certificates on cs125.cs.illinois.edu and have an nginx instance handling the encryption and reverse proxying to the Discourse container over a socket. I wonder if I need to add some
Access-Control-Allow-Origin headers to my nginx configuration to get this to work?
Additional information: we’re on 1.9.0.beta7 and have no non-official plugins installed.
Any help tracking this down would be greatly appreciated, and will be a nice open source support success story to share with my students .