You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set web3j.client-address=ws://localhost:8546
run the program to get the following error , but retry in command line: geth attach ws://localhost:8546,It is ok.
it need some more setting? which document can tell us ? thanks
java.lang.RuntimeException: Provided file socket cannot be opened: ws://localhost:8546
java.lang.IllegalStateException: Failed to execute ApplicationRunner
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:774) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:761) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:319) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1203) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
at com.ljd.UacExecutor.UacExecutorApplication.main(UacExecutorApplication.java:14) [classes!/:0.0.1-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_181]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_181]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_181]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [uac-executor-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [uac-executor-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:51) [uac-executor-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52) [uac-executor-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
Caused by: java.lang.RuntimeException: Provided file socket cannot be opened: ws://localhost:8546
at org.web3j.protocol.ipc.UnixDomainSocket.(UnixDomainSocket.java:41) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.ipc.UnixDomainSocket.(UnixDomainSocket.java:27) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.ipc.UnixIpcService.getIO(UnixIpcService.java:21) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.ipc.IpcService.performIO(IpcService.java:33) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.Service.send(Service.java:34) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.core.Request.send(Request.java:72) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.core.filters.LogFilter.sendRequest(LogFilter.java:31) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.core.filters.Filter.run(Filter.java:51) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.rx.JsonRpc2_0Rx.run(JsonRpc2_0Rx.java:73) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.rx.JsonRpc2_0Rx.lambda$ethLogFlowable$2(JsonRpc2_0Rx.java:65) ~[core-4.2.0.jar!/:na]
at io.reactivex.internal.operators.flowable.FlowableCreate.subscribeActual(FlowableCreate.java:71) ~[rxjava-2.2.11.jar!/:na]
at io.reactivex.Flowable.subscribe(Flowable.java:14918) ~[rxjava-2.2.11.jar!/:na]
at io.reactivex.internal.operators.flowable.FlowableMap.subscribeActual(FlowableMap.java:37) ~[rxjava-2.2.11.jar!/:na]
at io.reactivex.Flowable.subscribe(Flowable.java:14918) ~[rxjava-2.2.11.jar!/:na]
at io.reactivex.internal.operators.flowable.BlockingFlowableIterable.iterator(BlockingFlowableIterable.java:42) ~[rxjava-2.2.11.jar!/:na]
at com.ljd.UacExecutor.myLinster.startWatch(myLinster.java:97) ~[classes!/:0.0.1-SNAPSHOT]
at com.ljd.UacExecutor.myLinster.run(myLinster.java:39) ~[classes!/:0.0.1-SNAPSHOT]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
... 13 common frames omitted
Caused by: java.io.IOException: No such file or directory
at jnr.unixsocket.UnixSocketChannel.doConnect(UnixSocketChannel.java:127) ~[jnr-unixsocket-0.21.jar!/:na]
at jnr.unixsocket.UnixSocketChannel.connect(UnixSocketChannel.java:136) ~[jnr-unixsocket-0.21.jar!/:na]
at jnr.unixsocket.UnixSocketChannel.open(UnixSocketChannel.java:68) ~[jnr-unixsocket-0.21.jar!/:na]
at org.web3j.protocol.ipc.UnixDomainSocket.(UnixDomainSocket.java:35) ~[core-4.2.0.jar!/:na]
... 30 common frames omitted
The text was updated successfully, but these errors were encountered:
I set web3j.client-address=ws://localhost:8546
run the program to get the following error , but retry in command line: geth attach ws://localhost:8546,It is ok.
it need some more setting? which document can tell us ? thanks
java.lang.RuntimeException: Provided file socket cannot be opened: ws://localhost:8546
java.lang.IllegalStateException: Failed to execute ApplicationRunner
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:774) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:761) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:319) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1214) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1203) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
at com.ljd.UacExecutor.UacExecutorApplication.main(UacExecutorApplication.java:14) [classes!/:0.0.1-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_181]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_181]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181]
at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_181]
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [uac-executor-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [uac-executor-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.Launcher.launch(Launcher.java:51) [uac-executor-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:52) [uac-executor-0.0.1-SNAPSHOT.jar:0.0.1-SNAPSHOT]
Caused by: java.lang.RuntimeException: Provided file socket cannot be opened: ws://localhost:8546
at org.web3j.protocol.ipc.UnixDomainSocket.(UnixDomainSocket.java:41) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.ipc.UnixDomainSocket.(UnixDomainSocket.java:27) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.ipc.UnixIpcService.getIO(UnixIpcService.java:21) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.ipc.IpcService.performIO(IpcService.java:33) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.Service.send(Service.java:34) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.core.Request.send(Request.java:72) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.core.filters.LogFilter.sendRequest(LogFilter.java:31) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.core.filters.Filter.run(Filter.java:51) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.rx.JsonRpc2_0Rx.run(JsonRpc2_0Rx.java:73) ~[core-4.2.0.jar!/:na]
at org.web3j.protocol.rx.JsonRpc2_0Rx.lambda$ethLogFlowable$2(JsonRpc2_0Rx.java:65) ~[core-4.2.0.jar!/:na]
at io.reactivex.internal.operators.flowable.FlowableCreate.subscribeActual(FlowableCreate.java:71) ~[rxjava-2.2.11.jar!/:na]
at io.reactivex.Flowable.subscribe(Flowable.java:14918) ~[rxjava-2.2.11.jar!/:na]
at io.reactivex.internal.operators.flowable.FlowableMap.subscribeActual(FlowableMap.java:37) ~[rxjava-2.2.11.jar!/:na]
at io.reactivex.Flowable.subscribe(Flowable.java:14918) ~[rxjava-2.2.11.jar!/:na]
at io.reactivex.internal.operators.flowable.BlockingFlowableIterable.iterator(BlockingFlowableIterable.java:42) ~[rxjava-2.2.11.jar!/:na]
at com.ljd.UacExecutor.myLinster.startWatch(myLinster.java:97) ~[classes!/:0.0.1-SNAPSHOT]
at com.ljd.UacExecutor.myLinster.run(myLinster.java:39) ~[classes!/:0.0.1-SNAPSHOT]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:771) [spring-boot-2.1.7.RELEASE.jar!/:2.1.7.RELEASE]
... 13 common frames omitted
Caused by: java.io.IOException: No such file or directory
at jnr.unixsocket.UnixSocketChannel.doConnect(UnixSocketChannel.java:127) ~[jnr-unixsocket-0.21.jar!/:na]
at jnr.unixsocket.UnixSocketChannel.connect(UnixSocketChannel.java:136) ~[jnr-unixsocket-0.21.jar!/:na]
at jnr.unixsocket.UnixSocketChannel.open(UnixSocketChannel.java:68) ~[jnr-unixsocket-0.21.jar!/:na]
at org.web3j.protocol.ipc.UnixDomainSocket.(UnixDomainSocket.java:35) ~[core-4.2.0.jar!/:na]
... 30 common frames omitted
The text was updated successfully, but these errors were encountered: