Hi,
I am using a Hyper-v and disable the firewall in Ubuntu 14.04 VM.
When I try to connect from an external system, I get the oompa loompas error message showing:
Oops, something happened...According to our Oompa Loompas, your username/email or password are incorrect.
My conf.json for front end follows:
{
"debug": true,
"publicRegisterEnabled": true,
"feedbackEnabled": true,
"privacyPolicyUrl": null,
"termsOfServiceUrl": null,
"maxUploadFileSize": null,
"contribPlugins": [],
"debugInfo": false
}
app-loader.js shows:
(function() {
var promise, version;
version = 1437417017488;
window.taigaConfig = {
"eventsUrl": null,
"debug": true,
"defaultLanguage": "en",
"publicRegisterEnabled": true,
"feedbackEnabled": true,
"privacyPolicyUrl": null,
"termsOfServiceUrl": null,
"maxUploadFileSize": null,
"contribPlugins": []
};
promise = $.getJSON("/js/conf.json");
promise.done(function(data) {
return window.taigaConfig = _.extend({}, window.taigaConfig, data);
});
promise.always(function() {
var plugins;
if (window.taigaConfig.contribPlugins.length > 0) {
plugins = _.map(window.taigaConfig.contribPlugins, function(plugin) {
return plugin + "?v=" + version;
});
return ljs.load(plugins, function() {
return ljs.load("/js/app.js?v=" + version, function() {
return angular.bootstrap(document, ['taiga']);
});
});
} else {
return ljs.load("/js/app.js?v=" + version, function() {
return angular.bootstrap(document, ['taiga']);
});
}
});
}).call(this);
local.py for taiga-back :
from .common import *
SITES["front"]["scheme"] = "http"
SECRET_KEY = "theveryultratopsecretkey"
DEBUG = False
TEMPLATE_DEBUG = False
PUBLIC_REGISTER_ENABLED = True
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"
from .celery import *
BROKER_URL = 'amqp://guest:guest@localhost:5672//'
CELERY_RESULT_BACKEND = 'redis://localhost:6379/0'
CELERY_ENABLED = True
nginx settings follow:
server {
listen 80 default_server;
server_name _;
large_client_header_buffers 4 32k;
client_max_body_size 50M;
charset utf-8;
access_log /home/taiga/logs/nginx.access.log;
error_log /home/taiga/logs/nginx.error.log;
# Frontend
location / {
root /home/taiga/taiga-front-dist/dist/;
try_files $uri $uri/ /index.html;
}
# Backend
location /api {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
}
# Django admin access (/admin/)
location /admin {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:8001$request_uri;
proxy_redirect off;
}
# Static files
location /static {
alias /home/taiga/taiga-back/static;
}
# Media files
location /media {
alias /home/taiga/taiga-back/media;
}
}
Please let me know how to fix the error!?