Closed etikhomolov closed 4 years ago
That sounds like a spawner error, rather than authenticator. Can you share your jupyterhub_config.py and what spawner you are using?
On Wed, Jan 18, 2017 at 1:10 AM, etikhomolov notifications@github.com wrote:
When I create new user/password which are not the users on Linux server where jupyterhub is running I get:
500 : Internal Server Error
Failed to start your server. Please contact admin.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/yuvipanda/jupyterhub-firstuseauthenticator/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB23mNrTFYs9-CXAHGT2j1yreaoRdfJks5rTRk3gaJpZM4LmE2c .
-- Yuvi Panda T http://yuvi.in/blog
Thank you for your prompt reply. My jupyterhub_config.py:
c.JupyterHub.admin_access = True
config
, the IPython config object.handler
is the calling web.RequestHandler,data
is the POST form data from the login page.c.JupyterHub.authenticator_class = 'firstuseauthenticator.FirstUseAuthenticator'
c.JupyterHub.confirm_no_ssl = False
sqlite:///jupyterhub.sqlite
c.JupyterHub.port = 8899
c.JupyterHub.ssl_cert = '/etc/httpd/conf/ssl/hlaweb.triumf.ca.crt'
c.JupyterHub.ssl_key = '/etc/httpd/conf/ssl/hlaweb.triumf.ca.key'
args
.c.Spawner.cpu_guarantee = 0.2
c.Spawner.cpu_limit = 0.2
{username}
will be expanded to the user's usernamenotebook_dir
to /
and default_url
to /home/{username}
to allow people to/lab
to have JupyterLab start by default, rather than Jupyter Notebook.CONFIGPROXY_AUTH_TOKEN
) is not passed to thec.Spawner.env_keep = ['DASHBOARD_SERVER_URL', 'DASHBOARD_SERVER_NO_SSL_VERIFY', 'PATH', 'LD_LIBRARY_PATH', 'PYTHONPATH', 'PYEPICS_LIBCA', 'EPICS_BASE', 'EPICS_CA_AUTO_ADDR_LIST', 'EPICS_CA_ADDR_LIST', 'EPICS_CA_REPEATER_PORT', 'EPICS_CA_SERVER_PORT', 'EPICS_CA_AUTO_ADDR_LIST', 'EPICS_CA_MAX_ARRAY_BYTES', 'EPICS_CA_CONN_TMO', 'EPICS_CAS_AUTO_BEACON_ADDR_LIST', 'EPICS_CA_BEACON_PERIOD', 'CONDA_ROOT', 'CONDA_DEFAULT_ENV', 'VIRTUAL_ENV', 'LANG', 'LC_ALL']
environment
configurableenv_keep
enviornment
configurable should be set by JupyterHub administrators to~
will be expanded to the home directory of the user, and {username} will bec.Spawner.notebook_dir = '/space/data/JupyterDashboards'
<form>
element and the submit button are already provided.self.user_options
.poll
method is called, which checkssubprocess.Popen
to start single-user servers as localc.Authenticator.admin_users = {'hla'}
c.Authenticator.whitelist = {'jupyter','hla'}
Closed by mistake
is this issue solved?Any update??
Because this is 3 years old and too much has changed since with JupyterHub even though if this authenticator hasn't, it is simply too complicated to debug this without a fresh report of the situation. I'll close this issue and hope that someone that experience this problem and believes it is the authenticators fault submits a new issue and documents a fresh situation.
The reason in my case simply seems to be that FirstUseAuthenticator does not work with LocalProcessSpawner. Also see https://github.com/jupyterhub/firstuseauthenticator/issues/31 and https://github.com/jupyterhub/nativeauthenticator/issues/105
When I create new user/password which are not the users on Linux server where jupyterhub is running I get:
500 : Internal Server Error
Failed to start your server. Please contact admin.