Hi,

I have installed Jupyter and JupyterHub in Ubuntu and configured Apache
as a proxy. But when I try to connect to http://localhost, I get the 
following error
in the web browser:






*Proxy ErrorThe proxy server received an invalid response from an upstream 
server.The proxy server could not handle the requestReason: Error reading 
from remote server*

I'm sure that JupyterHub is running. If I run it in degug mode

~# jupyterhub -f /etc/jupyterhub/jupyterhub_config.py --debug &>> 
jupyterhub.log
~# tail -f jupyter.log
tail -f jupyterhub.log 









*12:59:08.662 [ConfigProxy] info: 200 GET /api/routes [I 2020-03-29 
12:59:08.664 JupyterHub proxy:320] Checking routes[I 2020-03-29 
12:59:08.664 JupyterHub proxy:400] Adding default route for Hub: / => 
http://127.0.0.1:8081[D 2020-03-29 12:59:08.665 JupyterHub proxy:766] 
Proxy: Fetching POST http://127.0.0.1:8001/api/routes/12:59:08.666 
[ConfigProxy] info: 200 GET /api/routes 12:59:08.667 [ConfigProxy] info: 
Adding route / -> http://127.0.0.1:808112:59:08.667 [ConfigProxy] info: 
Route added / -> http://127.0.0.1:8081[I 2020-03-29 12:59:08.668 JupyterHub 
app:2631] JupyterHub is now running at http://127.0.0.1:8000[D 2020-03-29 
12:59:08.669 JupyterHub app:2233] It took 0.617 seconds for the Hub to 
start12:59:08.669 [ConfigProxy] info: 201 POST /api/routes/*

Then I try to connect to the server
~$ lynx http://localhost
ang get the same error




*The proxy server received an invalid response from an upstream server.The 
proxy server could not handle the request Reason: Error reading from remote 
serve*r

and nothing is shown in the jupyterhub.log file. It seems that apache can't 
connect to jupyterhub.

Any help would be appreciated

Rafel Amer

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/0a8bc54e-40a1-4902-b223-a48fed4a2b13%40googlegroups.com.

Reply via email to