Single-user notebook is not starting after the SLURM instance is selected

Hi everyone,

I have integrated JupyterHub with SLURM using batchspawner. After selecting the SLURM instance from the dropdown menu in JupyterHub, the page is not redirected to the notebook server even after the job is in running state. The following message is displayed
“Your server is starting up. You will be redirected automatically when it’s ready for you. Spawn failed: Server at http://<ip_address>:0/user// didn’t respond in 30 seconds.”

Please find the screenshot of the output in the terminal below. The URL mentions the instance name instead of IP for accessing the single-notebook server.