Lujeni / matterllo

Simple integration between Trello and Mattermost: send Trello activity notifications to Mattermost channels
MIT License
86 stars 25 forks source link

result=False when uWSGI & nginx #50

Closed s1lviu closed 3 years ago

s1lviu commented 6 years ago

When I run the server manually, without nginx, the hooks are creating with success.

But, when I try to put the things on nginx..

delete trello hook :: result=[]
create trello hook :: callback=http://matterllo.x.com:8080/callback/1/ :: board=amazon-argila :: result=False
create trello hook :: callback=http://matterllo.x.com:com:8080/callback/2/ :: board=apiscrm :: result=False
create trello hook :: callback=http://matterllo.x.com:8080/callback/2/ :: board=apiscrm :: result=False

nginx config:

server {
    listen 8080;
    server_name matterllo.x.com;

   location / {
    include uwsgi_params;
        uwsgi_ignore_client_abort on;
    uwsgi_pass unix:/home/silviu/uwsgi/trello.sock;
   }
}

I'm stuck for few hours at this and I don't know what's the problem. Thanks!

s1lviu commented 6 years ago

@Lujeni seems to be a 400 Bad Request, but I can't find the problem until now. :(

Lujeni commented 5 years ago

@s1lviu Sorry for the delay, I was focus on other issues.

Do you have your nginx logs pls?