Having problems with my production taiga

637 views
Skip to first unread message

Sebastián de la Fuente

unread,
Feb 23, 2015, 12:31:04 PM2/23/15
to tai...@googlegroups.com
Hi to all,

I just installed taiga in my AWS EC2 Instance, and everything ok, but when i try to register a new user, it fails.

this is the message in the chrome console:

POST http://ec2-XX-XXX-XX-XX.compute-1.amazonaws.com/api/v1/auth/register 502 (Bad Gateway).

I changed my local.py file with the ec2 server DNS with 8000 port and also changed the front end conf.json file to redirect everything to the ec2 DNS.

My local.py:

from .common import *

MEDIA_URL = "http://ec2-XX-XXX-XX-XX.compute-1.amazonaws.com:8000/media/"
STATIC_URL = "http://ec2-XX-XXX-XX-XX.compute-1.amazonaws.com:8000/static/" ADMIN_MEDIA_PREFIX = "http://ec2-XX-XXX-XX-XX.compute-1.amazonaws.com:8000/static/admin/"
SITES["front"]["scheme"] = "http" SITES["front"]["domain"] = "ec2-XX-XXX-XX-XX.compute-1.amazonaws.com"
SECRET_KEY = "theveryultratopsecretkey" DEBUG = False TEMPLATE_DEBUG = False PUBLIC_REGISTER_ENABLED = True DEFAULT_FROM_EMAIL = "no-r...@example.com" SERVER_EMAIL = DEFAULT_FROM_EMAIL # Uncomment and populate with proper connection parameters # for enable email sending. #EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend" #EMAIL_USE_TLS = False #EMAIL_HOST = "localhost" #EMAIL_HOST_USER = "" #EMAIL_HOST_PASSWORD = "" #EMAIL_PORT = 25 # Uncomment and populate with proper connection parameters # for enable github login/singin. #GITHUB_API_CLIENT_ID = "yourgithubclientid" #GITHUB_API_CLIENT_SECRET = "yourgithubclientsecret"

And my conf.json:


{
    "debug": "true",
    "publicRegisterEnabled": true,
    "feedbackEnabled": true,
    "privacyPolicyUrl": null,
    "termsOfServiceUrl": null,
    "maxUploadFileSize": null,
    "gitHubClientId": null,
    "contribPlugins": []
}


My Ec2 instance have enabled the 80, 8000 ports in his security group.

What im doing wrong, sry im newbie in python and also ubuntu.


Jesús Espino

unread,
Feb 23, 2015, 12:50:44 PM2/23/15
to Sebastián de la Fuente, tai...@googlegroups.com
Hi,

Can stop the taiga service in the circus, and run taiga-back manually
with python manage.py runserver in the taiga-back directory (after a
workon taiga to enter in the virtualenv)? Try again, and see if you
get any error?

Regards.
> --
> You received this message because you are subscribed to the Google Groups
> "taigaio" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to taigaio+u...@googlegroups.com.
> To post to this group, send email to tai...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/taigaio/1dd859c2-41e1-416c-877e-74587d9fa003%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages