In the latest version of JupyterHub get_current_user is now async and throws a runtime warning:
sys:1: RuntimeWarning: coroutine 'BaseHandler.get_current_user' was never awaited
This causes self.redirect(self.get_argument("next", user.url))
To throw attributeError: 'coroutine' object has no attribute 'url'
Also, visiting the user url doesn't implicity launch the user server anymore so adding self.redirect(self.get_next_url(user)) now reroutes correctly and creates a server automatically.
In the latest version of JupyterHub
get_current_user
is nowasync
and throws a runtime warning:sys:1: RuntimeWarning: coroutine 'BaseHandler.get_current_user' was never awaited
This causes
self.redirect(self.get_argument("next", user.url))
To throwattributeError: 'coroutine' object has no attribute 'url'
Also, visiting the user url doesn't implicity launch the user server anymore so adding
self.redirect(self.get_next_url(user))
now reroutes correctly and creates a server automatically.