scala-notebook
scala-notebook copied to clipboard
I couldn't access WebPage
Hello,
I cloned by git and run sbt command project server, run.
So server was successfully started, i tried to open page localhost:8899 but Unauthorized returned
How could solve it?
The same here
Hmm, that's strange. It seems to work here, still. Do you see anything interesting in the server log at the sbt prompt? Can you give details on your set-up/OS/versions/etc.?
Running the server should end with Scala launching Firefox with a URL of the form http://127.0.0.1:8899/login/a_long_hex_string
Perhaps Firefox is not launching? Are you typing the URL manually?
On Wed, Apr 3, 2013 at 8:10 PM, Daniel Peebles [email protected]:
Hmm, that's strange. It seems to work here, still. Do you see anything interesting in the server log at the sbt prompt? Can you give details on your set-up/OS/versions/etc.?
— Reply to this email directly or view it on GitHubhttps://github.com/Bridgewater/scala-notebook/issues/9#issuecomment-15873335 .
A great feature would be the ability to connect to a remote instance: I would like to use the notebook on remote servers. Perhaps there could be an authentication endpoint of some kind?
On Apr 3, 2013, at 8:49 PM, KenCoder [email protected] wrote:
Running the server should end with Scala launching Firefox with a URL of the form http://127.0.0.1:8899/login/a_long_hex_string
Perhaps Firefox is not launching? Are you typing the URL manually?
On Wed, Apr 3, 2013 at 8:10 PM, Daniel Peebles [email protected]:
Hmm, that's strange. It seems to work here, still. Do you see anything interesting in the server log at the sbt prompt? Can you give details on your set-up/OS/versions/etc.?
— Reply to this email directly or view it on GitHubhttps://github.com/Bridgewater/scala-notebook/issues/9#issuecomment-15873335 .
— Reply to this email directly or view it on GitHub.
type "project server and run"
the message is following next [info] No sbt-js sources requiring compilation [info] No sbt-js sources requiring compilation [info] Running com.bwater.notebook.Server log4j:WARN No appenders could be found for logger (com.bwater.notebook.server.ScalaNotebookConfig$). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Embedded server running on port 8899. Press any key to stop.
and then i should run firefox or chrome and type http://localhost:8899
according to your message web browser shoud be launched by sbt(or scala note book server?)
i don't know how can i do it..
That wouldn't be too hard - we currently authenticate using a shared secret, but I could easily imagine plugging in any kind of authentication. What's useful to you - username/password or pre-shared secret?
On Wed, Apr 3, 2013 at 8:59 PM, Josh Marcus [email protected]:
A great feature would be the ability to connect to a remote instance: I would like to use the notebook on remote servers. Perhaps there could be an authentication endpoint of some kind?
On Apr 3, 2013, at 8:49 PM, KenCoder [email protected] wrote:
Running the server should end with Scala launching Firefox with a URL of the form http://127.0.0.1:8899/login/a_long_hex_string
Perhaps Firefox is not launching? Are you typing the URL manually?
On Wed, Apr 3, 2013 at 8:10 PM, Daniel Peebles [email protected]:
Hmm, that's strange. It seems to work here, still. Do you see anything interesting in the server log at the sbt prompt? Can you give details on your set-up/OS/versions/etc.?
— Reply to this email directly or view it on GitHub< https://github.com/Bridgewater/scala-notebook/issues/9#issuecomment-15873335>
.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/Bridgewater/scala-notebook/issues/9#issuecomment-15874755 .
i use ubuntu 12.10, scala version is 2.9.2 , ..
That's great to hear. I think username and password would be the most immediately useful to me.
On Apr 3, 2013, at 9:21 PM, KenCoder [email protected] wrote:
That wouldn't be too hard - we currently authenticate using a shared secret, but I could easily imagine plugging in any kind of authentication. What's useful to you - username/password or pre-shared secret?
On Wed, Apr 3, 2013 at 8:59 PM, Josh Marcus [email protected]:
A great feature would be the ability to connect to a remote instance: I would like to use the notebook on remote servers. Perhaps there could be an authentication endpoint of some kind?
On Apr 3, 2013, at 8:49 PM, KenCoder [email protected] wrote:
Running the server should end with Scala launching Firefox with a URL of the form http://127.0.0.1:8899/login/a_long_hex_string
Perhaps Firefox is not launching? Are you typing the URL manually?
On Wed, Apr 3, 2013 at 8:10 PM, Daniel Peebles [email protected]:
Hmm, that's strange. It seems to work here, still. Do you see anything interesting in the server log at the sbt prompt? Can you give details on your set-up/OS/versions/etc.?
— Reply to this email directly or view it on GitHub< https://github.com/Bridgewater/scala-notebook/issues/9#issuecomment-15873335>
.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHubhttps://github.com/Bridgewater/scala-notebook/issues/9#issuecomment-15874755 .
— Reply to this email directly or view it on GitHub.
Looking at the code, unfiltered.util.Browser.open must be failing. It returns an Option[Exception], which we are ignoring. I just committed a change to display the URL and the exception (if any). Can you pull latest and try again?
On Wed, Apr 3, 2013 at 9:21 PM, badend [email protected] wrote:
i use ubuntu 12.10, scala version is 2.9.2 , ..
— Reply to this email directly or view it on GitHubhttps://github.com/Bridgewater/scala-notebook/issues/9#issuecomment-15875314 .
I open page successfully but it was with --disable_security option...,
ok your committed source i will do it soon
Error Message is Launching browswer on http://127.0.0.1:8899/login/5FCB51F27A4A394126DD114C38673F12C938DA6C Cannot open browser to http://127.0.0.1:8899/login/5FCB51F27A4A394126DD114C38673F12C938DA6C java.lang.reflect.InvocationTargetException
but i can open that URL Directly
Ah, forgot the inner exception. Just pushed again with better logging.
On Wed, Apr 3, 2013 at 9:41 PM, badend [email protected] wrote:
Error Message is Launching browswer on http://127.0.0.1:8899/login/5FCB51F27A4A394126DD114C38673F12C938DA6C Cannot open browser to http://127.0.0.1:8899/login/5FCB51F27A4A394126DD114C38673F12C938DA6C java.lang.reflect.InvocationTargetException
— Reply to this email directly or view it on GitHubhttps://github.com/Bridgewater/scala-notebook/issues/9#issuecomment-15875771 .