安装命令
docker run --detach --name solo --network=host --env RUNTIME_DB="MYSQL" --env JDBC_USERNAME="******" --env JDBC_PASSWORD="******" --env JDBC_DRIVER="com.mysql.cj.jdbc.Driver" --env JDBC_URL="jdbc:mysql://*.*.*.*:3306/solo?useUnicode=yes&characterEncoding=UTF-8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true" b3log/solo --listen_port=8080 --server_scheme=http --server_host=blog.lijida.cn
登录后台报错:
Caused by: jodd.http.HttpException: Can't connect to: https://hacpai.com/oauth/solo/client2; <--- java.net.SocketTimeoutException: connect timed out
at jodd.http.HttpRequest.open(HttpRequest.java:777)
at jodd.http.HttpRequest.open(HttpRequest.java:759)
at jodd.http.HttpRequest._send(HttpRequest.java:887)
at jodd.http.HttpRequest.send(HttpRequest.java:853)
at org.b3log.solo.processor.OAuthProcessor.redirectAuth(OAuthProcessor.java:117)
at org.b3log.solo.processor.OAuthProcessor_$$_jvst2b8_27._d8redirectAuth(OAuthProcessor_$$_jvst2b8_27.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.b3log.latke.ioc.JavassistMethodHandler.invoke(JavassistMethodHandler.java:116)
at org.b3log.solo.processor.OAuthProcessor_$$_jvst2b8_27.redirectAuth(OAuthProcessor_$$_jvst2b8_27.java)
... 44 more
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at jodd.http.Sockets.connect(Sockets.java:55)
at jodd.http.net.SocketHttpConnectionProvider.createSSLSocket(SocketHttpConnectionProvider.java:182)
at jodd.http.net.SocketHttpConnectionProvider.createHttpConnection(SocketHttpConnectionProvider.java:99)
at jodd.http.HttpRequest.open(HttpRequest.java:775)
... 55 more
at jodd.http.HttpRequest.open(HttpRequest.java:759)
at jodd.http.HttpRequest._send(HttpRequest.java:887)
at jodd.http.HttpRequest.send(HttpRequest.java:853)
at org.b3log.solo.processor.OAuthProcessor.redirectAuth(OAuthProcessor.java:117)
at org.b3log.solo.processor.OAuthProcessor_$$_jvst2b8_27._d8redirectAuth(OAuthProcessor_$$_jvst2b8_27.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.b3log.latke.ioc.JavassistMethodHandler.invoke(JavassistMethodHandler.java:116)
at org.b3log.solo.processor.OAuthProcessor_$$_jvst2b8_27.redirectAuth(OAuthProcessor_$$_jvst2b8_27.java)
... 44 more
Caused by: java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at jodd.http.Sockets.connect(Sockets.java:55)
at jodd.http.net.SocketHttpConnectionProvider.createSSLSocket(SocketHttpConnectionProvider.java:182)
at jodd.http.net.SocketHttpConnectionProvider.createHttpConnection(SocketHttpConnectionProvider.java:99)
at jodd.http.HttpRequest.open(HttpRequest.java:775)
... 55 more
[INFO ]-[2019-10-25 10:51:17]-[org.b3log.solo.service.ExportService:153]: Github repo syncing....
[INFO ]-[2019-10-25 10:51:17]-[org.b3log.solo.service.ExportService:269]: Github repo synced
有哪位大神能帮忙解决一下吗
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于