From owner-freebsd-python@freebsd.org Sun Sep 27 22:37:03 2020 Return-Path: Delivered-To: freebsd-python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 74FBB374350 for ; Sun, 27 Sep 2020 22:37:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4C00rb2cG5z4VgG for ; Sun, 27 Sep 2020 22:37:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5971337478F; Sun, 27 Sep 2020 22:37:03 +0000 (UTC) Delivered-To: python@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 592C937478C for ; Sun, 27 Sep 2020 22:37:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C00rb1kqZz4Vk6 for ; Sun, 27 Sep 2020 22:37:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2005413FAE for ; Sun, 27 Sep 2020 22:37:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 08RMb3EY048242 for ; Sun, 27 Sep 2020 22:37:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 08RMb3S6048241 for python@FreeBSD.org; Sun, 27 Sep 2020 22:37:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 249936] www/py-notebook: not working in jail, "Kernel starting, please wait..." Date: Sun, 27 Sep 2020 22:37:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: leonardo.rame@informemedico.com.ar X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2020 22:37:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249936 --- Comment #4 from Leonardo M. Ram=C3=A9 --- No, same issue: $ jupyter notebook --ip=3D192.168.1.102=20 [I 19:32:22.764 NotebookApp] Serving notebooks from local directory: /usr/home/jupyter [I 19:32:22.764 NotebookApp] Jupyter Notebook 6.1.4 is running at: [I 19:32:22.764 NotebookApp] http://192.168.1.102:8888/ [I 19:32:22.764 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [W 19:32:22.767 NotebookApp] No web browser found: could not locate runnable browser. [W 19:32:24.910 NotebookApp] 404 GET /api/kernels/12feb62d-d6f6-40ba-941b-baccd16304b1/channels?session_id=3D555= d9586b20746e984b2f63194384499 (192.168.0.110): Kernel does not exist: 12feb62d-d6f6-40ba-941b-baccd16304b1 [W 19:32:24.930 NotebookApp] 404 GET /api/kernels/12feb62d-d6f6-40ba-941b-baccd16304b1/channels?session_id=3D555= d9586b20746e984b2f63194384499 (192.168.0.110) 21.16ms referer=3DNone Important: my network is as this: 1. Client: 192.168.0.110 2. Host: 192.168.0.111 3. Jail: 192.168.1.102 Host routes port 8888 to jail using a pf rule. My /etc/pf.conf: # vim: set ft=3Dpf # /etc/pf.conf #Declare the interfaces, Public IP, private subnet, EXT_IF0 =3D "re0" EXT_IF1 =3D "lo1" IP_PUB=3D"192.168.0.111" NET_JAIL=3D"192.168.1.0/24" LAN_IP=3D"192.168.0.1" PSQL_JAIL_IP=3D"192.168.1.101" JUPYTERLAB_JAIL_IP=3D"192.168.1.102" nat pass on $EXT_IF1 from $NET_JAIL to any -> $LAN_IP nat pass on $EXT_IF0 from $NET_JAIL to any -> $IP_PUB=20 # PostgreSql Jail rdr on $EXT_IF0 proto tcp from any to $IP_PUB port 5432 -> $PSQL_JAIL_IP rdr on lo0 proto tcp from any to 127.0.0.1 port 5432 -> $PSQL_JAIL_IP # JupyterLab Jail rdr on $EXT_IF0 proto tcp from any to $IP_PUB port 8888 -> $JUPYTERLAB_JAIL_ --=20 You are receiving this mail because: You are the assignee for the bug.=