[Errno 1] _ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Request Method: | GET |
---|---|
Request URL: | http://helper4realtor.com/ru/login/twitter/ |
Django Version: | 1.3.1 |
Exception Type: | SSLError |
Exception Value: | [Errno 1] _ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version |
Exception Location: | /usr/local/lib/python2.7/dist-packages/requests/adapters.py in send, line 331 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.3 |
Python Path: | ['/srv/www/portalestate.com/application/fre/apps', '/srv/www/portalestate.co.uk/application/fre/apps', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/srv/www/portalestate.co.uk/application'] |
Server time: | Птн, 29 Мар 2024 15:42:58 +0200 |
/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py
in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = callback(request, *callback_args, **callback_kwargs)...
except Exception, e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
exceptions | <module 'django.core.exceptions' from '/usr/local/lib/python2.7/dist-packages/django/core/exceptions.pyc'> |
e | SSLError(SSLError(SSLError(1, '_ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),),) |
callback_args | () |
receivers | [(<function _rollback_on_exception at 0x59eeaa74>, None)] |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x5a26a7ac>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x59b6578c> |
settings | <django.conf.LazySettings object at 0x59cf828c> |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTEXT_DOCUMENT_ROOT': '/srv/www/portalestate.co.uk/public_html', 'CONTEXT_PREFIX': '', 'CSRF_COOKIE': '9ed3bde79a2a23b16d251753940f2de3', 'DOCUMENT_ROOT': '/srv/www/portalestate.co.uk/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'helper4realtor.com', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.42.120', 'HTTP_X_REAL_IP': '44.223.42.120', 'PATH_INFO': u'/ru/login/twitter/', 'PATH_TRANSLATED': '/srv/www/portalestate.co.uk/application/django.wsgi/ru/login/twitter/', 'QUERY_STRING': '', 'REMOTE_ADDR': '176.58.99.67', 'REMOTE_PORT': '54132', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/ru/login/twitter/', 'SCRIPT_FILENAME': '/srv/www/portalestate.co.uk/application/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '176.58.99.67', 'SERVER_ADMIN': 'admin@portalestate.co.uk', 'SERVER_NAME': 'helper4realtor.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.4.12 (Ubuntu) PHP/5.6.10-1+deb.sury.org~precise+1 mod_wsgi/4.3.0 Python/2.7.3', 'apache.version': (2, 4, 12), 'mod_wsgi.application_group': 'helper4realtor.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8000', 'mod_wsgi.process_group': '', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.request_start': '1711719778634373', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.script_start': '1711719778634563', 'mod_wsgi.version': (4, 3, 0), 'wsgi.errors': <mod_wsgi.Log object at 0x5bacffc0>, 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>, 'wsgi.input': <mod_wsgi.Input object at 0x5c3cec00>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
callback | <function auth at 0x5aeb9684> |
resolver | <RegexURLResolver fre.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {'backend': u'twitter'} |
response | None |
urlconf | 'fre.urls' |
/srv/www/portalestate.co.uk/application/fre/apps/social/apps/django_app/utils.py
in wrapper
@wraps(func)
def wrapper(request, backend, *args, **kwargs):
uri = redirect_uri
if uri and not uri.startswith('/'):
uri = reverse(redirect_uri, args=(backend,))
request.strategy = load_strategy(request=request, backend=backend,
redirect_uri=uri, *args, **kwargs)
return func(request, backend, *args, **kwargs)...
return wrapper
return decorator
def setting(name, default=None):
try:
Variable | Value |
---|---|
load_strategy | <function load_strategy at 0x5add979c> |
args | () |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTEXT_DOCUMENT_ROOT': '/srv/www/portalestate.co.uk/public_html', 'CONTEXT_PREFIX': '', 'CSRF_COOKIE': '9ed3bde79a2a23b16d251753940f2de3', 'DOCUMENT_ROOT': '/srv/www/portalestate.co.uk/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'helper4realtor.com', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.42.120', 'HTTP_X_REAL_IP': '44.223.42.120', 'PATH_INFO': u'/ru/login/twitter/', 'PATH_TRANSLATED': '/srv/www/portalestate.co.uk/application/django.wsgi/ru/login/twitter/', 'QUERY_STRING': '', 'REMOTE_ADDR': '176.58.99.67', 'REMOTE_PORT': '54132', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/ru/login/twitter/', 'SCRIPT_FILENAME': '/srv/www/portalestate.co.uk/application/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '176.58.99.67', 'SERVER_ADMIN': 'admin@portalestate.co.uk', 'SERVER_NAME': 'helper4realtor.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.4.12 (Ubuntu) PHP/5.6.10-1+deb.sury.org~precise+1 mod_wsgi/4.3.0 Python/2.7.3', 'apache.version': (2, 4, 12), 'mod_wsgi.application_group': 'helper4realtor.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8000', 'mod_wsgi.process_group': '', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.request_start': '1711719778634373', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.script_start': '1711719778634563', 'mod_wsgi.version': (4, 3, 0), 'wsgi.errors': <mod_wsgi.Log object at 0x5bacffc0>, 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>, 'wsgi.input': <mod_wsgi.Input object at 0x5c3cec00>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
uri | u'/ru/complete/twitter/' |
redirect_uri | 'social:complete' |
func | <function auth at 0x5aeb90d4> |
kwargs | {} |
backend | u'twitter' |
/srv/www/portalestate.co.uk/application/fre/apps/social/apps/django_app/views.py
in auth
DEFAULT_REDIRECT = setting('LOGIN_REDIRECT_URL')
LOGIN_ERROR_URL = setting('LOGIN_ERROR_URL', setting('LOGIN_URL'))
@strategy('social:complete')
def auth(request, backend):
return do_auth(request.strategy, redirect_name=REDIRECT_FIELD_NAME)...
@csrf_exempt
@strategy('social:complete')
def complete(request, backend, *args, **kwargs):
"""Authentication complete view, override this view if transaction
Variable | Value |
---|---|
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTEXT_DOCUMENT_ROOT': '/srv/www/portalestate.co.uk/public_html', 'CONTEXT_PREFIX': '', 'CSRF_COOKIE': '9ed3bde79a2a23b16d251753940f2de3', 'DOCUMENT_ROOT': '/srv/www/portalestate.co.uk/public_html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'helper4realtor.com', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.42.120', 'HTTP_X_REAL_IP': '44.223.42.120', 'PATH_INFO': u'/ru/login/twitter/', 'PATH_TRANSLATED': '/srv/www/portalestate.co.uk/application/django.wsgi/ru/login/twitter/', 'QUERY_STRING': '', 'REMOTE_ADDR': '176.58.99.67', 'REMOTE_PORT': '54132', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/ru/login/twitter/', 'SCRIPT_FILENAME': '/srv/www/portalestate.co.uk/application/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '176.58.99.67', 'SERVER_ADMIN': 'admin@portalestate.co.uk', 'SERVER_NAME': 'helper4realtor.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.4.12 (Ubuntu) PHP/5.6.10-1+deb.sury.org~precise+1 mod_wsgi/4.3.0 Python/2.7.3', 'apache.version': (2, 4, 12), 'mod_wsgi.application_group': 'helper4realtor.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8000', 'mod_wsgi.process_group': '', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.request_start': '1711719778634373', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.script_start': '1711719778634563', 'mod_wsgi.version': (4, 3, 0), 'wsgi.errors': <mod_wsgi.Log object at 0x5bacffc0>, 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>, 'wsgi.input': <mod_wsgi.Input object at 0x5c3cec00>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
backend | u'twitter' |
/srv/www/portalestate.co.uk/application/fre/apps/social/actions.py
in do_auth
redirect_uri = sanitize_redirect(strategy.request_host(),
redirect_uri)
strategy.session_set(
redirect_name,
redirect_uri or strategy.setting('LOGIN_REDIRECT_URL')
)
return strategy.start()...
def do_complete(strategy, login, user=None, redirect_name='next',
*args, **kwargs):
# pop redirect value before the session is trashed on login()
Variable | Value |
---|---|
strategy | <social.strategies.django_strategy.DjangoStrategy object at 0x5bea40cc> |
data | <QueryDict: {}> |
redirect_name | 'next' |
/srv/www/portalestate.co.uk/application/fre/apps/social/strategies/base.py
in start
pass
return default
def start(self):
# Clean any partial pipeline info before starting the process
self.clean_partial_pipeline()
if self.backend.uses_redirect():
return self.redirect(self.backend.auth_url())...
else:
return self.html(self.backend.auth_html())
def complete(self, *args, **kwargs):
return self.backend.auth_complete(*args, **kwargs)
Variable | Value |
---|---|
self | <social.strategies.django_strategy.DjangoStrategy object at 0x5bea40cc> |
/srv/www/portalestate.co.uk/application/fre/apps/social/backends/oauth.py
in auth_url
REQUEST_TOKEN_METHOD = 'GET'
OAUTH_TOKEN_PARAMETER_NAME = 'oauth_token'
REDIRECT_URI_PARAMETER_NAME = 'redirect_uri'
ACCESS_TOKEN_URL = ''
def auth_url(self):
"""Return redirect url"""
token = self.unauthorized_token()...
name = self.name + 'unauthorized_token_name'
tokens = self.strategy.session_get(name, []) + [token]
self.strategy.session_set(name, tokens)
return self.oauth_authorization_request(token)
def process_error(self, data):
Variable | Value |
---|---|
self | <social.backends.twitter.TwitterOAuth object at 0x5c9c32ec> |
/srv/www/portalestate.co.uk/application/fre/apps/social/backends/oauth.py
in unauthorized_token
# since the final URL will be of type bytes
decoding = None if six.PY3 else 'utf-8'
response = self.request(self.REQUEST_TOKEN_URL,
params=params,
auth=OAuth1(key, secret,
callback_uri=self.redirect_uri,
decoding=decoding),
method=self.REQUEST_TOKEN_METHOD)...
return response.content
def oauth_authorization_request(self, token):
"""Generate OAuth request to authorize token."""
if not isinstance(token, dict):
token = parse_qs(token)
Variable | Value |
---|---|
secret | 'uhc6ScrEBJYYzr6j4e7MWrTiQCTpTZQpyJpMWRYtgZ0' |
params | {} |
self | <social.backends.twitter.TwitterOAuth object at 0x5c9c32ec> |
key | 'OrwCuDE1jynhj8ddQYdOmw' |
decoding | 'utf-8' |
/srv/www/portalestate.co.uk/application/fre/apps/social/backends/base.py
in request
"""Return True if this provider uses redirect url method,
otherwise return false."""
return True
def request(self, url, method='GET', *args, **kwargs):
kwargs.setdefault('timeout', self.setting('REQUESTS_TIMEOUT') or
self.setting('URLOPEN_TIMEOUT'))
response = request(method, url, *args, **kwargs)...
response.raise_for_status()
return response
def get_json(self, url, *args, **kwargs):
return self.request(url, *args, **kwargs).json()
Variable | Value |
---|---|
url | 'https://api.twitter.com/oauth/request_token' |
self | <social.backends.twitter.TwitterOAuth object at 0x5c9c32ec> |
args | () |
method | 'GET' |
kwargs | {'auth': <requests_oauthlib.core.OAuth1 object at 0x5bea4c0c>, 'params': {}, 'timeout': None} |
/usr/local/lib/python2.7/dist-packages/requests/api.py
in request
>>> import requests
>>> req = requests.request('GET', 'http://httpbin.org/get')
<Response [200]>
"""
session = sessions.Session()
return session.request(method=method, url=url, **kwargs)...
def get(url, **kwargs):
"""Sends a GET request. Returns :class:`Response` object.
:param url: URL for the new :class:`Request` object.
Variable | Value |
---|---|
url | 'https://api.twitter.com/oauth/request_token' |
session | <requests.sessions.Session object at 0x5c9c30ac> |
method | 'GET' |
kwargs | {'auth': <requests_oauthlib.core.OAuth1 object at 0x5bea4c0c>, 'params': {}, 'timeout': None} |
/usr/local/lib/python2.7/dist-packages/requests/sessions.py
in request
'stream': stream,
'timeout': timeout,
'verify': verify,
'cert': cert,
'proxies': proxies,
'allow_redirects': allow_redirects,
}
resp = self.send(prep, **send_kwargs)...
return resp
def get(self, url, **kwargs):
"""Sends a GET request. Returns :class:`Response` object.
Variable | Value |
---|---|
files | None |
params | OrderedDict() |
cookies | <<class 'requests.cookies.RequestsCookieJar'>[]> |
stream | False |
url | 'https://api.twitter.com/oauth/request_token' |
verify | True |
self | <requests.sessions.Session object at 0x5c9c30ac> |
req | <Request [GET]> |
merged_cookies | <<class 'requests.cookies.RequestsCookieJar'>[]> |
auth | <requests_oauthlib.core.OAuth1 object at 0x5bea4c0c> |
method | 'GET' |
headers | CaseInsensitiveDict({'Accept-Encoding': 'gzip, deflate, compress', 'Accept': '*/*', 'User-Agent': 'python-requests/1.2.3 CPython/2.7.3 Linux/5.16.13-x86_64-linode153'}) |
cert | None |
hooks | {'response': []} |
timeout | None |
env_proxies | {} |
send_kwargs | {'allow_redirects': True, 'cert': None, 'proxies': OrderedDict(), 'stream': False, 'timeout': None, 'verify': True} |
allow_redirects | True |
proxies | OrderedDict() |
data | None |
prep | <PreparedRequest [GET]> |
/usr/local/lib/python2.7/dist-packages/requests/sessions.py
in send
# Get the appropriate adapter to use
adapter = self.get_adapter(url=request.url)
# Start time (approximately) of the request
start = datetime.utcnow()
# Send the request
r = adapter.send(request, **kwargs)...
# Total elapsed time of the request (approximately)
r.elapsed = datetime.utcnow() - start
# Response manipulation hooks
r = dispatch_hook('response', hooks, r, **kwargs)
Variable | Value |
---|---|
stream | False |
verify | True |
adapter | <requests.adapters.HTTPAdapter object at 0x5c9c326c> |
kwargs | {'cert': None, 'proxies': OrderedDict(), 'stream': False, 'timeout': None, 'verify': True} |
request | <PreparedRequest [GET]> |
start | datetime.datetime(2024, 3, 29, 13, 42, 58, 761495) |
cert | None |
timeout | None |
hooks | {'response': []} |
allow_redirects | True |
proxies | OrderedDict() |
self | <requests.sessions.Session object at 0x5c9c30ac> |
/usr/local/lib/python2.7/dist-packages/requests/adapters.py
in send
raise ConnectionError(sockerr)
except MaxRetryError as e:
raise ConnectionError(e)
except (_SSLError, _HTTPError) as e:
if isinstance(e, _SSLError):
raise SSLError(e)...
elif isinstance(e, TimeoutError):
raise Timeout(e)
else:
raise
r = self.build_response(request, resp)
Variable | Value |
---|---|
chunked | False |
e | SSLError(SSLError(1, '_ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version'),) |
stream | False |
url | '/oauth/request_token' |
verify | True |
self | <requests.adapters.HTTPAdapter object at 0x5c9c326c> |
request | <PreparedRequest [GET]> |
cert | None |
timeout | None |
proxies | OrderedDict() |
conn | <requests.packages.urllib3.connectionpool.HTTPSConnectionPool object at 0x5c99eccc> |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '8000' |
CONTEXT_DOCUMENT_ROOT | '/srv/www/portalestate.co.uk/public_html' |
SERVER_SOFTWARE | 'Apache/2.4.12 (Ubuntu) PHP/5.6.10-1+deb.sury.org~precise+1 mod_wsgi/4.3.0 Python/2.7.3' |
SCRIPT_NAME | u'' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/ru/login/twitter/' |
SERVER_PROTOCOL | 'HTTP/1.0' |
QUERY_STRING | '' |
HTTP_X_REAL_IP | '44.223.42.120' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'close' |
SERVER_NAME | 'helper4realtor.com' |
REMOTE_ADDR | '176.58.99.67' |
mod_wsgi.request_handler | 'wsgi-script' |
apache.version | (2, 4, 12) |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/srv/www/portalestate.co.uk/application/django.wsgi/ru/login/twitter/' |
SERVER_PORT | '80' |
wsgi.multiprocess | True |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '176.58.99.67' |
DOCUMENT_ROOT | '/srv/www/portalestate.co.uk/public_html' |
mod_wsgi.process_group | '' |
SCRIPT_FILENAME | '/srv/www/portalestate.co.uk/application/django.wsgi' |
SERVER_ADMIN | 'admin@portalestate.co.uk' |
wsgi.input | <mod_wsgi.Input object at 0x5c3cec00> |
HTTP_HOST | 'helper4realtor.com' |
CONTEXT_PREFIX | '' |
wsgi.multithread | False |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/ru/login/twitter/' |
HTTP_ACCEPT | '*/*' |
wsgi.file_wrapper | '' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_X_FORWARDED_FOR | '44.223.42.120' |
wsgi.errors | <mod_wsgi.Log object at 0x5bacffc0> |
REMOTE_PORT | '54132' |
mod_wsgi.listener_host | '' |
REQUEST_SCHEME | 'http' |
mod_wsgi.version | (4, 3, 0) |
wsgi.run_once | False |
mod_wsgi.script_start | '1711719778634563' |
mod_wsgi.application_group | 'helper4realtor.com|' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.request_start | '1711719778634373' |
CSRF_COOKIE | '9ed3bde79a2a23b16d251753940f2de3' |
fre.settings
Setting | Value |
---|---|
SOCIAL_AUTH_FACEBOOK_SCOPE | ['email', 'public_profile', 'user_friends', 'manage_pages'] |
USE_L10N | True |
SOCIAL_AUTH_TWITTER_SECRET | '********************' |
LIQPAY_RESULT_URL | 'http://torgcity.com/accounts/membership/' |
GLOBAL_COUNTRIES | (('UA', <django.utils.functional.__proxy__ object at 0x59e893ec>), ('RU', <django.utils.functional.__proxy__ object at 0x59e8942c>)) |
LANGUAGE_CODE | 'en' |
ROOT_URLCONF | 'fre.urls' |
LOGIN_URL | '/accounts/login/' |
MERCHANT_ID | 'i1700115583' |
ACCOUNT_ACTIVATION_DAYS | 7 |
STATIC_ROOT | '' |
TEST_DATABASE_CHARSET | None |
USE_THOUSAND_SEPARATOR | False |
PER_PAGE | 20 |
MESSAGE_STORAGE | 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage' |
DATABASE_HOST | '' |
PREFIX_DEFAULT_LOCALE | False |
DOCUMENT_ROOT | '/srv/www/portalestate.com' |
IGNORABLE_404_STARTS | ('/cgi-bin/', '/_vti_bin', '/_vti_inf') |
SEND_BROKEN_LINK_EMAILS | False |
URL_VALIDATOR_USER_AGENT | 'Django/1.3.1 (http://www.djangoproject.com)' |
NGINX_URL_PATH | '/etc/nginx/sites-portalestate/' |
SOCIAL_AUTH_DISCONNECT_REDIRECT_URL | '/accounts/options/' |
SESSION_COOKIE_DOMAIN | '.helper4realtor.com' |
SESSION_COOKIE_NAME | 'sessionid' |
LIQPAY_CURRENCY | 'EUR' |
ROSETTA_EXCLUDED_APPLICATIONS | ('ajaxuploader', 'ajax', 'portlets', 'pagination', 'registration', 'fre.account', 'profiles', 'postman', 'addressbook', 'django_widgets', 'localeurl', 'django_notes', 'bookmarks', 'emailthis', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.humanize', 'django.contrib.redirects', 'userpages', 'mptt', 'mpttadmin', 'taggit', 'django_notes_taggit', 'easy_thumbnails', 'flexicat', 'fre.run_initials', 'fre_contact_form', 'tracking', 'rosetta', 'mathfilters') |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'portal', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/Kiev', 'USER': 'portal'}, 'sqlite': {'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/srv/www/portalestate.com/application/database/fre.db', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/Kiev', 'USER': ''}} |
TEST_DATABASE_NAME | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
POSTMAN_AUTO_MODERATE_AS | True |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
AUTH_DOMAIN | 'http://helper4realtor.com' |
SOCIAL_AUTH_FACEBOOK_KEY | '763423043778872' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': ''}} |
MERCHANT_SIGN | '1QHizNg95pwXJVkIopwnDGU26hIRx6O1JU' |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
USE_X_FORWARDED_HOST | False |
IGNORABLE_404_ENDS | ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') |
MIDDLEWARE_CLASSES | ('tracking.middleware.BannedIPMiddleware', 'gadjo.requestprovider.middleware.RequestProvider', 'localeurl.middleware.LocaleURLMiddleware', 'fre.middleware.DefaultLangMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'fre.middleware.ClientMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'pagination.middleware.PaginationMiddleware', 'userpages.middleware.FlatpageFallbackMiddleware', 'fre.account.middleware.AffiliateMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'tracking.middleware.VisitorTrackingMiddleware', 'tracking.middleware.VisitorCleanUpMiddleware', 'fre.account.middleware.UserRestrictMiddleware', 'fre.account.middleware.FirstLoginMiddleware', 'fre.middleware.OnlyRegistered', 'fre.middleware.ProfilePermission', 'fre.middleware.SubdomainMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | '********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
GLOBAL_ESTATE_STATUS | (('ON_SALE', <django.utils.functional.__proxy__ object at 0x59e8952c>), ('SOLD', <django.utils.functional.__proxy__ object at 0x59e8958c>), ('ON_HOLD', <django.utils.functional.__proxy__ object at 0x59e895ec>), ('DEPOSIT', <django.utils.functional.__proxy__ object at 0x59e8964c>)) |
FILE_UPLOAD_TEMP_DIR | None |
TRANSACTIONS_MANAGED | False |
LINODE_API_KEY | 'dH7c3n5Fvjqo0uagrGUumLy23hS7RhrFGHsntVEqtQgjUerSHWmBIczS95W0V7V3' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django.template.loaders.eggs.Loader', 'django.template.loaders.eggs.load_template_source') |
SOCIAL_AUTH_FACEBOOK_SECRET | '********************' |
TEMPLATE_DEBUG | True |
CSRF_COOKIE_NAME | 'csrftoken' |
GLOBAL_ESTATE_TODOS | (('SELL', <django.utils.functional.__proxy__ object at 0x59e896ac>), ('BUY', <django.utils.functional.__proxy__ object at 0x59e8970c>)) |
TEST_DATABASE_COLLATION | None |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'locmem://' |
NO_TRACKING_PREFIXES | ['/media/', '/static/admin/', '/tracking/refresh/'] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SOCIAL_AUTH_LOGIN_URL | '/accounts/login/' |
SESSION_FILE_PATH | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ['ajaxuploader', 'youtube_ajaxuploader', 'ajax', 'portlets', 'pagination', 'registration', 'fre.account', 'profiles', 'postman', 'addressbook', 'django_widgets', 'localeurl', 'django_notes', 'bookmarks', 'emailthis', 'rent', 'django_su', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.humanize', 'django.contrib.redirects', 'userpages', 'mptt', 'mpttadmin', 'taggit', 'django_notes_taggit', 'easy_thumbnails', 'flexicat', 'fre.run_initials', 'fre_contact_form', 'tracking', 'rosetta', 'admin_action_mail', 'mathfilters', 'social.apps.django_app.default', 'fre.social_app', 'fre.agentur', 'fre.peconnect', 'fre.social_post'] |
LANGUAGES | (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
DATABASE_ENGINE | '' |
SOCIAL_AUTH_VK_OAUTH2_SECRET | '********************' |
DATABASE_NAME | '' |
COMMENTS_FIRST_FEW | 0 |
SOCIAL_AUTH_PROTECTED_USER_FIELDS | ['email', 'first_name', 'last_name'] |
PREPEND_WWW | False |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
SESSION_COOKIE_HTTPONLY | False |
DATABASE_PORT | '' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
LOCALEURL_USE_ACCEPT_LANGUAGE | False |
SESSION_EXPIRE_AT_BROWSER_CLOSE | True |
SU_REDIRECT_EXIT | '/admin/' |
TIME_FORMAT | 'P' |
ABS_PATH_TO_PARENT_APP | '/srv/www/portalestate.com/application' |
SOCIAL_AUTH_FACEBOOK_PROFILE_EXTRA_PARAMS | {'locale': 'en_US'} |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
AUTHENTICATION_BACKENDS | ('insensitive.backends.CaseInsensitiveModelBackend', 'social.backends.open_id.OpenIdAuth', 'social.backends.google.GoogleOpenId', 'social.backends.google.GoogleOAuth2', 'social.backends.google.GoogleOAuth', 'social.backends.twitter.TwitterOAuth', 'social.backends.yahoo.YahooOpenId', 'social.backends.stripe.StripeOAuth2', 'social.backends.persona.PersonaAuth', 'social.backends.facebook.FacebookOAuth2', 'social.backends.facebook.FacebookAppOAuth2', 'social.backends.yahoo.YahooOAuth', 'social.backends.angel.AngelOAuth2', 'social.backends.behance.BehanceOAuth2', 'social.backends.bitbucket.BitbucketOAuth', 'social.backends.box.BoxOAuth2', 'social.backends.linkedin.LinkedinOAuth', 'social.backends.linkedin.LinkedinOAuth2', 'social.backends.github.GithubOAuth2', 'social.backends.foursquare.FoursquareOAuth2', 'social.backends.instagram.InstagramOAuth2', 'social.backends.live.LiveOAuth2', 'social.backends.vk.VKOAuth2', 'social.backends.dailymotion.DailymotionOAuth2', 'social.backends.disqus.DisqusOAuth2', 'social.backends.dropbox.DropboxOAuth', 'social.backends.evernote.EvernoteSandboxOAuth', 'social.backends.fitbit.FitbitOAuth', 'social.backends.flickr.FlickrOAuth', 'social.backends.livejournal.LiveJournalOpenId', 'social.backends.soundcloud.SoundcloudOAuth2', 'social.backends.thisismyjam.ThisIsMyJamOAuth1', 'social.backends.stocktwits.StocktwitsOAuth2', 'social.backends.tripit.TripItOAuth', 'social.backends.twilio.TwilioAuth', 'social.backends.xing.XingOAuth', 'social.backends.yandex.YandexOAuth2', 'social.backends.douban.DoubanOAuth2', 'social.backends.mixcloud.MixcloudOAuth2', 'social.backends.rdio.RdioOAuth1', 'social.backends.rdio.RdioOAuth2', 'social.backends.yammer.YammerOAuth2', 'social.backends.stackoverflow.StackoverflowOAuth2', 'social.backends.readability.ReadabilityOAuth', 'social.backends.skyrock.SkyrockOAuth', 'social.backends.tumblr.TumblrOAuth', 'social.backends.reddit.RedditOAuth2', 'social.backends.steam.SteamOpenId', 'social.backends.podio.PodioOAuth2', 'social.backends.amazon.AmazonOAuth2', 'social.backends.email.EmailAuth', 'social.backends.username.UsernameAuth', 'fre.account.backends.EmailOrUsernameModelBackend', 'django.contrib.auth.backends.ModelBackend') |
EMAIL_HOST_PASSWORD | '********************' |
AUTH_PROFILE_MODULE | 'account.AccountProfile' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | True |
ADMIN_MEDIA_PREFIX | '/static/admin/' |
NUMBER_GROUPING | 0 |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
LIQPAY_SERVER_URL | 'http://torgcity.com/accounts/membership/liqpay/' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
COMMENTS_SKETCHY_USERS_GROUP | None |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
SOCIAL_AUTH_PIPELINE | ('social.pipeline.social_auth.social_details', 'social.pipeline.social_auth.social_uid', 'social.pipeline.social_auth.auth_allowed', 'social.pipeline.social_auth.social_user', 'social.pipeline.social_auth.associate_by_email', 'social.pipeline.user.get_username', 'social.pipeline.social_auth.associate_user', 'social.pipeline.social_auth.load_extra_data', 'social.pipeline.user.user_details') |
PROJECT_ROOT | '/srv/www/portalestate.co.uk/application/fre' |
DECIMAL_SEPARATOR | '.' |
CACHE_MIDDLEWARE_KEY_PREFIX | '' |
LOCALE_PATHS | ('/srv/www/portalestate.com/application/locale', '/srv/www/portalestate.co.uk/application/locale') |
TEMPLATE_STRING_IF_INVALID | '' |
COMMENTS_ALLOW_PROFANITIES | False |
LOGOUT_URL | '/accounts/logout/' |
SOCIAL_AUTH_LOGIN_ERROR_URL | '/accounts/login/' |
EMAIL_USE_TLS | True |
TEMPLATE_DIRS | ('/srv/www/portalestate.co.uk/application/templates',) |
FIXTURE_DIRS | () |
EMAIL_HOST | 'mail.helper4realtor.com' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/srv/www/portalestate.com/public_html/media/' |
DEFAULT_SETTINGS | <module 'django.conf.global_settings' from '/usr/local/lib/python2.7/dist-packages/django/conf/global_settings.pyc'> |
ADMINS | (('Admin', 'info@helper4realtor.com'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'info@helper4realtor.com' |
STATICFILES_DIRS | ('/srv/www/portalestate.co.uk/application/public_html/static/', '/srv/www/portalestate.com/public_html/media/uploaded_images/') |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SOCIAL_AUTH_LOGIN_REDIRECT_URL | '/' |
SITE_ID | 2 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
_FREEZE_TRACKING_PREFIXES | True |
ON_HTTPS | True |
LOGGING | {'disable_existing_loggers': True, 'formatters': {'standard': {'datefmt': '%d/%b/%Y %H:%M:%S', 'format': '[%(asctime)s] %(levelname)s [%(name)s:%(lineno)s] %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'standard', 'level': 'INFO'}, 'logfile': {'backupCount': 2, 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/srv/www/portalestate.co.uk/logs/application.log', 'formatter': 'standard', 'level': 'DEBUG', 'maxBytes': 50000}, 'null': {'class': 'django.utils.log.NullHandler', 'level': 'DEBUG'}, 'socfile': {'backupCount': 10, 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/srv/www/portalestate.co.uk/logs/soc.log', 'formatter': 'standard', 'level': 'DEBUG', 'maxBytes': 5000000}}, 'loggers': {'django': {'handlers': ['console'], 'level': 'WARN', 'propagate': True}, 'django.db.backends': {'handlers': ['console'], 'level': 'DEBUG', 'propagate': False}, 'fre': {'handlers': ['console', 'logfile'], 'level': 'DEBUG'}, 'soc': {'handlers': ['socfile'], 'level': 'DEBUG'}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
SOCIAL_AUTH_TWITTER_KEY | 'OrwCuDE1jynhj8ddQYdOmw' |
DATABASE_USER | '' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
TIME_ZONE | 'Europe/Kiev' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
SOCIAL_AUTH_VK_OAUTH2_KEY | '3903414' |
MANAGERS | (('Admin', 'info@helper4realtor.com'),) |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.request', 'django.contrib.messages.context_processors.messages', 'fre.context_processors.global_context', 'postman.context_processors.inbox', 'addressbook.ctx.count_contacts', 'social.apps.django_app.context_processors.backends', 'social.apps.django_app.context_processors.login_redirect') |
SESSION_COOKIE_AGE | 12000 |
SETTINGS_MODULE | 'fre.settings' |
USE_ETAGS | False |
GLOBAL_ESTATE_TYPES | (('FL', <django.utils.functional.__proxy__ object at 0x59e8948c>), ('HS', <django.utils.functional.__proxy__ object at 0x59e894cc>)) |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
UE | (('USD', 1), ('EUR', 1.13), ('GBP', 1.52), ('RUR', 0.015), ('UAH', 0.04)) |
POSTMAN_DISALLOW_ANONYMOUS | True |
DEFAULT_INDEX_TABLESPACE | '' |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
CLIENT_DEPTH | 3 |
ABS_PATH_TO_APP | '/srv/www/portalestate.co.uk/application' |
ABSOLUTE_URL_OVERRIDES | {} |
DATABASE_OPTIONS | {} |
SOCIAL_AUTH_NEW_ASSOCIATION_REDIRECT_URL | '/accounts/options/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
BANNED_IPS | () |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y') |
WFRE_USERNAME | 'wfre' |
DATABASE_PASSWORD | '********************' |
COMMENTS_MODERATORS_GROUP | None |
PROFANITIES_LIST | '********************' |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
EMAIL_HOST_USER | 'info' |
COMMENTS_BANNED_USERS_GROUP | None |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard 500 page.