Good Morning ,
after enable lets encrypt certificate with
sudo bench setup lets-encrypt [site-name]
the page response is
ERR_ADDRESS_UNREACHABLE
in logs/web.error.log
[2018-04-03 08:42:42 +0000] [1169] [ERROR] Error handling request /api/method/frappe.async.get_user_info?sid=33289b131d5e07688b3d4f74b90adc47f745f93f15b2337765680178
Traceback (most recent call last):
File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 135, in handle
self.handle_request(listener, req, client, addr)
File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 176, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/werkzeug/local.py", line 228, in application
return ClosingIterator(app(environ, start_response), self.cleanup)
File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/werkzeug/wrappers.py", line 291, in application
return f(*args[:-2] + (request,))(*args[-2:])
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 88, in application
response = handle_exception(e)
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 143, in handle_exception
if frappe.local.is_ajax or 'application/json' in frappe.get_request_header('Accept'):
TypeError: argument of type 'NoneType' is not iterable
tail -f frappe-bench/logs/node-socketio.log
method: 'GET',
path: '/api/method/frappe.async.get_user_info?sid=33289b131d5e07688b3d4f74b90adc47f745f93f15b2337765680178',
_ended: true,
parser: null,
res: [Object] },
text: '<html>\n <head>\n <title>Internal Server Error</title>\n </head>\n <body>\n <h1><p>Internal Server Error</p></h1>\n \n </body>\n</html>\n',
body: {},
files: undefined,
buffered: true,
headers:
{ server: 'nginx/1.10.2',
date: 'Tue, 03 Apr 2018 06:42:42 GMT',
'content-type': 'text/html',
'content-length': '141',
connection: 'close' },
header:
{ server: 'nginx/1.10.2',
date: 'Tue, 03 Apr 2018 06:42:42 GMT',
'content-type': 'text/html',
'content-length': '141',
connection: 'close' },
statusCode: 500,
status: 500,
statusType: 5,
info: false,
ok: false,
redirect: false,
clientError: false,
serverError: true,
error:
{ Error: cannot GET /api/method/frappe.async.get_user_info?sid=33289b131d5e07688b3d4f74b90adc47f745f93f15b2337765680178 (500)
at Response.toError (/home/frappe/frappe-bench/node_modules/superagent/lib/node/response.js:94:13)
at ResponseBase._setStatusProperties (/home/frappe/frappe-bench/node_modules/superagent/lib/response-base.js:122:16)
at new Response (/home/frappe/frappe-bench/node_modules/superagent/lib/node/response.js:40:8)
at Request._emitResponse (/home/frappe/frappe-bench/node_modules/superagent/lib/node/index.js:738:20)
at IncomingMessage.<anonymous> (/home/frappe/frappe-bench/node_modules/superagent/lib/node/index.js:883:38)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
status: 500,
text: '<html>\n <head>\n <title>Internal Server Error</title>\n </head>\n <body>\n <h1><p>Internal Server Error</p></h1>\n \n </body>\n</html>\n',
method: 'GET',
path: '/api/method/frappe.async.get_user_info?sid=33289b131d5e07688b3d4f74b90adc47f745f93f15b2337765680178' },
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: false,
type: 'text/html',
links: {},
setEncoding: [Function: bound ],
redirects: [] } }
listening on *: 9000
any idea?
Thanks