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

Connection refused: connect #1

Closed
ootwclyhe opened this issue Apr 18, 2021 · 2 comments
Closed

Connection refused: connect #1

ootwclyhe opened this issue Apr 18, 2021 · 2 comments
Labels
bug Something isn't working fixed The bug discussed has been fixed

Comments

@ootwclyhe
Copy link

请输入一个AV号或BV号:
BV165411P7UC

请输入Cookie中SESSDATA的值(若无请填“#”):
(隐去)

正在获取稿件信息······
Exception in thread "main" java.net.ConnectException: Connection refused: connect
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:503)
at java.base/sun.nio.ch.Net.connect(Net.java:492)
at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:588)
at java.base/java.net.Socket.connect(Socket.java:648)
at java.base/java.net.Socket.connect(Socket.java:597)
at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
at java.base/sun.net.www.http.HttpClient$1.run(HttpClient.java:526)
at java.base/sun.net.www.http.HttpClient$1.run(HttpClient.java:524)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:554)
at java.base/sun.net.www.http.HttpClient.privilegedOpenServer(HttpClient.java:523)
at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:564)
at java.base/sun.net.www.http.HttpClient.(HttpClient.java:242)
at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:341)
at java.base/sun.net.www.http.HttpClient.New(HttpClient.java:362)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1261)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1239)
at java.base/sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1082)
at java.base/sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1016)
at me.naptie.bilidownload.Main.readUrl(Main.java:313)
at me.naptie.bilidownload.Main.readJsonFromUrl(Main.java:318)
at me.naptie.bilidownload.Main.main(Main.java:31)

@Naptie
Copy link
Owner

Naptie commented Apr 18, 2021

我在 README 里说明了这个问题,暂无好的解决方案。(挂个代理试试?

@Naptie
Copy link
Owner

Naptie commented Apr 18, 2021

1.1.0 版本解决了这个问题。

@Naptie Naptie closed this as completed Apr 18, 2021
@Naptie Naptie added bug Something isn't working fixed The bug discussed has been fixed labels Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed The bug discussed has been fixed
Projects
None yet
Development

No branches or pull requests

2 participants