Open ahmedmuzammilAI opened 1 year ago
Hi,
I assume you do not have set any value for PASSWORD_HASH in your deployment configuration and hence expect Jupyter Lab to generate a one-time token to access the console.
I just found an issue (#6) where if you had set a PASSWORD_HASH and then reset it, the last password would have still been used by Jupyter Lab. You can pull the latest version of the component (1.0.1) and redeploy.
I strongly suggest to set a PASSWORD_HASH so that you do not need to access the local log file to get the access token.
as mentioned I checked the logs for in /greengrass/v2/logs/aws.greengrass.labs.jupyterlab.log and I get this output:
I have used this link http://localhost:8888/login?next=%2Flab%3F to access jupyterlab but it doesnt work it takes me to the login page itself. I also pasted this "%2Flab%3F" from logs in the token field and it says invalid credentials.
Please tell me know where the token is and what I should copy paste in the token field. Thank you.