Skip to content

Dashboard won't load with non-8000 port. #161

Description

@dconathan

I've tested this with various ports (8888, 8080, etc.) and getting the same errors every time. /home, dashboard/experiment_list, and queries pages load fine, but dashboard throws this error:

nextbackenddocker_1  | Exception on /dashboard/experiment_dashboard/50f15481fdcf2661da692a155c5a66/RocketClassification [GET]
nextbackenddocker_1  | Traceback (most recent call last):
nextbackenddocker_1  |   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1988, in wsgi_app
nextbackenddocker_1  |     response = self.full_dispatch_request()
nextbackenddocker_1  |   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1641, in full_dispatch_request
nextbackenddocker_1  |     rv = self.handle_user_exception(e)
nextbackenddocker_1  |   File "/usr/local/lib/python2.7/dist-packages/flask_restful/__init__.py", line 271, in error_router
nextbackenddocker_1  |     return original_handler(e)
nextbackenddocker_1  |   File "/usr/local/lib/python2.7/dist-packages/flask_restful/__init__.py", line 271, in error_router
nextbackenddocker_1  |     return original_handler(e)
nextbackenddocker_1  |   File "/usr/local/lib/python2.7/dist-packages/flask_restful/__init__.py", line 271, in error_router
nextbackenddocker_1  |     return original_handler(e)
nextbackenddocker_1  |   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1544, in handle_user_exception
nextbackenddocker_1  |     reraise(exc_type, exc_value, tb)
nextbackenddocker_1  |   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1639, in full_dispatch_request
nextbackenddocker_1  |     rv = self.dispatch_request()
nextbackenddocker_1  |   File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1625, in dispatch_request
nextbackenddocker_1  |     return self.view_functions[rule.endpoint](**req.view_args)
nextbackenddocker_1  |   File "/next_backend/next/dashboard/dashboard.py", line 144, in experiment_dashboard
nextbackenddocker_1  |     exceptions_present=exceptions_present(exp_uid, host_url),
nextbackenddocker_1  |   File "/next_backend/next/dashboard/dashboard.py", line 152, in exceptions_present
nextbackenddocker_1  |     r = requests.get(url)
nextbackenddocker_1  |   File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 70, in get
nextbackenddocker_1  |     return request('get', url, params=params, **kwargs)
nextbackenddocker_1  |   File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 56, in request
nextbackenddocker_1  |     return session.request(method=method, url=url, **kwargs)
nextbackenddocker_1  |   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
nextbackenddocker_1  |     resp = self.send(prep, **send_kwargs)
nextbackenddocker_1  |   File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
nextbackenddocker_1  |     r = adapter.send(request, **kwargs)
nextbackenddocker_1  |   File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 487, in send
nextbackenddocker_1  |     raise ConnectionError(e, request=request)
nextbackenddocker_1  | ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /api/experiment/50f15481fdcf2661da692a155c5a66/logs/APP-EXCEPTION (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f8f3b8bed10>: Failed to establish a new connection: [Errno 111] Connection refused',))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions