Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[error] (server/compile:js-source-graph) java.net.ConnectException: Connection timed out #22

Open
hyunjun opened this issue Jul 25, 2013 · 3 comments

Comments

@hyunjun
Copy link

hyunjun commented Jul 25, 2013

Hi guys,

I'd like to run scala-notebook however failed. The only one I did is change all the '127.0.0.1' to my server's ip address and I got error like title.

Full log of my situation is below;

$ sbt
[info] Loading project definition from /data1/jun/programming/scala-notebook/project
[warn] Multiple resolvers having different access mechanism configured with same name 'sbt-plugin-releases'. To avoid conflict, Remove duplicate project resolvers (resolvers) or rename publishing resolver (publishTo).
[info] Set current project to scala-notebook (in build file:/data1/jun/programming/scala-notebook/)

clean
[success] Total time: 0 s, completed Jul 25, 2013 4:33:32 PM
project server
[info] Set current project to notebook-server (in build file:/data1/jun/programming/scala-notebook/)
run
[info] Updating {file:/data1/jun/programming/scala-notebook/}subprocess...
[info] Resolving org.scalatest#scalatest_2.9.2;1.8 ...
[info] Done updating.
[info] Updating {file:/data1/jun/programming/scala-notebook/}observable...
[info] Resolving org.scalatest#scalatest_2.9.2;1.8 ...
[info] Done updating.
[info] Updating {file:/data1/jun/programming/scala-notebook/}common...
[info] Resolving org.scalatest#scalatest_2.9.2;1.8 ...
[info] Done updating.
[info] Updating {file:/data1/jun/programming/scala-notebook/}kernel...
[info] Resolving org.scalatest#scalatest_2.9.2;1.8 ...
[info] Done updating.
[info] Updating {file:/data1/jun/programming/scala-notebook/}server...
[info] Resolving org.scalamock#scalamock-core_2.9.2;2.4 ...
[info] Done updating.
[info] Compiling 9 Scala sources and 1 Java source to /data1/jun/programming/scala-notebook/subprocess/target/scala-2.9.2/classes...
[info] Compiling 9 Scala sources to /data1/jun/programming/scala-notebook/observable/target/scala-2.9.2/classes...
[info] Compiling sbt-js source /data1/jun/programming/scala-notebook/observable/target/scala-2.9.2/resource_managed/main/observable/js/equiv.js
[info] Compiling sbt-js source /data1/jun/programming/scala-notebook/observable/target/scala-2.9.2/resource_managed/main/observable/js/observable.js
[info] Compiling 9 Scala sources to /data1/jun/programming/scala-notebook/common/target/scala-2.9.2/classes...
[info] Compiling 9 Scala sources to /data1/jun/programming/scala-notebook/kernel/target/scala-2.9.2/classes...
[warn] /data1/jun/programming/scala-notebook/kernel/src/main/scala/HackIMain.scala:15: method stop in class Thread is deprecated: see corresponding Javadoc for more information.
[warn] line.thread.stop()
[warn] ^
[warn] one warning found
[info] Compiling 11 Scala sources to /data1/jun/programming/scala-notebook/server/target/scala-2.9.2/classes...
[trace] Stack trace suppressed: run last server/compile:js-source-graph for the full output.
error java.net.ConnectException: Connection timed out
[error] Total time: 239 s, completed Jul 25, 2013 4:37:36 PM

Thanks

@KenCoder
Copy link
Contributor

Maybe try the suggested command to get a stack trace after trying again:

last server/compile:js-source-graph

On Thu, Jul 25, 2013 at 3:43 AM, hyunjun [email protected] wrote:

Hi guys,

I'd like to run scala-notebook however failed. The only one I did is
change all the '127.0.0.1' to my server's ip address and I got error like
title.

Full log of my situation is below;

$ sbt
[info] Loading project definition from
/data1/jun/programming/scala-notebook/project
[warn] Multiple resolvers having different access mechanism configured
with same name 'sbt-plugin-releases'. To avoid conflict, Remove duplicate
project resolvers (resolvers) or rename publishing resolver (publishTo).
[info] Set current project to scala-notebook (in build
file:/data1/jun/programming/scala-notebook/)

clean
[success] Total time: 0 s, completed Jul 25, 2013 4:33:32 PM
project server
[info] Set current project to notebook-server (in build
file:/data1/jun/programming/scala-notebook/)
run
[info] Updating {file:/data1/jun/programming/scala-notebook/}subprocess...
[info] Resolving org.scalatest#scalatest_2.9.2;1.8 ...
[info] Done updating.
[info] Updating {file:/data1/jun/programming/scala-notebook/}observable...
[info] Resolving org.scalatest#scalatest_2.9.2;1.8 ...
[info] Done updating.
[info] Updating {file:/data1/jun/programming/scala-notebook/}common...
[info] Resolving org.scalatest#scalatest_2.9.2;1.8 ...
[info] Done updating.
[info] Updating {file:/data1/jun/programming/scala-notebook/}kernel...
[info] Resolving org.scalatest#scalatest_2.9.2;1.8 ...
[info] Done updating.
[info] Updating {file:/data1/jun/programming/scala-notebook/}server...
[info] Resolving org.scalamock#scalamock-core_2.9.2;2.4 ...
[info] Done updating.
[info] Compiling 9 Scala sources and 1 Java source to
/data1/jun/programming/scala-notebook/subprocess/target/scala-2.9.2/classes...
[info] Compiling 9 Scala sources to
/data1/jun/programming/scala-notebook/observable/target/scala-2.9.2/classes...
[info] Compiling sbt-js source
/data1/jun/programming/scala-notebook/observable/target/scala-2.9.2/resource_managed/main/observable/js/equiv.js
[info] Compiling sbt-js source
/data1/jun/programming/scala-notebook/observable/target/scala-2.9.2/resource_managed/main/observable/js/observable.js
[info] Compiling 9 Scala sources to
/data1/jun/programming/scala-notebook/common/target/scala-2.9.2/classes...
[info] Compiling 9 Scala sources to
/data1/jun/programming/scala-notebook/kernel/target/scala-2.9.2/classes...
[warn]
/data1/jun/programming/scala-notebook/kernel/src/main/scala/HackIMain.scala:15:
method stop in class Thread is deprecated: see corresponding Javadoc for
more information.
[warn] line.thread.stop()
[warn] ^
[warn] one warning found
[info] Compiling 11 Scala sources to
/data1/jun/programming/scala-notebook/server/target/scala-2.9.2/classes...
[trace] Stack trace suppressed: run last server/compile:js-source-graph
for the full output.
error http://server/compile:js-source-graph java.net.ConnectException:
Connection timed out
[error] Total time: 239 s, completed Jul 25, 2013 4:37:36 PM

Thanks


Reply to this email directly or view it on GitHubhttps://github.com//issues/22
.

@vinodkc
Copy link

vinodkc commented Dec 1, 2014

full Stack trace

last server/compile:js-source-graph
[debug] sbt-js template properties {}
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:69)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:337)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:157)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:607)
at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)
at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:483)
at sun.net.www.protocol.https.HttpsClient.(HttpsClient.java:278)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:335)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Abstra
nnection.java:191)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:928)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegat
java:177)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:129
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionIm
at java.net.URL.openStream(URL.java:1035)
at com.untyped.sbtgraph.Graph$class.downloadAndCache(Graph.scala:155)
at com.untyped.sbtjs.Graph.downloadAndCache(Graph.scala:11)
at com.untyped.sbtgraph.Graph$class.getSource(Graph.scala:41)
at com.untyped.sbtjs.Graph.getSource(Graph.scala:11)
at com.untyped.sbtgraph.Graph$class.getSource(Graph.scala:35)
at com.untyped.sbtjs.Graph.getSource(Graph.scala:11)
at com.untyped.sbtjs.JsmSource$$anonfun$parents$3.apply(JsmSource.scala:11)
at com.untyped.sbtjs.JsmSource$$anonfun$parents$3.apply(JsmSource.scala:10)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
at scala.collection.immutable.List.foreach(List.scala:318)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
at scala.collection.AbstractTraversable.map(Traversable.scala:105)
at com.untyped.sbtjs.JsmSource.parents$lzycompute(JsmSource.scala:10)
at com.untyped.sbtjs.JsmSource.parents(JsmSource.scala:8)
at com.untyped.sbtgraph.Graph$class.parents(Graph.scala:172)
at com.untyped.sbtjs.Graph.parents(Graph.scala:11)
at com.untyped.sbtgraph.Graph$class.com$untyped$sbtgraph$Graph$$$plus$eq(Graph.scala:30)
at com.untyped.sbtgraph.Graph$class.$plus$eq(Graph.scala:22)
at com.untyped.sbtjs.Graph.$plus$eq(Graph.scala:11)
at com.untyped.sbtjs.Plugin$$anonfun$sourceGraphTask$1$$anonfun$apply$7$$anonfun$apply$8
100)
at com.untyped.sbtjs.Plugin$$anonfun$sourceGraphTask$1$$anonfun$apply$7$$anonfun$apply$8
100)
at scala.collection.immutable.List.foreach(List.scala:318)
at com.untyped.sbtjs.Plugin$$anonfun$sourceGraphTask$1$$anonfun$apply$7.apply(Plugin.sca
at com.untyped.sbtjs.Plugin$$anonfun$sourceGraphTask$1$$anonfun$apply$7.apply(Plugin.sca
at com.untyped.sbtjs.Plugin$.time(Plugin.scala:62)
at com.untyped.sbtjs.Plugin$$anonfun$sourceGraphTask$1.apply(Plugin.scala:88)
at com.untyped.sbtjs.Plugin$$anonfun$sourceGraphTask$1.apply(Plugin.scala:85)
at scala.Function9$$anonfun$tupled$1.apply(Function9.scala:35)
at scala.Function9$$anonfun$tupled$1.apply(Function9.scala:34)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:244)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
at sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
error java.net.ConnectException: Connection timed out: connect

@josephguan
Copy link

hi guys, I met the same issue... any suggestions? error like below, and the stack trace is same as above.

project server
[info] Set current project to notebook-server (in build file:/E:/OpenSource/scala-notebook-master/)
run
[info] No sbt-js sources requiring compilation
[trace] Stack trace suppressed: run last server/compile:jsSourceGraph for the full output.
error java.net.ConnectException: Connection timed out: connect
[error] Total time: 24 s, completed 2015-7-26 2:09:55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants