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

java.net.ConnectException: Connection refused #8

Closed
parasange opened this issue Aug 30, 2018 · 2 comments
Closed

java.net.ConnectException: Connection refused #8

parasange opened this issue Aug 30, 2018 · 2 comments

Comments

@parasange
Copy link

Hi,
I'm getting the above exception, when starting the JAR. Probably it's due to missing proxy settings, but
adding proxy options with
'java -jar -Xmx10g .\chordatlas-0.0.1-SNAPSHOT.jar -Dhttp.proxyHost=xx.xx.xx.xx -Dhttp.proxyPort=80'
does not change anything. So at the end there's no scene loaded.
Do you have any suggestions?

Thanks

grafik

@twak
Copy link
Owner

twak commented Aug 30, 2018

To avoid it downloading the offending zip file automatically, you can download it manually.

  1. download the zip file into the data root directory (the same directory that contains tweed.xml)
  2. extract the file to the same location (it should create a directory called network_inputs also in the root directory)
  3. don't delete the zip file (it's used as a marker to avoid downloading again).

The proxy thing is strange. If your system proxy is setup, you could also try adding -Djava.net.useSystemProxies=true when running the jar. Which java version are you using?

@parasange
Copy link
Author

Adding the option -Djava.net.useSystemProxies=true unfortunately still did not succeed and raises same error. I'm using JRE 10.0.2
With manually downloaded .zip file it works, thanks for fast reply!

@twak twak closed this as completed Aug 30, 2018
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

2 participants