I don't know myself what the problem is exactly, nor do I have the expertise to help you, but it might be worth noting that the "address" argument is deprecated; use "interface" instead.
Sorry for not being able to help --Tianwei On Jun 25, 11:03 am, "rvaug...@gmail.com" <rvaug...@gmail.com> wrote: > On a 64-bit Scientific Linux 5.4 machine running Sage 4.3.4, > I have as Trusted Services: Secure WWW (HTTPS) & WWW (HTTP). > (Secure Linux is 'Permissive.) > > In running Sage, I try it two ways: > notebook(address="",open_viewer=False,secure=True) and: > notebook(address="",open_viewer=False) > > In both cases, when I try to open via Firefox, I get: > Firefox can't establish a connection to the server at > 128.6.24.206:8000. > Output of each attempt is appended. > All help appreciated. > > Thanks, > -Richard Vaughn > > --------------------- > notebook(address="",open_viewer=False,secure=True) > -------------------- > sage: notebook(address="",open_viewer=False,secure=True) > /usr/share/sage-4.3.4/local/bin/sage-ipython:1: DeprecationWarning: > Use 'interface' instead of 'address' when calling notebook(...). > #!/usr/bin/env python > The notebook files are stored in: sage_notebook.sagenb > > Please choose a new password for the Sage Notebook 'admin' user. > Do _not_ choose a stupid password, since anybody who could guess your > password > and connect to your machine could access or delete your files. > NOTE: Only the md5 hash of the password you type is stored by Sage. > You can change your password by typing notebook(reset=True). > > Enter new password: > Retype new password: > Please login to the notebook with the username 'admin' and the above > password. > Password changed for user 'admin'. > In order to use an SECURE encrypted notebook, you must first run > notebook.setup(). > Now running notebook.setup() > Domain name [localhost]: physics > Using openssl to generate key > openssl genrsa > /home/rvaughn/.sage/notebook/private.pem > Generating RSA private key, 512 bit long modulus > .....++++++++++++ > ..................................++++++++++++ > e is 65537 (0x10001) > certtool --generate-self-signed --template /home/rvaughn/.sage/ > notebook/cert.cfg --load-privkey /home/rvaughn/.sage/notebook/ > private.pem --outfile /home/rvaughn/.sage/notebook/ > public.pem > Generating a self signed certificate... > X.509 Certificate Information: > Version: 3 > Serial Number (hex): 7595133c > Validity: > Not Before: Tue Mar 30 15:08:58 UTC 2010 > Not After: Sat Aug 15 15:08:58 UTC 2037 > Subject: C=US,O=SAGE (at > physics),OU=389,ST=Washington,CN=physics,UID=sage_user > Subject Public Key Algorithm: RSA > Modulus (bits 512): > be:9d:99:bf:4b:a4:c2:27:71:44:0b: > 67:38:c9:94:ba > 43:89:2c:7f:30:ad:8a:4a:69:1c:2b: > 1a:ea:d2:56:66 > 0b:8b:8a:9e:93:c8:dd:a5:f6:07:4c:07:7f:5b:2a: > 40 > 4f:4e:55:6a:f9:d6:81:a4:93:d7:65:f5:92:5d:5b: > 93 > Exponent: > 01:00:01 > Extensions: > Basic Constraints (critical): > Certificate Authority (CA): FALSE > Key Purpose (not critical): > TLS WWW Server. > Key Usage (critical): > Digital signature. > Key encipherment. > Subject Key Identifier (not critical): > d6c4086720c16b9d041d751315808f6fff3086c8 > Other Information: > Public Key Id: > d6c4086720c16b9d041d751315808f6fff3086c8 > > Signing certificate... > Successfully configured notebook. > **************************************************** > * * > * Open your web browser tohttps://localhost:8000 * > * * > **************************************************** > There is an admin account. If you do not remember the password, > quit the notebook and type notebook(reset=True). > 2010-03-30 11:09:00-0400 [-] Log opened. > 2010-03-30 11:09:00-0400 [-] twistd 9.0.0 (/usr/share/sage-4.3.4/ > local/ > bin/python 2.6.4) starting up. > 2010-03-30 11:09:00-0400 [-] reactor class: > twisted.internet.selectreactor.SelectReactor. > 2010-03-30 11:09:00-0400 [-] twisted.web2.channel.http.HTTPFactory > starting on 8000 > 2010-03-30 11:09:00-0400 [-] Starting factory > <twisted.web2.channel.http.HTTPFactory instance at 0xaaddb48> > > --------------------- notebook(address="",open_viewer=False) > -------------------- > sage: notebook(address="",open_viewer=False) > /usr/share/sage-4.3.4/local/bin/sage-ipython:1: DeprecationWarning: > Use 'interface' instead of 'address' when calling notebook(...). > #!/usr/bin/env python > ********************************************************************** > WARNING: Running the notebook insecurely not on localhost is dangerous > because its possible for people to sniff passwords and gain access to > your account. Make sure you know what you are doing. > ********************************************************************** > The notebook files are stored in: sage_notebook.sagenb > ********************************************************************** > WARNING: Insecure notebook server listening on external interface. > Unless you are running this via ssh port forwarding, you are > **crazy**! You should run the notebook with the option secure=True. > ********************************************************************** > ************************************************** > * * > * Open your web browser tohttp://localhost:8000* > * * > ************************************************** > 2010-03-30 11:11:45-0400 [-] Log opened. > 2010-03-30 11:11:45-0400 [-] twistd 9.0.0 (/usr/share/sage-4.3.4/local/ > bin/python 2.6.4) starting up. > 2010-03-30 11:11:45-0400 [-] reactor class: > twisted.internet.selectreactor.SelectReactor. > 2010-03-30 11:11:45-0400 [-] twisted.web2.channel.http.HTTPFactory > starting on 8000 > 2010-03-30 11:11:45-0400 [-] Starting factory > <twisted.web2.channel.http.HTTPFactory instance at 0xa61cb48> > ------------------------------------------------------------------------------------------------ -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org