Sage notebook running in Google Chrome: Cannot login

226 views
Skip to first unread message

tomanizer

unread,
Nov 29, 2008, 8:34:05 AM11/29/08
to sage-support
Hi All,


When using Google Chrome I cannot log in to my Sage notebooks.
The login page displays correctly.
But when when I submit username and password I get an error:

"Object not found!
The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again."

When I log into the same instance of the server using Firefox I don't
have this problem.
Login works fine and I can use the notebook as normal.

I am running my own Sage server on a Suse 10.3 box.
My Sage version is 3.1.3 built from source.

I am running the sage workbook with
notebook(address='',port=443,open_viewer=False,accounts=True)
(yes yes I should run secure=True, but this does not work on Suse -->
see other post)

Does anyone else have this problem or a solution?

Cheers
Thomas

David Joyner

unread,
Nov 29, 2008, 9:42:26 AM11/29/08
to sage-s...@googlegroups.com
I don't have the answer but just to clarify.

Since at least for me (in the US) google chrome is not available
on any linux or mac platform, I'm guessing

(a) you have google chrome running
on a windows pc and sage running on a separate machine?

(b) You are trying to run sage via the windows pc's chrome browser
by connecting to the other machine using the command
notebook(address='',port=443,open_viewer=False,accounts=True) ?

Even though I rarely use the notebook and almost never use windows,
this doesn't make sense to me. Maybe you have a linux version of chrome
somehow?

tomanizer

unread,
Nov 29, 2008, 3:22:41 PM11/29/08
to sage-support
Hi David,

Let me try to clarify:

I am running my own Sage notebook server on a Suse 10.2 box.
I started the notebook server on that Linux box using the command:
notebook(address='',port=443,open_viewer=False,accounts=True).

This serves the Sage notebook on port 443 and allows me (and others)
to connect to the Sage notebook from anywhere (address='').

This Sage server is used by myself and other people collaborating on a
number of projects.
The users are using all kinds of machines to connect to the server
(Linux, Mac and Windows).

I now want to connect to the Sage server from a windows machine using
Google Chrome as a browser.
As described above , this does not work because the login fails.

On the same machine, connecting to the same server, in the same way,
this succeeds using Firefox as a browser.




On 29 Nov, 14:42, "David Joyner" <wdjoy...@gmail.com> wrote:
> I don't have the answer but just to clarify.
>
> Since at least for me (in the US) google chrome is not available
> on any linux or mac platform, I'm guessing
>
> (a) you have google chrome running
> on a windows pc and sage running on a separate machine?
>
> (b) You are trying to run sage via the windows pc's chrome browser
> by connecting to the other machine using the command
> notebook(address='',port=443,open_viewer=False,accounts=True) ?
>
> Even though I rarely use the notebook and almost never use windows,
> this doesn't make sense to me. Maybe you have a linux version of chrome
> somehow?
>
> On Sat, Nov 29, 2008 at 8:34 AM, tomanizer
>

William Stein

unread,
Nov 29, 2008, 3:26:06 PM11/29/08
to sage-s...@googlegroups.com

I just installed google chrome, and the sage notebook does
work in it. Here's a screen shot:
http://sage.math.washington.edu/home/was/tmp/chrome.png

At least one thing doesn't work right: using the up and down arrow to
move from cell to cell doesn't work. Auto cell resizing works,
shift-enter works, etc. So it seems there is only one known minor
problem.

William

mabshoff

unread,
Nov 29, 2008, 3:27:37 PM11/29/08
to sage-support


On Nov 29, 12:22 pm, tomanizer <thomas.haede...@mailwitch.com> wrote:
> Hi David,

Hi Thomas,

> Let me try to clarify:
>
> I am running my own Sage notebook server on a Suse 10.2 box.
> I started the notebook server on that Linux box using the command:
> notebook(address='',port=443,open_viewer=False,accounts=True).
>
> This serves the Sage notebook on port 443 and allows me (and others)
> to connect to the Sage notebook from anywhere (address='').
>
> This Sage server is used by myself and other people collaborating on a
> number of projects.
> The users are using all kinds of machines to connect to the server
> (Linux, Mac and Windows).
>
> I now want to connect to the Sage server from a windows machine using
> Google Chrome as a browser.
> As described above , this does not work because the login fails.
>
> On the same machine, connecting to the same server, in the same way,
> this succeeds using Firefox as a browser.

Recent Sage releases (3.2 for example) do work at least with some
version of Chrome. I.e. there is a patch to add Google Gears support
that I did see in action on a Vista box a couple weeks ago, so it is
possible. What version of Chrome are you running? There is also some
other potential issue to consider like javascript support and cookies,
i.e. if you turned them off it could be a source of your login
problems.

Timothy: Since you are the one whom I saw using Gear - which Chrome
release did you test with?

Cheers,

Michael

William Stein

unread,
Nov 29, 2008, 3:48:02 PM11/29/08
to sage-s...@googlegroups.com
On Sat, Nov 29, 2008 at 5:34 AM, tomanizer
<thomas....@mailwitch.com> wrote:
>
> Hi All,
>
>
> When using Google Chrome I cannot log in to my Sage notebooks.
> The login page displays correctly.
> But when when I submit username and password I get an error:
>
> "Object not found!
> The requested URL was not found on this server. If you entered the URL
> manually please check your spelling and try again."
>
> When I log into the same instance of the server using Firefox I don't
> have this problem.
> Login works fine and I can use the notebook as normal.

Just out of curiosity, what happens if you use sagenb.org, i.e., go to

http://sagenb.org

?

>
> I am running my own Sage server on a Suse 10.3 box.
> My Sage version is 3.1.3 built from source.
>
> I am running the sage workbook with
> notebook(address='',port=443,open_viewer=False,accounts=True)
> (yes yes I should run secure=True, but this does not work on Suse -->
> see other post)
>
> Does anyone else have this problem or a solution?
>
> Cheers
> Thomas
> >
>



--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

tomanizer

unread,
Nov 29, 2008, 3:53:12 PM11/29/08
to sage-support
Hi William,

Which version of Sage are you using?
Did you run your notebook with accounts=True and log in or did you
start the workbook directly?

Thomas

William Stein

unread,
Nov 29, 2008, 3:55:05 PM11/29/08
to sage-s...@googlegroups.com
On Sat, Nov 29, 2008 at 12:53 PM, tomanizer
<thomas....@mailwitch.com> wrote:
>
> Hi William,
>
> Which version of Sage are you using?

The public sage notebook server is run using sage-3.2.

> Did you run your notebook with accounts=True and log in or did you
> start the workbook directly?

Yes, it's run with accounts=True. Here's the exact script:

sage@sagenb:~/sagenb$ more notebook.py
from sage.all import *
server_pool=['worksheet@localhost']
notebook('sage_notebook', port=8000, accounts=True, address='sagenb.org',
server_pool = server_pool, ulimit='-u 400 -v 1000000 -t 3600', open_vie
wer=False, timeout=120, secure=False)

tomanizer

unread,
Nov 29, 2008, 3:56:38 PM11/29/08
to sage-support
Logging into http://sagenb.org works fine.

So it is probably my set-up, my Sage version or cookies, etc. as
Michael suggested.
Reply all
Reply to author
Forward
0 new messages