First time here? Check out the FAQ!
1

callback invoke error: error on upvote

I get a callback invoke error on upvote/downvote/mark correct answer. My nginx server logs seems to suggest something is wrong with the POST request.

2012/11/20 05:33:33 [error] 200#0: *835 "/home/dotcloud/current/www/home/questions/2/vote/index.html" is not found (2: No such file or directory), client: 10.159.0.149, server: localhost, request: "POST /questions/2/vote/ HTTP/1.1", host: "recem-shoibalc.dotcloud.com", referrer: "http://recem-shoibalc.dotcloud.com/forum/question/2/how-do-i-write-math-on-the-forum/"

What is the resolution here?

Everythin else works fine.

shoibalc's avatar
11
shoibalc
asked 2012-11-19 23:46:01 -0500, updated 2012-11-24 20:56:41 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

This has something to do with the "root url" of your site being other than "/". I will follow up on this tomorrow and hopefully find a fix.

Evgeny's avatar
13.2k
Evgeny
answered 2012-11-20 00:13:29 -0500
edit flag offensive 0 remove flag delete link

Comments

Askbot is running at http://recem-shoibalc.dotcloud.com/forum/questions/ I use nginx to manage traffic to it. Here's the relevant part of nginx.conf. location /forum/ { gzip off; include /etc/nginx/uwsgi_params; uwsgi_param SCRIPT_NAME /forum; uwsgi_modifier1 30; uwsgi_pass unix:///var/dotcloud/askbot.sock; uwsgi_param UWSGI_SCRIPT wsgi; include uwsgi_params; } What should I change in askbot's settings.py? Thanks a lot

shoibalc's avatar shoibalc (2012-11-20 00:57:53 -0500) edit

Hi Evgeny. Can you suggest a fix for the problem. thanks.

shoibalc's avatar shoibalc (2012-11-24 20:52:35 -0500) edit
add a comment see more comments