Can't connect to notebook browser interface

asked 2014-11-02 12:37:26 -0500

MightyPork gravatar image

I've downloaded Sage 6.3 from AUR, and it works OK in terminal, but I can't connect via browser:

~> sage
┌────────────────────────────────────────────────────────────────────┐
│ Sage Version 6.3, Release Date: 2014-08-10                         │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
sage: notebook()
The notebook files are stored in: sage_notebook.sagenb
┌────────────────────────────────────────────────┐
│                                                │
│ Open your web browser to http://localhost:8080 │
│                                                │
└────────────────────────────────────────────────┘
Executing twistd  --pidfile="sage_notebook.sagenb/sagenb.pid" -ny "sage_notebook.sagenb/twistedconf.tac"
/opt/sage/local/lib/python2.7/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec.  You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.
  _warn("Not using mpz_powm_sec.  You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)
2014-11-02 19:29:59+0100 [-] Log opened.
2014-11-02 19:29:59+0100 [-] twistd 13.2.0 (/opt/sage/local/bin/python 2.7.8) starting up.
2014-11-02 19:29:59+0100 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2014-11-02 19:29:59+0100 [-] QuietSite starting on 8080
2014-11-02 19:29:59+0100 [-] Starting factory <__builtin__.QuietSite instance at 0x7f4b7f7ab830>

It opens browser, but there I get "Connection Refused" message and white screen. I'm running 64bit Arch Linux. Any ideas?

edit retag flag offensive close merge delete

Comments

Could you be more precise on the message in your browser? On the other hand, do you have a firewall?

vdelecroix gravatar imagevdelecroix ( 2014-11-02 16:29:11 -0500 )edit

I get no message at all in the browser, there simply is no response at the port where the notebook shall listen. And no, I have no firewall nor antivirus or anything that could interfere.

MightyPork gravatar imageMightyPork ( 2014-11-09 16:57:34 -0500 )edit

Are you sure that the port is actually open? Could you check with nmap or similar tool? If there is no firewall, it looks like your browser refuses the connection. Did you check with different browsers?

vdelecroix gravatar imagevdelecroix ( 2014-11-09 17:06:03 -0500 )edit