You are using an outdated version of the browser (Internet Explorer 10 or earlier) or IE compatibility mode is enabled. If you are using Internet Explorer 11 or newer, make sure compatibility mode is disabled. Next TeamCity version will only support Internet Explorer 11 and newer versions. Contact JetBrains TeamCity support if this can affect your TeamCity usage.
Loading...
Guest user 
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest, Basic realm="foo"], scheme: Basic)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest, Basic realm="foo"], scheme: Digest)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest, Basic realm="foo"], scheme: Other)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest, Basic ,,realm="foo"], scheme: Basic)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest, Basic ,,realm="foo"], scheme: Digest)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest, Basic ,,realm="foo"], scheme: Other)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,realm="foo"], scheme: Basic)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,realm="foo"], scheme: Digest)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,realm="foo"], scheme: Other)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,foo=bar,realm="foo"], scheme: Basic)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,foo=bar,realm="foo"], scheme: Digest)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,foo=bar,realm="foo"], scheme: Other)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,foo=bar,realm="f,oo"], scheme: Basic)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,foo=bar,realm="f,oo"], scheme: Digest)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,foo=bar,realm="f,oo"], scheme: Other)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [,Digest,,,, Basic ,,foo=bar,realm="f,oo"], scheme: Basic)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [,Digest,,,, Basic ,,foo=bar,realm="f,oo"], scheme: Digest)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [,Digest,,,, Basic ,,foo=bar,realm="f,oo"], scheme: Other)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [,Digest,,,, Basic ,,foo=bar,realm="f,oo,"], scheme: Basic)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [,Digest,,,, Basic ,,foo=bar,realm="f,oo,"], scheme: Digest)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [,Digest,,,, Basic ,,foo=bar,realm="f,oo,"], scheme: Other)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,,realm="f\\\"o\o"], scheme: Basic)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,,realm="f\\\"o\o"], scheme: Digest)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,,realm="f\\\"o\o"], scheme: Other)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,,realm="f\\\\"o\o"], scheme: Basic)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,,realm="f\\\\"o\o"], scheme: Digest)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,,realm="f\\\\"o\o"], scheme: Other)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,,realm="f"o\o"], scheme: Basic)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,,realm="f"o\o"], scheme: Digest)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,,realm="f"o\o"], scheme: Other)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,,realm=f"oo], scheme: Basic)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,,realm=f"oo], scheme: Digest)
[10:38:26][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest,,,, Basic ,,,realm=f"oo], scheme: Other)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest, Basic realm=foo], scheme: Basic)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest, Basic realm=foo], scheme: Digest)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Digest, Basic realm=foo], scheme: Other)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Basic realm=foo, Digest], scheme: Basic)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Basic realm=foo, Digest], scheme: Digest)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Basic realm=foo, Digest], scheme: Other)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Basic realm=foo, Basic realm=bar], scheme: Basic)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Basic realm=foo, Basic realm=bar], scheme: Other)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Other abc==], scheme: Basic)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Other abc==], scheme: Other)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Other abc==, realm=foo], scheme: Basic)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Other abc==, realm=foo], scheme: Other)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Other realm=foo, realm=bar], scheme: Basic)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parsing challenges for specific scheme works correctly (challenges: [Other realm=foo, realm=bar], scheme: Other)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.the correct headers according to response code are parsed (responseCode: 200)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.the correct headers according to response code are parsed (responseCode: 401)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.the correct headers according to response code are parsed (responseCode: 407)
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [ , , Basic realm=foo])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Basic realm=foo])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Basic realm="foo"])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Basic realm = "foo"])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Basic realm = "foo",Digest])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Basic realm = "foo",Basic realm=bar])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Digest,Basic realm="foo"])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Digest,Basic ,,realm="foo"])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Digest, Basic realm="foo"])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Digest, Basic ,,realm="foo"])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Digest,,,, Basic ,,realm="foo"])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Digest,,,, Basic ,,foo=bar,realm="foo"])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Digest,,,, Basic ,,foo=bar,realm="f,oo"])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [,Digest,,,, Basic ,,foo=bar,realm="f,oo"])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [,Digest,,,, Basic ,,foo=bar,realm="f,oo,"])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Digest,,,, Basic ,,,realm="f\\\"o\o"])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Digest, Basic realm=foo])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Basic realm=foo, Digest])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Basic realm=foo, Basic realm=bar])
[10:38:27][org.javacord.core.util.auth.OkHttpResponseImplTest] org.javacord.core.util.auth.OkHttpResponseImplTest.parse results are reused (challenges: [Other abc==])
[10:38:27][Step 1/1] org.javacord.core.util.ratelimit.RatelimitManagerTest
[10:38:27][org.javacord.core.util.ratelimit.RatelimitManagerTest] org.javacord.core.util.ratelimit.RatelimitManagerTest.executeBlocking() throwing a DiscordException without result does not cause an Exception
[10:38:28][Step 1/1] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest (30s)
[10:38:28][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls with a man-in-the-middle attack fail (13s)
[10:38:31][:javacord-core:test]
[10:38:31][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls with a man-in-the-middle attack fail STANDARD_OUT
[10:38:31][:javacord-core:test] 2021-10-11 10:38:31,025 <INFO> <Test worker> <[]> <{}> <org.mockserver.mock.HttpStateHandler> started on port: 42597
[10:38:34][Step 1/1] Docker event: {"status":"create","id":"c67e8944c288951cd61ef003d0b31e077ee885129cc9c334c45f1a5da55a1b27","from":"javacord-build","Type":"container","Action":"create","Actor":{"ID":"c67e8944c288951cd61ef003d0b31e077ee885129cc9c334c45f1a5da55a1b27","Attributes":{"image":"javacord-build","jetbrains.teamcity.buildId":"10958","name":"jolly_torvalds"}},"scope":"local","time":1633948714,"timeNano":1633948714267597492}
[10:38:34][Step 1/1] Docker event: {"status":"attach","id":"c67e8944c288951cd61ef003d0b31e077ee885129cc9c334c45f1a5da55a1b27","from":"javacord-build","Type":"container","Action":"attach","Actor":{"ID":"c67e8944c288951cd61ef003d0b31e077ee885129cc9c334c45f1a5da55a1b27","Attributes":{"image":"javacord-build","jetbrains.teamcity.buildId":"10958","name":"jolly_torvalds"}},"scope":"local","time":1633948714,"timeNano":1633948714279707161}
[10:38:35][Step 1/1] Docker event: {"status":"start","id":"c67e8944c288951cd61ef003d0b31e077ee885129cc9c334c45f1a5da55a1b27","from":"javacord-build","Type":"container","Action":"start","Actor":{"ID":"c67e8944c288951cd61ef003d0b31e077ee885129cc9c334c45f1a5da55a1b27","Attributes":{"image":"javacord-build","jetbrains.teamcity.buildId":"10958","name":"jolly_torvalds"}},"scope":"local","time":1633948715,"timeNano":1633948715415066600}
[10:38:38][:javacord-core:test] 2021-10-11 10:38:38,774 <INFO> <nioEventLoopGroup-4-1> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation:
[10:38:38][:javacord-core:test]
[10:38:38][:javacord-core:test] {
[10:38:38][:javacord-core:test] "httpRequest" : { },
[10:38:38][:javacord-core:test] "times" : {
[10:38:38][:javacord-core:test] "unlimited" : true
[10:38:38][:javacord-core:test] },
[10:38:38][:javacord-core:test] "timeToLive" : {
[10:38:38][:javacord-core:test] "unlimited" : true
[10:38:38][:javacord-core:test] },
[10:38:38][:javacord-core:test] "httpResponse" : {
[10:38:38][:javacord-core:test] "statusCode" : 404
[10:38:38][:javacord-core:test] }
[10:38:38][:javacord-core:test] }
[10:38:38][:javacord-core:test]
[10:38:41][:javacord-core:test] 2021-10-11 10:38:41,644 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket
[10:38:41][:javacord-core:test] com.neovisionaries.ws.client.WebSocketException: SSL handshake with the WebSocket endpoint (127.0.0.1:42597) failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[10:38:41][:javacord-core:test] at com.neovisionaries.ws.client.SocketConnector.handshake(SocketConnector.java:235) ~[nv-websocket-client-2.6.jar:?]
[10:38:41][:javacord-core:test] at com.neovisionaries.ws.client.SocketConnector.doConnect(SocketConnector.java:144) ~[nv-websocket-client-2.6.jar:?]
[10:38:41][:javacord-core:test] at com.neovisionaries.ws.client.SocketConnector.connect(SocketConnector.java:83) ~[nv-websocket-client-2.6.jar:?]
[10:38:41][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2307) ~[nv-websocket-client-2.6.jar:?]
[10:38:41][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?]
[10:38:41][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?]
[10:38:41][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
[10:38:41][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:41][:javacord-core:test] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
[10:38:41][:javacord-core:test] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?]
[10:38:41][:javacord-core:test] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4]
[10:38:41][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4]
[10:38:41][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4]
[10:38:41][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4]
[10:38:41][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4]
[10:38:41][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_0(DiscordWebSocketAdapterTest.groovy:59) [test/:?]
[10:38:41][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:41][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:41][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:41][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:41][:javacord-core:test] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:41][:javacord-core:test] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:41][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:41][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:41][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:41][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:41][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:41][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:41][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:41][:javacord-core:test] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?]
[10:38:42][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
[10:38:42][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:42][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:42][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:42][:javacord-core:test] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?]
[10:38:42][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
[10:38:42][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:42][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:42][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:42][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:42][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:42][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:42][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls with a man-in-the-middle attack fail] [Test Output] 2021-10-11 10:38:31,025 <INFO> <Test worker> <[]> <{}> <org.mockserver.mock.HttpStateHandler> started on port: 42597 2021-10-11 10:38:38,774 <INFO> <nioEventLoopGroup-4-1> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:41,644 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket com.neovisionaries.ws.client.WebSocketException: SSL handshake with the WebSocket endpoint (127.0.0.1:42597) failed: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at com.neovisionaries.ws.client.SocketConnector.handshake(SocketConnector.java:235) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.SocketConnector.doConnect(SocketConnector.java:144) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.SocketConnector.connect(SocketConnector.java:83) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2307) ~[nv-websocket-client-2.6.jar:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_0(DiscordWebSocketAdapterTest.groovy:59) [test/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:42][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:42][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:42][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?]
[10:38:42][:javacord-core:test] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:42][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:42][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:42][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:42][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?]
[10:38:42][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?]
[10:38:42][:javacord-core:test] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:42][:javacord-core:test] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:42][:javacord-core:test] Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[10:38:42][:javacord-core:test] at sun.security.ssl.Alerts.getSSLException(Alerts.java:198) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1969) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:318) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:312) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.ClientHandshaker.checkServerCerts(ClientHandshaker.java:1846) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1655) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:260) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1086) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.Handshaker.processRecord(Handshaker.java:1020) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1137) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1429) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
[10:38:42][:javacord-core:test] at com.neovisionaries.ws.client.SocketConnector.handshake(SocketConnector.java:219) ~[nv-websocket-client-2.6.jar:?]
[10:38:42][:javacord-core:test] ... 104 more
[10:38:42][:javacord-core:test] Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[10:38:42][:javacord-core:test] at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:290) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.validator.Validator.validate(Validator.java:264) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:343) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:226) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:133) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.ClientHandshaker.checkServerCerts(ClientHandshaker.java:1825) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1655) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:260) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1086) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.Handshaker.processRecord(Handshaker.java:1020) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1137) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1429) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
[10:38:42][:javacord-core:test] at com.neovisionaries.ws.client.SocketConnector.handshake(SocketConnector.java:219) ~[nv-websocket-client-2.6.jar:?]
[10:38:42][:javacord-core:test] ... 104 more
[10:38:42][:javacord-core:test] Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
[10:38:42][:javacord-core:test] at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) ~[?:?]
[10:38:42][:javacord-core:test] at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:290) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.validator.Validator.validate(Validator.java:264) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:343) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:226) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:133) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.ClientHandshaker.checkServerCerts(ClientHandshaker.java:1825) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1655) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:260) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1086) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.Handshaker.processRecord(Handshaker.java:1020) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1137) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1429) ~[?:?]
[10:38:42][:javacord-core:test] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?]
[10:38:42][:javacord-core:test] at com.neovisionaries.ws.client.SocketConnector.handshake(SocketConnector.java:219) ~[nv-websocket-client-2.6.jar:?]
[10:38:42][:javacord-core:test] ... 104 more
[10:38:42][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls with a man-in-the-middle attack fail] [Test Output] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1] at java.lang.Thread.run(Thread.java:844) [?:?] Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.ssl.Alerts.getSSLException(Alerts.java:198) ~[?:?] at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1969) ~[?:?] at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:318) ~[?:?] at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:312) ~[?:?] at sun.security.ssl.ClientHandshaker.checkServerCerts(ClientHandshaker.java:1846) ~[?:?] at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1655) ~[?:?] at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:260) ~[?:?] at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1086) ~[?:?] at sun.security.ssl.Handshaker.processRecord(Handshaker.java:1020) ~[?:?] at sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1137) ~[?:?] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074) ~[?:?] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) ~[?:?] at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402) ~[?:?] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1429) ~[?:?] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?] at com.neovisionaries.ws.client.SocketConnector.handshake(SocketConnector.java:219) ~[nv-websocket-client-2.6.jar:?] ... 104 more Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385) ~[?:?] at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:290) ~[?:?] at sun.security.validator.Validator.validate(Validator.java:264) ~[?:?] at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:343) ~[?:?] at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:226) ~[?:?] at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:133) ~[?:?] at sun.security.ssl.ClientHandshaker.checkServerCerts(ClientHandshaker.java:1825) ~[?:?] at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1655) ~[?:?] at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:260) ~[?:?] at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1086) ~[?:?] at sun.security.ssl.Handshaker.processRecord(Handshaker.java:1020) ~[?:?] at sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1137) ~[?:?] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074) ~[?:?] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) ~[?:?] at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402) ~[?:?] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1429) ~[?:?] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?] at com.neovisionaries.ws.client.SocketConnector.handshake(SocketConnector.java:219) ~[nv-websocket-client-2.6.jar:?] ... 104 more Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) ~[?:?] at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) ~[?:?] at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:297) ~[?:?] at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380) ~[?:?] at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:290) ~[?:?] at sun.security.validator.Validator.validate(Validator.java:264) ~[?:?] at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:343) ~[?:?] at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:226) ~[?:?] at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:133) ~[?:?] at sun.security.ssl.ClientHandshaker.checkServerCerts(ClientHandshaker.java:1825) ~[?:?] at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1655) ~[?:?] at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:260) ~[?:?] at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1086) ~[?:?] at sun.security.ssl.Handshaker.processRecord(Handshaker.java:1020) ~[?:?] at sun.security.ssl.SSLSocketImpl.processInputRecord(SSLSocketImpl.java:1137) ~[?:?] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1074) ~[?:?] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) ~[?:?] at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1402) ~[?:?] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1429) ~[?:?] at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) ~[?:?] at com.neovisionaries.ws.client.SocketConnector.handshake(SocketConnector.java:219) ~[nv-websocket-client-2.6.jar:?] ... 104 more
[10:38:42][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls with man-in-the-middle attack allowed do not fail with handshake exception (2s)
[10:38:42][:javacord-core:test]
[10:38:42][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls with man-in-the-middle attack allowed do not fail with handshake exception STANDARD_OUT
[10:38:42][:javacord-core:test] 2021-10-11 10:38:42,671 <INFO> <nioEventLoopGroup-4-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs
[10:38:43][:javacord-core:test] 2021-10-11 10:38:43,175 <INFO> <nioEventLoopGroup-4-5> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation:
[10:38:43][:javacord-core:test]
[10:38:43][:javacord-core:test] {
[10:38:43][:javacord-core:test] "httpRequest" : { },
[10:38:43][:javacord-core:test] "times" : {
[10:38:43][:javacord-core:test] "unlimited" : true
[10:38:43][:javacord-core:test] },
[10:38:43][:javacord-core:test] "timeToLive" : {
[10:38:43][:javacord-core:test] "unlimited" : true
[10:38:43][:javacord-core:test] },
[10:38:43][:javacord-core:test] "httpResponse" : {
[10:38:43][:javacord-core:test] "statusCode" : 404
[10:38:43][:javacord-core:test] }
[10:38:43][:javacord-core:test] }
[10:38:43][:javacord-core:test]
[10:38:44][:javacord-core:test] 2021-10-11 10:38:44,058 <INFO> <nioEventLoopGroup-4-7> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request:
[10:38:44][:javacord-core:test]
[10:38:44][:javacord-core:test] {
[10:38:44][:javacord-core:test] "method" : "GET",
[10:38:44][:javacord-core:test] "path" : "/",
[10:38:44][:javacord-core:test] "queryStringParameters" : {
[10:38:44][:javacord-core:test] "encoding" : [ "json" ],
[10:38:44][:javacord-core:test] "v" : [ "8" ]
[10:38:44][:javacord-core:test] },
[10:38:44][:javacord-core:test] "headers" : {
[10:38:44][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:44][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:44][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:44][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:44][:javacord-core:test] "Sec-WebSocket-Key" : [ "hOSF6nsoojkxjLTb5YggSg==" ],
[10:38:44][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:44][:javacord-core:test] "content-length" : [ "0" ]
[10:38:44][:javacord-core:test] },
[10:38:44][:javacord-core:test] "keepAlive" : true,
[10:38:44][:javacord-core:test] "secure" : true
[10:38:44][:javacord-core:test] }
[10:38:44][:javacord-core:test]
[10:38:44][:javacord-core:test] matched expectation:
[10:38:44][:javacord-core:test]
[10:38:44][:javacord-core:test] {
[10:38:44][:javacord-core:test] "httpRequest" : { },
[10:38:44][:javacord-core:test] "times" : {
[10:38:44][:javacord-core:test] "unlimited" : true
[10:38:44][:javacord-core:test] },
[10:38:44][:javacord-core:test] "timeToLive" : {
[10:38:44][:javacord-core:test] "unlimited" : true
[10:38:44][:javacord-core:test] },
[10:38:44][:javacord-core:test] "httpResponse" : {
[10:38:44][:javacord-core:test] "statusCode" : 404
[10:38:44][:javacord-core:test] }
[10:38:44][:javacord-core:test] }
[10:38:44][:javacord-core:test]
[10:38:44][:javacord-core:test] 2021-10-11 10:38:44,128 <INFO> <pool-3-thread-1> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response:
[10:38:44][:javacord-core:test]
[10:38:44][:javacord-core:test] {
[10:38:44][:javacord-core:test] "statusCode" : 404,
[10:38:44][:javacord-core:test] "headers" : {
[10:38:44][:javacord-core:test] "connection" : [ "keep-alive" ]
[10:38:44][:javacord-core:test] }
[10:38:44][:javacord-core:test] }
[10:38:44][:javacord-core:test]
[10:38:44][:javacord-core:test] for request:
[10:38:44][:javacord-core:test]
[10:38:44][:javacord-core:test] {
[10:38:44][:javacord-core:test] "method" : "GET",
[10:38:44][:javacord-core:test] "path" : "/",
[10:38:44][:javacord-core:test] "queryStringParameters" : {
[10:38:44][:javacord-core:test] "encoding" : [ "json" ],
[10:38:44][:javacord-core:test] "v" : [ "8" ]
[10:38:44][:javacord-core:test] },
[10:38:44][:javacord-core:test] "headers" : {
[10:38:44][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:44][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:44][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:44][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:44][:javacord-core:test] "Sec-WebSocket-Key" : [ "hOSF6nsoojkxjLTb5YggSg==" ],
[10:38:44][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:44][:javacord-core:test] "content-length" : [ "0" ]
[10:38:44][:javacord-core:test] },
[10:38:44][:javacord-core:test] "keepAlive" : true,
[10:38:44][:javacord-core:test] "secure" : true
[10:38:44][:javacord-core:test] }
[10:38:44][:javacord-core:test]
[10:38:44][:javacord-core:test] for action:
[10:38:44][:javacord-core:test]
[10:38:44][:javacord-core:test] {
[10:38:44][:javacord-core:test] "statusCode" : 404
[10:38:44][:javacord-core:test] }
[10:38:44][:javacord-core:test]
[10:38:44][:javacord-core:test] 2021-10-11 10:38:44,221 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket
[10:38:44][:javacord-core:test] com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found
[10:38:44][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?]
[10:38:44][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?]
[10:38:44][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?]
[10:38:44][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?]
[10:38:44][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?]
[10:38:44][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?]
[10:38:44][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
[10:38:44][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls with man-in-the-middle attack allowed do not fail with handshake exception] [Test Output] 2021-10-11 10:38:42,671 <INFO> <nioEventLoopGroup-4-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs 2021-10-11 10:38:43,175 <INFO> <nioEventLoopGroup-4-5> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:44,058 <INFO> <nioEventLoopGroup-4-7> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "hOSF6nsoojkxjLTb5YggSg==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } matched expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:44,128 <INFO> <pool-3-thread-1> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response: { "statusCode" : 404, "headers" : { "connection" : [ "keep-alive" ] } } for request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "hOSF6nsoojkxjLTb5YggSg==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } for action: { "statusCode" : 404 } 2021-10-11 10:38:44,221 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
[10:38:44][:javacord-core:test] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?]
[10:38:44][:javacord-core:test] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_1(DiscordWebSocketAdapterTest.groovy:85) [test/:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:44][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:44][:javacord-core:test] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:44][:javacord-core:test] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:44][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:44][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:44][:javacord-core:test] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:44][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:44][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:44][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:44][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:44][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:44][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?]
[10:38:44][:javacord-core:test] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:44][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:44][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:44][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?]
[10:38:44][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?]
[10:38:44][:javacord-core:test] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:44][:javacord-core:test] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:44][:javacord-core:test] 2021-10-11 10:38:44,628 <INFO> <nioEventLoopGroup-4-8> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match:
[10:38:44][:javacord-core:test]
[10:38:44][:javacord-core:test] {
[10:38:44][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls with man-in-the-middle attack allowed do not fail with handshake exception] [Test Output] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_1(DiscordWebSocketAdapterTest.groovy:85) [test/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1] at java.lang.Thread.run(Thread.java:844) [?:?] 2021-10-11 10:38:44,628 <INFO> <nioEventLoopGroup-4-8> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match: { "httpRequest" : { },
[10:38:44][:javacord-core:test] "httpRequest" : { },
[10:38:44][:javacord-core:test] "times" : {
[10:38:44][:javacord-core:test] "atLeast" : 1
[10:38:44][:javacord-core:test] }
[10:38:44][:javacord-core:test] }
[10:38:44][:javacord-core:test]
[10:38:44][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls with man-in-the-middle attack allowed do not fail with handshake exception] [Test Output] "times" : { "atLeast" : 1 } }
[10:38:44][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured HTTP proxy (1s)
[10:38:44][:javacord-core:test]
[10:38:44][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls are done via system properties configured HTTP proxy STANDARD_OUT
[10:38:44][:javacord-core:test] 2021-10-11 10:38:44,850 <INFO> <nioEventLoopGroup-4-9> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs
[10:38:45][:javacord-core:test] 2021-10-11 10:38:45,058 <INFO> <nioEventLoopGroup-4-10> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation:
[10:38:45][:javacord-core:test]
[10:38:45][:javacord-core:test] {
[10:38:45][:javacord-core:test] "httpRequest" : { },
[10:38:45][:javacord-core:test] "times" : {
[10:38:45][:javacord-core:test] "unlimited" : true
[10:38:45][:javacord-core:test] },
[10:38:45][:javacord-core:test] "timeToLive" : {
[10:38:45][:javacord-core:test] "unlimited" : true
[10:38:45][:javacord-core:test] },
[10:38:45][:javacord-core:test] "httpResponse" : {
[10:38:45][:javacord-core:test] "statusCode" : 404
[10:38:45][:javacord-core:test] }
[10:38:45][:javacord-core:test] }
[10:38:45][:javacord-core:test]
[10:38:45][:javacord-core:test] 2021-10-11 10:38:45,667 <INFO> <nioEventLoopGroup-4-2> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request:
[10:38:45][:javacord-core:test]
[10:38:45][:javacord-core:test] {
[10:38:45][:javacord-core:test] "method" : "GET",
[10:38:45][:javacord-core:test] "path" : "/",
[10:38:45][:javacord-core:test] "queryStringParameters" : {
[10:38:45][:javacord-core:test] "encoding" : [ "json" ],
[10:38:45][:javacord-core:test] "v" : [ "8" ]
[10:38:45][:javacord-core:test] },
[10:38:45][:javacord-core:test] "headers" : {
[10:38:45][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:45][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:45][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:45][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:45][:javacord-core:test] "Sec-WebSocket-Key" : [ "rAqNGsDINqykeuGNoV0WFQ==" ],
[10:38:45][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:45][:javacord-core:test] "content-length" : [ "0" ]
[10:38:45][:javacord-core:test] },
[10:38:45][:javacord-core:test] "keepAlive" : true,
[10:38:45][:javacord-core:test] "secure" : true
[10:38:45][:javacord-core:test] }
[10:38:45][:javacord-core:test]
[10:38:45][:javacord-core:test] matched expectation:
[10:38:45][:javacord-core:test]
[10:38:45][:javacord-core:test] {
[10:38:45][:javacord-core:test] "httpRequest" : { },
[10:38:45][:javacord-core:test] "times" : {
[10:38:45][:javacord-core:test] "unlimited" : true
[10:38:45][:javacord-core:test] },
[10:38:45][:javacord-core:test] "timeToLive" : {
[10:38:45][:javacord-core:test] "unlimited" : true
[10:38:45][:javacord-core:test] },
[10:38:45][:javacord-core:test] "httpResponse" : {
[10:38:45][:javacord-core:test] "statusCode" : 404
[10:38:45][:javacord-core:test] }
[10:38:45][:javacord-core:test] }
[10:38:45][:javacord-core:test]
[10:38:45][:javacord-core:test] 2021-10-11 10:38:45,673 <INFO> <pool-3-thread-1> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response:
[10:38:45][:javacord-core:test]
[10:38:45][:javacord-core:test] {
[10:38:45][:javacord-core:test] "statusCode" : 404,
[10:38:45][:javacord-core:test] "headers" : {
[10:38:45][:javacord-core:test] "connection" : [ "keep-alive" ]
[10:38:45][:javacord-core:test] }
[10:38:45][:javacord-core:test] }
[10:38:45][:javacord-core:test]
[10:38:45][:javacord-core:test] for request:
[10:38:45][:javacord-core:test]
[10:38:45][:javacord-core:test] {
[10:38:45][:javacord-core:test] "method" : "GET",
[10:38:45][:javacord-core:test] "path" : "/",
[10:38:45][:javacord-core:test] "queryStringParameters" : {
[10:38:45][:javacord-core:test] "encoding" : [ "json" ],
[10:38:45][:javacord-core:test] "v" : [ "8" ]
[10:38:45][:javacord-core:test] },
[10:38:45][:javacord-core:test] "headers" : {
[10:38:45][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:45][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:45][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:45][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:45][:javacord-core:test] "Sec-WebSocket-Key" : [ "rAqNGsDINqykeuGNoV0WFQ==" ],
[10:38:45][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:45][:javacord-core:test] "content-length" : [ "0" ]
[10:38:45][:javacord-core:test] },
[10:38:45][:javacord-core:test] "keepAlive" : true,
[10:38:45][:javacord-core:test] "secure" : true
[10:38:45][:javacord-core:test] }
[10:38:45][:javacord-core:test]
[10:38:45][:javacord-core:test] for action:
[10:38:45][:javacord-core:test]
[10:38:45][:javacord-core:test] {
[10:38:45][:javacord-core:test] "statusCode" : 404
[10:38:45][:javacord-core:test] }
[10:38:45][:javacord-core:test]
[10:38:45][:javacord-core:test] 2021-10-11 10:38:45,684 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket
[10:38:45][:javacord-core:test] com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found
[10:38:45][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?]
[10:38:45][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?]
[10:38:45][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?]
[10:38:45][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?]
[10:38:45][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?]
[10:38:45][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?]
[10:38:45][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
[10:38:45][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured HTTP proxy] [Test Output] 2021-10-11 10:38:44,850 <INFO> <nioEventLoopGroup-4-9> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs 2021-10-11 10:38:45,058 <INFO> <nioEventLoopGroup-4-10> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:45,667 <INFO> <nioEventLoopGroup-4-2> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "rAqNGsDINqykeuGNoV0WFQ==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } matched expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:45,673 <INFO> <pool-3-thread-1> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response: { "statusCode" : 404, "headers" : { "connection" : [ "keep-alive" ] } } for request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "rAqNGsDINqykeuGNoV0WFQ==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } for action: { "statusCode" : 404 } 2021-10-11 10:38:45,684 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
[10:38:45][:javacord-core:test] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?]
[10:38:45][:javacord-core:test] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_2(DiscordWebSocketAdapterTest.groovy:115) [test/:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:45][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:45][:javacord-core:test] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:45][:javacord-core:test] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:45][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:45][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:45][:javacord-core:test] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:45][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:45][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:45][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:45][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:45][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:45][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?]
[10:38:45][:javacord-core:test] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:45][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:45][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:45][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?]
[10:38:45][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?]
[10:38:45][:javacord-core:test] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:45][:javacord-core:test] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:46][:javacord-core:test] 2021-10-11 10:38:46,079 <INFO> <nioEventLoopGroup-4-3> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match:
[10:38:46][:javacord-core:test]
[10:38:46][:javacord-core:test] {
[10:38:46][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured HTTP proxy] [Test Output] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_2(DiscordWebSocketAdapterTest.groovy:115) [test/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1] at java.lang.Thread.run(Thread.java:844) [?:?] 2021-10-11 10:38:46,079 <INFO> <nioEventLoopGroup-4-3> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match: { "httpRequest" : { },
[10:38:46][:javacord-core:test] "httpRequest" : { },
[10:38:46][:javacord-core:test] "times" : {
[10:38:46][:javacord-core:test] "atLeast" : 1
[10:38:46][:javacord-core:test] }
[10:38:46][:javacord-core:test] }
[10:38:46][:javacord-core:test]
[10:38:46][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured HTTP proxy] [Test Output] "times" : { "atLeast" : 1 } }
[10:38:46][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system default proxy selector configured proxy (2s)
[10:38:46][:javacord-core:test]
[10:38:46][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls are done via system default proxy selector configured proxy STANDARD_OUT
[10:38:46][:javacord-core:test] 2021-10-11 10:38:46,368 <INFO> <nioEventLoopGroup-4-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs
[10:38:46][:javacord-core:test] 2021-10-11 10:38:46,782 <INFO> <nioEventLoopGroup-4-5> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation:
[10:38:46][:javacord-core:test]
[10:38:46][:javacord-core:test] {
[10:38:46][:javacord-core:test] "httpRequest" : { },
[10:38:46][:javacord-core:test] "times" : {
[10:38:46][:javacord-core:test] "unlimited" : true
[10:38:46][:javacord-core:test] },
[10:38:46][:javacord-core:test] "timeToLive" : {
[10:38:46][:javacord-core:test] "unlimited" : true
[10:38:46][:javacord-core:test] },
[10:38:46][:javacord-core:test] "httpResponse" : {
[10:38:46][:javacord-core:test] "statusCode" : 404
[10:38:46][:javacord-core:test] }
[10:38:46][:javacord-core:test] }
[10:38:46][:javacord-core:test]
[10:38:47][:javacord-core:test] 2021-10-11 10:38:47,730 <INFO> <nioEventLoopGroup-4-7> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request:
[10:38:47][:javacord-core:test]
[10:38:47][:javacord-core:test] {
[10:38:47][:javacord-core:test] "method" : "GET",
[10:38:47][:javacord-core:test] "path" : "/",
[10:38:47][:javacord-core:test] "queryStringParameters" : {
[10:38:47][:javacord-core:test] "encoding" : [ "json" ],
[10:38:47][:javacord-core:test] "v" : [ "8" ]
[10:38:47][:javacord-core:test] },
[10:38:47][:javacord-core:test] "headers" : {
[10:38:47][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:47][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:47][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:47][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:47][:javacord-core:test] "Sec-WebSocket-Key" : [ "z7EOXnpkYffBepnIuCaYIA==" ],
[10:38:47][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:47][:javacord-core:test] "content-length" : [ "0" ]
[10:38:47][:javacord-core:test] },
[10:38:47][:javacord-core:test] "keepAlive" : true,
[10:38:47][:javacord-core:test] "secure" : true
[10:38:47][:javacord-core:test] }
[10:38:47][:javacord-core:test]
[10:38:47][:javacord-core:test] matched expectation:
[10:38:47][:javacord-core:test]
[10:38:47][:javacord-core:test] {
[10:38:47][:javacord-core:test] "httpRequest" : { },
[10:38:47][:javacord-core:test] "times" : {
[10:38:47][:javacord-core:test] "unlimited" : true
[10:38:47][:javacord-core:test] },
[10:38:47][:javacord-core:test] "timeToLive" : {
[10:38:47][:javacord-core:test] "unlimited" : true
[10:38:47][:javacord-core:test] },
[10:38:47][:javacord-core:test] "httpResponse" : {
[10:38:47][:javacord-core:test] "statusCode" : 404
[10:38:47][:javacord-core:test] }
[10:38:47][:javacord-core:test] }
[10:38:47][:javacord-core:test]
[10:38:47][:javacord-core:test] 2021-10-11 10:38:47,740 <INFO> <pool-3-thread-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response:
[10:38:47][:javacord-core:test]
[10:38:47][:javacord-core:test] {
[10:38:47][:javacord-core:test] "statusCode" : 404,
[10:38:47][:javacord-core:test] "headers" : {
[10:38:47][:javacord-core:test] "connection" : [ "keep-alive" ]
[10:38:47][:javacord-core:test] }
[10:38:47][:javacord-core:test] }
[10:38:47][:javacord-core:test]
[10:38:47][:javacord-core:test] for request:
[10:38:47][:javacord-core:test]
[10:38:47][:javacord-core:test] {
[10:38:47][:javacord-core:test] "method" : "GET",
[10:38:47][:javacord-core:test] "path" : "/",
[10:38:47][:javacord-core:test] "queryStringParameters" : {
[10:38:47][:javacord-core:test] "encoding" : [ "json" ],
[10:38:47][:javacord-core:test] "v" : [ "8" ]
[10:38:47][:javacord-core:test] },
[10:38:47][:javacord-core:test] "headers" : {
[10:38:47][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:47][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:47][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:47][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:47][:javacord-core:test] "Sec-WebSocket-Key" : [ "z7EOXnpkYffBepnIuCaYIA==" ],
[10:38:47][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:47][:javacord-core:test] "content-length" : [ "0" ]
[10:38:47][:javacord-core:test] },
[10:38:47][:javacord-core:test] "keepAlive" : true,
[10:38:47][:javacord-core:test] "secure" : true
[10:38:47][:javacord-core:test] }
[10:38:47][:javacord-core:test]
[10:38:47][:javacord-core:test] for action:
[10:38:47][:javacord-core:test]
[10:38:47][:javacord-core:test] {
[10:38:47][:javacord-core:test] "statusCode" : 404
[10:38:47][:javacord-core:test] }
[10:38:47][:javacord-core:test]
[10:38:47][:javacord-core:test] 2021-10-11 10:38:47,752 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket
[10:38:47][:javacord-core:test] com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found
[10:38:47][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?]
[10:38:47][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?]
[10:38:47][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?]
[10:38:47][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?]
[10:38:47][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?]
[10:38:47][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?]
[10:38:47][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
[10:38:47][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system default proxy selector configured proxy] [Test Output] 2021-10-11 10:38:46,368 <INFO> <nioEventLoopGroup-4-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs 2021-10-11 10:38:46,782 <INFO> <nioEventLoopGroup-4-5> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:47,730 <INFO> <nioEventLoopGroup-4-7> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "z7EOXnpkYffBepnIuCaYIA==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } matched expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:47,740 <INFO> <pool-3-thread-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response: { "statusCode" : 404, "headers" : { "connection" : [ "keep-alive" ] } } for request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "z7EOXnpkYffBepnIuCaYIA==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } for action: { "statusCode" : 404 } 2021-10-11 10:38:47,752 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
[10:38:47][:javacord-core:test] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?]
[10:38:47][:javacord-core:test] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_3(DiscordWebSocketAdapterTest.groovy:145) [test/:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:47][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:47][:javacord-core:test] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:47][:javacord-core:test] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:47][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:47][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:47][:javacord-core:test] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:47][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:47][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:47][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:47][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:47][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:47][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?]
[10:38:47][:javacord-core:test] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:47][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:47][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:47][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?]
[10:38:47][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?]
[10:38:47][:javacord-core:test] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:47][:javacord-core:test] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:48][:javacord-core:test] 2021-10-11 10:38:48,134 <INFO> <nioEventLoopGroup-4-8> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match:
[10:38:48][:javacord-core:test]
[10:38:48][:javacord-core:test] {
[10:38:48][:javacord-core:test] "httpRequest" : { },
[10:38:48][:javacord-core:test] "times" : {
[10:38:48][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system default proxy selector configured proxy] [Test Output] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_3(DiscordWebSocketAdapterTest.groovy:145) [test/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1] at java.lang.Thread.run(Thread.java:844) [?:?] 2021-10-11 10:38:48,134 <INFO> <nioEventLoopGroup-4-8> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match: { "httpRequest" : { }, "times" : { "atLeast" : 1
[10:38:48][:javacord-core:test] "atLeast" : 1
[10:38:48][:javacord-core:test] }
[10:38:48][:javacord-core:test] }
[10:38:48][:javacord-core:test]
[10:38:48][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system default proxy selector configured proxy] [Test Output] } }
[10:38:48][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via explicitly configured proxy (1s)
[10:38:48][:javacord-core:test]
[10:38:48][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls are done via explicitly configured proxy STANDARD_OUT
[10:38:48][:javacord-core:test] 2021-10-11 10:38:48,250 <INFO> <nioEventLoopGroup-4-9> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs
[10:38:48][:javacord-core:test] 2021-10-11 10:38:48,732 <INFO> <nioEventLoopGroup-4-10> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation:
[10:38:48][:javacord-core:test]
[10:38:48][:javacord-core:test] {
[10:38:48][:javacord-core:test] "httpRequest" : { },
[10:38:48][:javacord-core:test] "times" : {
[10:38:48][:javacord-core:test] "unlimited" : true
[10:38:48][:javacord-core:test] },
[10:38:48][:javacord-core:test] "timeToLive" : {
[10:38:48][:javacord-core:test] "unlimited" : true
[10:38:48][:javacord-core:test] },
[10:38:48][:javacord-core:test] "httpResponse" : {
[10:38:48][:javacord-core:test] "statusCode" : 404
[10:38:48][:javacord-core:test] }
[10:38:48][:javacord-core:test] }
[10:38:48][:javacord-core:test]
[10:38:49][:javacord-core:test] 2021-10-11 10:38:49,282 <INFO> <nioEventLoopGroup-4-2> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request:
[10:38:49][:javacord-core:test]
[10:38:49][:javacord-core:test] {
[10:38:49][:javacord-core:test] "method" : "GET",
[10:38:49][:javacord-core:test] "path" : "/",
[10:38:49][:javacord-core:test] "queryStringParameters" : {
[10:38:49][:javacord-core:test] "encoding" : [ "json" ],
[10:38:49][:javacord-core:test] "v" : [ "8" ]
[10:38:49][:javacord-core:test] },
[10:38:49][:javacord-core:test] "headers" : {
[10:38:49][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:49][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:49][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:49][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:49][:javacord-core:test] "Sec-WebSocket-Key" : [ "cqhAjz8r0BF5UwIs/DW9Dg==" ],
[10:38:49][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:49][:javacord-core:test] "content-length" : [ "0" ]
[10:38:49][:javacord-core:test] },
[10:38:49][:javacord-core:test] "keepAlive" : true,
[10:38:49][:javacord-core:test] "secure" : true
[10:38:49][:javacord-core:test] }
[10:38:49][:javacord-core:test]
[10:38:49][:javacord-core:test] matched expectation:
[10:38:49][:javacord-core:test]
[10:38:49][:javacord-core:test] {
[10:38:49][:javacord-core:test] "httpRequest" : { },
[10:38:49][:javacord-core:test] "times" : {
[10:38:49][:javacord-core:test] "unlimited" : true
[10:38:49][:javacord-core:test] },
[10:38:49][:javacord-core:test] "timeToLive" : {
[10:38:49][:javacord-core:test] "unlimited" : true
[10:38:49][:javacord-core:test] },
[10:38:49][:javacord-core:test] "httpResponse" : {
[10:38:49][:javacord-core:test] "statusCode" : 404
[10:38:49][:javacord-core:test] }
[10:38:49][:javacord-core:test] }
[10:38:49][:javacord-core:test]
[10:38:49][:javacord-core:test] 2021-10-11 10:38:49,321 <INFO> <pool-3-thread-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response:
[10:38:49][:javacord-core:test]
[10:38:49][:javacord-core:test] {
[10:38:49][:javacord-core:test] "statusCode" : 404,
[10:38:49][:javacord-core:test] "headers" : {
[10:38:49][:javacord-core:test] "connection" : [ "keep-alive" ]
[10:38:49][:javacord-core:test] }
[10:38:49][:javacord-core:test] }
[10:38:49][:javacord-core:test]
[10:38:49][:javacord-core:test] for request:
[10:38:49][:javacord-core:test]
[10:38:49][:javacord-core:test] {
[10:38:49][:javacord-core:test] "method" : "GET",
[10:38:49][:javacord-core:test] "path" : "/",
[10:38:49][:javacord-core:test] "queryStringParameters" : {
[10:38:49][:javacord-core:test] "encoding" : [ "json" ],
[10:38:49][:javacord-core:test] "v" : [ "8" ]
[10:38:49][:javacord-core:test] },
[10:38:49][:javacord-core:test] "headers" : {
[10:38:49][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:49][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:49][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:49][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:49][:javacord-core:test] "Sec-WebSocket-Key" : [ "cqhAjz8r0BF5UwIs/DW9Dg==" ],
[10:38:49][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:49][:javacord-core:test] "content-length" : [ "0" ]
[10:38:49][:javacord-core:test] },
[10:38:49][:javacord-core:test] "keepAlive" : true,
[10:38:49][:javacord-core:test] "secure" : true
[10:38:49][:javacord-core:test] }
[10:38:49][:javacord-core:test]
[10:38:49][:javacord-core:test] for action:
[10:38:49][:javacord-core:test]
[10:38:49][:javacord-core:test] {
[10:38:49][:javacord-core:test] "statusCode" : 404
[10:38:49][:javacord-core:test] }
[10:38:49][:javacord-core:test]
[10:38:49][:javacord-core:test] 2021-10-11 10:38:49,347 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket
[10:38:49][:javacord-core:test] com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found
[10:38:49][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?]
[10:38:49][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?]
[10:38:49][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?]
[10:38:49][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?]
[10:38:49][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?]
[10:38:49][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?]
[10:38:49][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
[10:38:49][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via explicitly configured proxy] [Test Output] 2021-10-11 10:38:48,250 <INFO> <nioEventLoopGroup-4-9> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs 2021-10-11 10:38:48,732 <INFO> <nioEventLoopGroup-4-10> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:49,282 <INFO> <nioEventLoopGroup-4-2> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "cqhAjz8r0BF5UwIs/DW9Dg==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } matched expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:49,321 <INFO> <pool-3-thread-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response: { "statusCode" : 404, "headers" : { "connection" : [ "keep-alive" ] } } for request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "cqhAjz8r0BF5UwIs/DW9Dg==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } for action: { "statusCode" : 404 } 2021-10-11 10:38:49,347 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
[10:38:49][:javacord-core:test] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?]
[10:38:49][:javacord-core:test] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_4(DiscordWebSocketAdapterTest.groovy:177) [test/:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:49][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:49][:javacord-core:test] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:49][:javacord-core:test] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:49][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:49][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:49][:javacord-core:test] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:49][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:49][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:49][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:49][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:49][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:49][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?]
[10:38:49][:javacord-core:test] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:49][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:49][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:49][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?]
[10:38:49][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?]
[10:38:49][:javacord-core:test] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:49][:javacord-core:test] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:49][:javacord-core:test] 2021-10-11 10:38:49,699 <INFO> <nioEventLoopGroup-4-3> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match:
[10:38:49][:javacord-core:test]
[10:38:49][:javacord-core:test] {
[10:38:49][:javacord-core:test] "httpRequest" : { },
[10:38:49][:javacord-core:test] "times" : {
[10:38:49][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via explicitly configured proxy] [Test Output] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_4(DiscordWebSocketAdapterTest.groovy:177) [test/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1] at java.lang.Thread.run(Thread.java:844) [?:?] 2021-10-11 10:38:49,699 <INFO> <nioEventLoopGroup-4-3> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match: { "httpRequest" : { }, "times" : { "atLeast" : 1
[10:38:49][:javacord-core:test] "atLeast" : 1
[10:38:49][:javacord-core:test] }
[10:38:49][:javacord-core:test] }
[10:38:49][:javacord-core:test]
[10:38:49][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via explicitly configured proxy] [Test Output] } }
[10:38:49][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via explicitly configured proxy selector (1s)
[10:38:49][:javacord-core:test]
[10:38:49][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls are done via explicitly configured proxy selector STANDARD_OUT
[10:38:49][:javacord-core:test] 2021-10-11 10:38:49,892 <INFO> <nioEventLoopGroup-4-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs
[10:38:50][:javacord-core:test] 2021-10-11 10:38:50,064 <INFO> <nioEventLoopGroup-4-5> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation:
[10:38:50][:javacord-core:test]
[10:38:50][:javacord-core:test] {
[10:38:50][:javacord-core:test] "httpRequest" : { },
[10:38:50][:javacord-core:test] "times" : {
[10:38:50][:javacord-core:test] "unlimited" : true
[10:38:50][:javacord-core:test] },
[10:38:50][:javacord-core:test] "timeToLive" : {
[10:38:50][:javacord-core:test] "unlimited" : true
[10:38:50][:javacord-core:test] },
[10:38:50][:javacord-core:test] "httpResponse" : {
[10:38:50][:javacord-core:test] "statusCode" : 404
[10:38:50][:javacord-core:test] }
[10:38:50][:javacord-core:test] }
[10:38:50][:javacord-core:test]
[10:38:50][:javacord-core:test] 2021-10-11 10:38:50,566 <INFO> <nioEventLoopGroup-4-7> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request:
[10:38:50][:javacord-core:test]
[10:38:50][:javacord-core:test] {
[10:38:50][:javacord-core:test] "method" : "GET",
[10:38:50][:javacord-core:test] "path" : "/",
[10:38:50][:javacord-core:test] "queryStringParameters" : {
[10:38:50][:javacord-core:test] "encoding" : [ "json" ],
[10:38:50][:javacord-core:test] "v" : [ "8" ]
[10:38:50][:javacord-core:test] },
[10:38:50][:javacord-core:test] "headers" : {
[10:38:50][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:50][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:50][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:50][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:50][:javacord-core:test] "Sec-WebSocket-Key" : [ "eCnM+JZK6O0McZ24JKRykw==" ],
[10:38:50][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:50][:javacord-core:test] "content-length" : [ "0" ]
[10:38:50][:javacord-core:test] },
[10:38:50][:javacord-core:test] "keepAlive" : true,
[10:38:50][:javacord-core:test] "secure" : true
[10:38:50][:javacord-core:test] }
[10:38:50][:javacord-core:test]
[10:38:50][:javacord-core:test] matched expectation:
[10:38:50][:javacord-core:test]
[10:38:50][:javacord-core:test] {
[10:38:50][:javacord-core:test] "httpRequest" : { },
[10:38:50][:javacord-core:test] "times" : {
[10:38:50][:javacord-core:test] "unlimited" : true
[10:38:50][:javacord-core:test] },
[10:38:50][:javacord-core:test] "timeToLive" : {
[10:38:50][:javacord-core:test] "unlimited" : true
[10:38:50][:javacord-core:test] },
[10:38:50][:javacord-core:test] "httpResponse" : {
[10:38:50][:javacord-core:test] "statusCode" : 404
[10:38:50][:javacord-core:test] }
[10:38:50][:javacord-core:test] }
[10:38:50][:javacord-core:test]
[10:38:50][:javacord-core:test] 2021-10-11 10:38:50,594 <INFO> <pool-3-thread-2> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response:
[10:38:50][:javacord-core:test]
[10:38:50][:javacord-core:test] {
[10:38:50][:javacord-core:test] "statusCode" : 404,
[10:38:50][:javacord-core:test] "headers" : {
[10:38:50][:javacord-core:test] "connection" : [ "keep-alive" ]
[10:38:50][:javacord-core:test] }
[10:38:50][:javacord-core:test] }
[10:38:50][:javacord-core:test]
[10:38:50][:javacord-core:test] for request:
[10:38:50][:javacord-core:test]
[10:38:50][:javacord-core:test] {
[10:38:50][:javacord-core:test] "method" : "GET",
[10:38:50][:javacord-core:test] "path" : "/",
[10:38:50][:javacord-core:test] "queryStringParameters" : {
[10:38:50][:javacord-core:test] "encoding" : [ "json" ],
[10:38:50][:javacord-core:test] "v" : [ "8" ]
[10:38:50][:javacord-core:test] },
[10:38:50][:javacord-core:test] "headers" : {
[10:38:50][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:50][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:50][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:50][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:50][:javacord-core:test] "Sec-WebSocket-Key" : [ "eCnM+JZK6O0McZ24JKRykw==" ],
[10:38:50][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:50][:javacord-core:test] "content-length" : [ "0" ]
[10:38:50][:javacord-core:test] },
[10:38:50][:javacord-core:test] "keepAlive" : true,
[10:38:50][:javacord-core:test] "secure" : true
[10:38:50][:javacord-core:test] }
[10:38:50][:javacord-core:test]
[10:38:50][:javacord-core:test] for action:
[10:38:50][:javacord-core:test]
[10:38:50][:javacord-core:test] {
[10:38:50][:javacord-core:test] "statusCode" : 404
[10:38:50][:javacord-core:test] }
[10:38:50][:javacord-core:test]
[10:38:50][:javacord-core:test] 2021-10-11 10:38:50,618 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket
[10:38:50][:javacord-core:test] com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found
[10:38:50][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?]
[10:38:50][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?]
[10:38:50][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?]
[10:38:50][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?]
[10:38:50][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?]
[10:38:50][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?]
[10:38:50][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
[10:38:50][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via explicitly configured proxy selector] [Test Output] 2021-10-11 10:38:49,892 <INFO> <nioEventLoopGroup-4-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs 2021-10-11 10:38:50,064 <INFO> <nioEventLoopGroup-4-5> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:50,566 <INFO> <nioEventLoopGroup-4-7> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "eCnM+JZK6O0McZ24JKRykw==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } matched expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:50,594 <INFO> <pool-3-thread-2> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response: { "statusCode" : 404, "headers" : { "connection" : [ "keep-alive" ] } } for request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "eCnM+JZK6O0McZ24JKRykw==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } for action: { "statusCode" : 404 } 2021-10-11 10:38:50,618 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
[10:38:50][:javacord-core:test] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?]
[10:38:50][:javacord-core:test] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_5(DiscordWebSocketAdapterTest.groovy:206) [test/:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:50][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:50][:javacord-core:test] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:50][:javacord-core:test] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:50][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:50][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:50][:javacord-core:test] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:50][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:50][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:50][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:50][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:50][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:50][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?]
[10:38:50][:javacord-core:test] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:50][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:50][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:50][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?]
[10:38:50][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?]
[10:38:50][:javacord-core:test] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:50][:javacord-core:test] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:51][:javacord-core:test] 2021-10-11 10:38:50,993 <INFO> <nioEventLoopGroup-4-8> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match:
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] {
[10:38:51][:javacord-core:test] "httpRequest" : { },
[10:38:51][:javacord-core:test] "times" : {
[10:38:51][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via explicitly configured proxy selector] [Test Output] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_5(DiscordWebSocketAdapterTest.groovy:206) [test/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1] at java.lang.Thread.run(Thread.java:844) [?:?] 2021-10-11 10:38:50,993 <INFO> <nioEventLoopGroup-4-8> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match: { "httpRequest" : { }, "times" : { "atLeast" : 1
[10:38:51][:javacord-core:test] "atLeast" : 1
[10:38:51][:javacord-core:test] }
[10:38:51][:javacord-core:test] }
[10:38:51][:javacord-core:test]
[10:38:51][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via explicitly configured proxy selector] [Test Output] } }
[10:38:51][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls through authenticated HTTP proxy use the system default authenticator (1s)
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls through authenticated HTTP proxy use the system default authenticator STANDARD_OUT
[10:38:51][:javacord-core:test] 2021-10-11 10:38:51,060 <INFO> <nioEventLoopGroup-4-9> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs
[10:38:51][:javacord-core:test] 2021-10-11 10:38:51,168 <INFO> <nioEventLoopGroup-4-10> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation:
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] {
[10:38:51][:javacord-core:test] "httpRequest" : { },
[10:38:51][:javacord-core:test] "times" : {
[10:38:51][:javacord-core:test] "unlimited" : true
[10:38:51][:javacord-core:test] },
[10:38:51][:javacord-core:test] "timeToLive" : {
[10:38:51][:javacord-core:test] "unlimited" : true
[10:38:51][:javacord-core:test] },
[10:38:51][:javacord-core:test] "httpResponse" : {
[10:38:51][:javacord-core:test] "statusCode" : 404
[10:38:51][:javacord-core:test] }
[10:38:51][:javacord-core:test] }
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] 2021-10-11 10:38:51,761 <INFO> <nioEventLoopGroup-4-2> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request:
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] {
[10:38:51][:javacord-core:test] "method" : "GET",
[10:38:51][:javacord-core:test] "path" : "/",
[10:38:51][:javacord-core:test] "queryStringParameters" : {
[10:38:51][:javacord-core:test] "encoding" : [ "json" ],
[10:38:51][:javacord-core:test] "v" : [ "8" ]
[10:38:51][:javacord-core:test] },
[10:38:51][:javacord-core:test] "headers" : {
[10:38:51][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:51][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:51][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:51][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:51][:javacord-core:test] "Sec-WebSocket-Key" : [ "C0R8NLAYWNElc7bza7dUTA==" ],
[10:38:51][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:51][:javacord-core:test] "content-length" : [ "0" ]
[10:38:51][:javacord-core:test] },
[10:38:51][:javacord-core:test] "keepAlive" : true,
[10:38:51][:javacord-core:test] "secure" : true
[10:38:51][:javacord-core:test] }
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] matched expectation:
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] {
[10:38:51][:javacord-core:test] "httpRequest" : { },
[10:38:51][:javacord-core:test] "times" : {
[10:38:51][:javacord-core:test] "unlimited" : true
[10:38:51][:javacord-core:test] },
[10:38:51][:javacord-core:test] "timeToLive" : {
[10:38:51][:javacord-core:test] "unlimited" : true
[10:38:51][:javacord-core:test] },
[10:38:51][:javacord-core:test] "httpResponse" : {
[10:38:51][:javacord-core:test] "statusCode" : 404
[10:38:51][:javacord-core:test] }
[10:38:51][:javacord-core:test] }
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] 2021-10-11 10:38:51,784 <INFO> <pool-3-thread-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response:
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] {
[10:38:51][:javacord-core:test] "statusCode" : 404,
[10:38:51][:javacord-core:test] "headers" : {
[10:38:51][:javacord-core:test] "connection" : [ "keep-alive" ]
[10:38:51][:javacord-core:test] }
[10:38:51][:javacord-core:test] }
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] for request:
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] {
[10:38:51][:javacord-core:test] "method" : "GET",
[10:38:51][:javacord-core:test] "path" : "/",
[10:38:51][:javacord-core:test] "queryStringParameters" : {
[10:38:51][:javacord-core:test] "encoding" : [ "json" ],
[10:38:51][:javacord-core:test] "v" : [ "8" ]
[10:38:51][:javacord-core:test] },
[10:38:51][:javacord-core:test] "headers" : {
[10:38:51][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:51][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:51][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:51][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:51][:javacord-core:test] "Sec-WebSocket-Key" : [ "C0R8NLAYWNElc7bza7dUTA==" ],
[10:38:51][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:51][:javacord-core:test] "content-length" : [ "0" ]
[10:38:51][:javacord-core:test] },
[10:38:51][:javacord-core:test] "keepAlive" : true,
[10:38:51][:javacord-core:test] "secure" : true
[10:38:51][:javacord-core:test] }
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] for action:
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] {
[10:38:51][:javacord-core:test] "statusCode" : 404
[10:38:51][:javacord-core:test] }
[10:38:51][:javacord-core:test]
[10:38:51][:javacord-core:test] 2021-10-11 10:38:51,796 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket
[10:38:51][:javacord-core:test] com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found
[10:38:51][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?]
[10:38:51][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?]
[10:38:51][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?]
[10:38:51][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?]
[10:38:51][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?]
[10:38:51][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?]
[10:38:51][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?]
[10:38:51][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
[10:38:51][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls through authenticated HTTP proxy use the system default authenticator] [Test Output] 2021-10-11 10:38:51,060 <INFO> <nioEventLoopGroup-4-9> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs 2021-10-11 10:38:51,168 <INFO> <nioEventLoopGroup-4-10> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:51,761 <INFO> <nioEventLoopGroup-4-2> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "C0R8NLAYWNElc7bza7dUTA==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } matched expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:51,784 <INFO> <pool-3-thread-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response: { "statusCode" : 404, "headers" : { "connection" : [ "keep-alive" ] } } for request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "C0R8NLAYWNElc7bza7dUTA==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } for action: { "statusCode" : 404 } 2021-10-11 10:38:51,796 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:51][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:51][:javacord-core:test] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
[10:38:51][:javacord-core:test] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?]
[10:38:51][:javacord-core:test] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4]
[10:38:51][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4]
[10:38:51][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4]
[10:38:51][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4]
[10:38:51][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4]
[10:38:51][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_6(DiscordWebSocketAdapterTest.groovy:248) [test/:?]
[10:38:51][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:51][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:51][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:51][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:51][:javacord-core:test] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:51][:javacord-core:test] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:51][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:51][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:51][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:51][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:51][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:51][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:51][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:51][:javacord-core:test] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?]
[10:38:51][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
[10:38:51][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:51][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:51][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:51][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:51][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:51][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:51][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:51][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:51][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:51][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:52][:javacord-core:test] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?]
[10:38:52][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
[10:38:52][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:52][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:52][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:52][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:52][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:52][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:52][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:52][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:52][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:52][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:52][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:52][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:52][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:52][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:52][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?]
[10:38:52][:javacord-core:test] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:52][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:52][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:52][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:52][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?]
[10:38:52][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?]
[10:38:52][:javacord-core:test] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:52][:javacord-core:test] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:52][:javacord-core:test] 2021-10-11 10:38:52,081 <INFO> <nioEventLoopGroup-4-3> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match:
[10:38:52][:javacord-core:test]
[10:38:52][:javacord-core:test] {
[10:38:52][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls through authenticated HTTP proxy use the system default authenticator] [Test Output] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_6(DiscordWebSocketAdapterTest.groovy:248) [test/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1] at java.lang.Thread.run(Thread.java:844) [?:?] 2021-10-11 10:38:52,081 <INFO> <nioEventLoopGroup-4-3> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match: { "httpRequest" : { },
[10:38:52][:javacord-core:test] "httpRequest" : { },
[10:38:52][:javacord-core:test] "times" : {
[10:38:52][:javacord-core:test] "atLeast" : 1
[10:38:52][:javacord-core:test] }
[10:38:52][:javacord-core:test] }
[10:38:52][:javacord-core:test]
[10:38:52][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls through authenticated HTTP proxy use the system default authenticator] [Test Output] "times" : { "atLeast" : 1 } }
[10:38:52][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls through authenticated HTTP proxy use an explicit authenticator (1s)
[10:38:52][:javacord-core:test]
[10:38:52][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls through authenticated HTTP proxy use an explicit authenticator STANDARD_OUT
[10:38:52][:javacord-core:test] 2021-10-11 10:38:52,203 <INFO> <nioEventLoopGroup-4-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs
[10:38:52][:javacord-core:test] 2021-10-11 10:38:52,374 <INFO> <nioEventLoopGroup-4-5> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation:
[10:38:52][:javacord-core:test]
[10:38:52][:javacord-core:test] {
[10:38:52][:javacord-core:test] "httpRequest" : { },
[10:38:52][:javacord-core:test] "times" : {
[10:38:52][:javacord-core:test] "unlimited" : true
[10:38:52][:javacord-core:test] },
[10:38:52][:javacord-core:test] "timeToLive" : {
[10:38:52][:javacord-core:test] "unlimited" : true
[10:38:52][:javacord-core:test] },
[10:38:52][:javacord-core:test] "httpResponse" : {
[10:38:52][:javacord-core:test] "statusCode" : 404
[10:38:52][:javacord-core:test] }
[10:38:52][:javacord-core:test] }
[10:38:52][:javacord-core:test]
[10:38:53][:javacord-core:test] 2021-10-11 10:38:53,023 <INFO> <nioEventLoopGroup-4-7> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request:
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] {
[10:38:53][:javacord-core:test] "method" : "GET",
[10:38:53][:javacord-core:test] "path" : "/",
[10:38:53][:javacord-core:test] "queryStringParameters" : {
[10:38:53][:javacord-core:test] "encoding" : [ "json" ],
[10:38:53][:javacord-core:test] "v" : [ "8" ]
[10:38:53][:javacord-core:test] },
[10:38:53][:javacord-core:test] "headers" : {
[10:38:53][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:53][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:53][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:53][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:53][:javacord-core:test] "Sec-WebSocket-Key" : [ "Lsgxp+YdNMhKWNZ/njZibw==" ],
[10:38:53][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:53][:javacord-core:test] "content-length" : [ "0" ]
[10:38:53][:javacord-core:test] },
[10:38:53][:javacord-core:test] "keepAlive" : true,
[10:38:53][:javacord-core:test] "secure" : true
[10:38:53][:javacord-core:test] }
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] matched expectation:
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] {
[10:38:53][:javacord-core:test] "httpRequest" : { },
[10:38:53][:javacord-core:test] "times" : {
[10:38:53][:javacord-core:test] "unlimited" : true
[10:38:53][:javacord-core:test] },
[10:38:53][:javacord-core:test] "timeToLive" : {
[10:38:53][:javacord-core:test] "unlimited" : true
[10:38:53][:javacord-core:test] },
[10:38:53][:javacord-core:test] "httpResponse" : {
[10:38:53][:javacord-core:test] "statusCode" : 404
[10:38:53][:javacord-core:test] }
[10:38:53][:javacord-core:test] }
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] 2021-10-11 10:38:53,049 <INFO> <pool-3-thread-2> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response:
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] {
[10:38:53][:javacord-core:test] "statusCode" : 404,
[10:38:53][:javacord-core:test] "headers" : {
[10:38:53][:javacord-core:test] "connection" : [ "keep-alive" ]
[10:38:53][:javacord-core:test] }
[10:38:53][:javacord-core:test] }
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] for request:
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] {
[10:38:53][:javacord-core:test] "method" : "GET",
[10:38:53][:javacord-core:test] "path" : "/",
[10:38:53][:javacord-core:test] "queryStringParameters" : {
[10:38:53][:javacord-core:test] "encoding" : [ "json" ],
[10:38:53][:javacord-core:test] "v" : [ "8" ]
[10:38:53][:javacord-core:test] },
[10:38:53][:javacord-core:test] "headers" : {
[10:38:53][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:53][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:53][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:53][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:53][:javacord-core:test] "Sec-WebSocket-Key" : [ "Lsgxp+YdNMhKWNZ/njZibw==" ],
[10:38:53][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:53][:javacord-core:test] "content-length" : [ "0" ]
[10:38:53][:javacord-core:test] },
[10:38:53][:javacord-core:test] "keepAlive" : true,
[10:38:53][:javacord-core:test] "secure" : true
[10:38:53][:javacord-core:test] }
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] for action:
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] {
[10:38:53][:javacord-core:test] "statusCode" : 404
[10:38:53][:javacord-core:test] }
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] 2021-10-11 10:38:53,067 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket
[10:38:53][:javacord-core:test] com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found
[10:38:53][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?]
[10:38:53][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?]
[10:38:53][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?]
[10:38:53][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?]
[10:38:53][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?]
[10:38:53][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?]
[10:38:53][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
[10:38:53][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls through authenticated HTTP proxy use an explicit authenticator] [Test Output] 2021-10-11 10:38:52,203 <INFO> <nioEventLoopGroup-4-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs 2021-10-11 10:38:52,374 <INFO> <nioEventLoopGroup-4-5> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:53,023 <INFO> <nioEventLoopGroup-4-7> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "Lsgxp+YdNMhKWNZ/njZibw==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } matched expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:53,049 <INFO> <pool-3-thread-2> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response: { "statusCode" : 404, "headers" : { "connection" : [ "keep-alive" ] } } for request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "Lsgxp+YdNMhKWNZ/njZibw==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } for action: { "statusCode" : 404 } 2021-10-11 10:38:53,067 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
[10:38:53][:javacord-core:test] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_7(DiscordWebSocketAdapterTest.groovy:294) [test/:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:53][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:53][:javacord-core:test] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:53][:javacord-core:test] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:53][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:53][:javacord-core:test] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:53][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:53][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:53][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?]
[10:38:53][:javacord-core:test] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:53][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:53][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?]
[10:38:53][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?]
[10:38:53][:javacord-core:test] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:53][:javacord-core:test] 2021-10-11 10:38:53,409 <INFO> <nioEventLoopGroup-4-8> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match:
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] {
[10:38:53][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls through authenticated HTTP proxy use an explicit authenticator] [Test Output] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_7(DiscordWebSocketAdapterTest.groovy:294) [test/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1] at java.lang.Thread.run(Thread.java:844) [?:?] 2021-10-11 10:38:53,409 <INFO> <nioEventLoopGroup-4-8> <[]> <{}> <org.mockserver.mock.HttpStateHandler> verifying requests that match: { "httpRequest" : { },
[10:38:53][:javacord-core:test] "httpRequest" : { },
[10:38:53][:javacord-core:test] "times" : {
[10:38:53][:javacord-core:test] "atLeast" : 1
[10:38:53][:javacord-core:test] }
[10:38:53][:javacord-core:test] }
[10:38:53][:javacord-core:test]
[10:38:53][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls through authenticated HTTP proxy use an explicit authenticator] [Test Output] "times" : { "atLeast" : 1 } }
[10:38:53][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured SOCKS4 proxy
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls are done via system properties configured SOCKS4 proxy STANDARD_OUT
[10:38:53][:javacord-core:test] 2021-10-11 10:38:53,471 <INFO> <nioEventLoopGroup-4-9> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs
[10:38:53][:javacord-core:test] 2021-10-11 10:38:53,591 <INFO> <nioEventLoopGroup-4-10> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation:
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] {
[10:38:53][:javacord-core:test] "httpRequest" : { },
[10:38:53][:javacord-core:test] "times" : {
[10:38:53][:javacord-core:test] "unlimited" : true
[10:38:53][:javacord-core:test] },
[10:38:53][:javacord-core:test] "timeToLive" : {
[10:38:53][:javacord-core:test] "unlimited" : true
[10:38:53][:javacord-core:test] },
[10:38:53][:javacord-core:test] "httpResponse" : {
[10:38:53][:javacord-core:test] "statusCode" : 404
[10:38:53][:javacord-core:test] }
[10:38:53][:javacord-core:test] }
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] 2021-10-11 10:38:53,648 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket
[10:38:53][:javacord-core:test] com.neovisionaries.ws.client.WebSocketException: Proxies of type 'SOCKS' are not supported currently
[10:38:53][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:439) [main/:?]
[10:38:53][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
[10:38:53][:javacord-core:test] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_8(DiscordWebSocketAdapterTest.groovy:334) [test/:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:53][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:53][:javacord-core:test] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.builtin.PendingFeatureInterceptor.intercept(PendingFeatureInterceptor.java:17) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:53][:javacord-core:test] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:53][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:53][:javacord-core:test] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:53][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:53][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:53][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:53][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:53][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured SOCKS4 proxy] [Test Output] 2021-10-11 10:38:53,471 <INFO> <nioEventLoopGroup-4-9> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs 2021-10-11 10:38:53,591 <INFO> <nioEventLoopGroup-4-10> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:53,648 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket com.neovisionaries.ws.client.WebSocketException: Proxies of type 'SOCKS' are not supported currently at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:439) [main/:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_8(DiscordWebSocketAdapterTest.groovy:334) [test/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.builtin.PendingFeatureInterceptor.intercept(PendingFeatureInterceptor.java:17) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?]
[10:38:53][:javacord-core:test] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:53][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:53][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:53][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?]
[10:38:53][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?]
[10:38:53][:javacord-core:test] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:53][:javacord-core:test] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:53][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured SOCKS4 proxy] [Test Output] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:53][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured SOCKS4 proxy] Test ignored: org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured SOCKS4 proxy
[10:38:53][:javacord-core:test]
[10:38:53][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls are done via system properties configured SOCKS4 proxy SKIPPED
[10:38:53][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured SOCKS5 proxy
[10:38:54][:javacord-core:test]
[10:38:54][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls are done via system properties configured SOCKS5 proxy STANDARD_OUT
[10:38:54][:javacord-core:test] 2021-10-11 10:38:53,925 <INFO> <nioEventLoopGroup-4-1> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs
[10:38:54][:javacord-core:test] 2021-10-11 10:38:54,046 <INFO> <nioEventLoopGroup-4-2> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation:
[10:38:54][:javacord-core:test]
[10:38:54][:javacord-core:test] {
[10:38:54][:javacord-core:test] "httpRequest" : { },
[10:38:54][:javacord-core:test] "times" : {
[10:38:54][:javacord-core:test] "unlimited" : true
[10:38:54][:javacord-core:test] },
[10:38:54][:javacord-core:test] "timeToLive" : {
[10:38:54][:javacord-core:test] "unlimited" : true
[10:38:54][:javacord-core:test] },
[10:38:54][:javacord-core:test] "httpResponse" : {
[10:38:54][:javacord-core:test] "statusCode" : 404
[10:38:54][:javacord-core:test] }
[10:38:54][:javacord-core:test] }
[10:38:54][:javacord-core:test]
[10:38:54][:javacord-core:test] 2021-10-11 10:38:54,082 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket
[10:38:54][:javacord-core:test] com.neovisionaries.ws.client.WebSocketException: Proxies of type 'SOCKS' are not supported currently
[10:38:54][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:439) [main/:?]
[10:38:54][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
[10:38:54][:javacord-core:test] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_9(DiscordWebSocketAdapterTest.groovy:375) [test/:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:54][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:54][:javacord-core:test] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.builtin.PendingFeatureInterceptor.intercept(PendingFeatureInterceptor.java:17) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:54][:javacord-core:test] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:54][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:54][:javacord-core:test] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:54][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:54][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:54][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured SOCKS5 proxy] [Test Output] 2021-10-11 10:38:53,925 <INFO> <nioEventLoopGroup-4-1> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs 2021-10-11 10:38:54,046 <INFO> <nioEventLoopGroup-4-2> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:54,082 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket com.neovisionaries.ws.client.WebSocketException: Proxies of type 'SOCKS' are not supported currently at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:439) [main/:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_9(DiscordWebSocketAdapterTest.groovy:375) [test/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.builtin.PendingFeatureInterceptor.intercept(PendingFeatureInterceptor.java:17) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?]
[10:38:54][:javacord-core:test] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:54][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:54][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?]
[10:38:54][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?]
[10:38:54][:javacord-core:test] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:54][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured SOCKS5 proxy] [Test Output] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:54][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured SOCKS5 proxy] Test ignored: org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls are done via system properties configured SOCKS5 proxy
[10:38:54][:javacord-core:test]
[10:38:54][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls are done via system properties configured SOCKS5 proxy SKIPPED
[10:38:54][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls through authenticated SOCKS5 proxy use the system default authenticator
[10:38:54][:javacord-core:test]
[10:38:54][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls through authenticated SOCKS5 proxy use the system default authenticator STANDARD_OUT
[10:38:54][:javacord-core:test] 2021-10-11 10:38:54,270 <INFO> <nioEventLoopGroup-4-3> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs
[10:38:54][:javacord-core:test] 2021-10-11 10:38:54,344 <INFO> <nioEventLoopGroup-4-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation:
[10:38:54][:javacord-core:test]
[10:38:54][:javacord-core:test] {
[10:38:54][:javacord-core:test] "httpRequest" : { },
[10:38:54][:javacord-core:test] "times" : {
[10:38:54][:javacord-core:test] "unlimited" : true
[10:38:54][:javacord-core:test] },
[10:38:54][:javacord-core:test] "timeToLive" : {
[10:38:54][:javacord-core:test] "unlimited" : true
[10:38:54][:javacord-core:test] },
[10:38:54][:javacord-core:test] "httpResponse" : {
[10:38:54][:javacord-core:test] "statusCode" : 404
[10:38:54][:javacord-core:test] }
[10:38:54][:javacord-core:test] }
[10:38:54][:javacord-core:test]
[10:38:54][:javacord-core:test] 2021-10-11 10:38:54,380 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket
[10:38:54][:javacord-core:test] com.neovisionaries.ws.client.WebSocketException: Proxies of type 'SOCKS' are not supported currently
[10:38:54][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:439) [main/:?]
[10:38:54][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
[10:38:54][:javacord-core:test] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_10(DiscordWebSocketAdapterTest.groovy:428) [test/:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:54][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:54][:javacord-core:test] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.builtin.PendingFeatureInterceptor.intercept(PendingFeatureInterceptor.java:17) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:54][:javacord-core:test] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:54][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:54][:javacord-core:test] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:54][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4]
[10:38:54][:javacord-core:test] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:54][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:54][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:54][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls through authenticated SOCKS5 proxy use the system default authenticator] [Test Output] 2021-10-11 10:38:54,270 <INFO> <nioEventLoopGroup-4-3> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs 2021-10-11 10:38:54,344 <INFO> <nioEventLoopGroup-4-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:54,380 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket com.neovisionaries.ws.client.WebSocketException: Proxies of type 'SOCKS' are not supported currently at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:439) [main/:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_10(DiscordWebSocketAdapterTest.groovy:428) [test/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.builtin.PendingFeatureInterceptor.intercept(PendingFeatureInterceptor.java:17) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?] at org.javacord.test.TestAppenderClearer$_visitSpec_closure1.doCall(TestAppenderClearer.groovy:13) [test/:?] at jdk.internal.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:104) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:326) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:264) [groovy-2.5.4.jar:2.5.4] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041) [groovy-2.5.4.jar:2.5.4] at groovy.lang.Closure.call(Closure.java:411) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50) [groovy-2.5.4.jar:2.5.4] at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122) [groovy-2.5.4.jar:2.5.4] at com.sun.proxy.$Proxy17.intercept(Unknown Source) [?:?] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runIteration(BaseSpecRunner.java:285) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.initializeAndRunIteration(BaseSpecRunner.java:275) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSimpleFeature(BaseSpecRunner.java:266) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunFeature(BaseSpecRunner.java:260) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$5.invoke(BaseSpecRunner.java:243) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.builtin.RestoreSystemPropertiesInterceptor.intercept(RestoreSystemPropertiesInterceptor.java:34) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:97) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:475) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeature(BaseSpecRunner.java:235) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runFeatures(BaseSpecRunner.java:185) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.doRunSpec(BaseSpecRunner.java:95) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner$1.invoke(BaseSpecRunner.java:81) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.runSpec(BaseSpecRunner.java:73) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.BaseSpecRunner.run(BaseSpecRunner.java:64) [spock-core-1.2-groovy-2.5.jar:1.2] at org.spockframework.runtime.Sputnik.run(Sputnik.java:63) [spock-core-1.2-groovy-2.5.jar:1.2] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass(JUnitTestClassExecutor.java:106) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:58) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute(JUnitTestClassExecutor.java:38) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:66) [gradle-testing-jvm-4.8.1.jar:4.8.1] at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:51) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?]
[10:38:54][:javacord-core:test] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:54][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:54][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:54][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?]
[10:38:54][:javacord-core:test] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?]
[10:38:54][:javacord-core:test] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1]
[10:38:54][:javacord-core:test] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:54][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls through authenticated SOCKS5 proxy use the system default authenticator] [Test Output] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) [gradle-messaging-4.8.1.jar:4.8.1] at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) [?:?] at org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:109) [gradle-testing-base-4.8.1.jar:4.8.1] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404) [gradle-messaging-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63) [gradle-base-services-4.8.1.jar:4.8.1] at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46) [gradle-base-services-4.8.1.jar:4.8.1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) [?:?] at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55) [gradle-base-services-4.8.1.jar:4.8.1] at java.lang.Thread.run(Thread.java:844) [?:?]
[10:38:54][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls through authenticated SOCKS5 proxy use the system default authenticator] Test ignored: org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.WebSocket calls through authenticated SOCKS5 proxy use the system default authenticator
[10:38:54][:javacord-core:test]
[10:38:54][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > WebSocket calls through authenticated SOCKS5 proxy use the system default authenticator SKIPPED
[10:38:54][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.Explicitly configured proxy for WebSocket calls takes precedence (1s)
[10:38:54][:javacord-core:test]
[10:38:54][:javacord-core:test] org.javacord.core.util.gateway.DiscordWebSocketAdapterTest > Explicitly configured proxy for WebSocket calls takes precedence STANDARD_OUT
[10:38:54][:javacord-core:test] 2021-10-11 10:38:54,606 <INFO> <nioEventLoopGroup-4-5> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs
[10:38:54][:javacord-core:test] 2021-10-11 10:38:54,758 <INFO> <nioEventLoopGroup-4-6> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation:
[10:38:54][:javacord-core:test]
[10:38:54][:javacord-core:test] {
[10:38:54][:javacord-core:test] "httpRequest" : { },
[10:38:54][:javacord-core:test] "times" : {
[10:38:54][:javacord-core:test] "unlimited" : true
[10:38:54][:javacord-core:test] },
[10:38:54][:javacord-core:test] "timeToLive" : {
[10:38:54][:javacord-core:test] "unlimited" : true
[10:38:54][:javacord-core:test] },
[10:38:54][:javacord-core:test] "httpResponse" : {
[10:38:54][:javacord-core:test] "statusCode" : 404
[10:38:54][:javacord-core:test] }
[10:38:54][:javacord-core:test] }
[10:38:54][:javacord-core:test]
[10:38:55][:javacord-core:test] 2021-10-11 10:38:55,565 <INFO> <nioEventLoopGroup-4-8> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request:
[10:38:55][:javacord-core:test]
[10:38:55][:javacord-core:test] {
[10:38:55][:javacord-core:test] "method" : "GET",
[10:38:55][:javacord-core:test] "path" : "/",
[10:38:55][:javacord-core:test] "queryStringParameters" : {
[10:38:55][:javacord-core:test] "encoding" : [ "json" ],
[10:38:55][:javacord-core:test] "v" : [ "8" ]
[10:38:55][:javacord-core:test] },
[10:38:55][:javacord-core:test] "headers" : {
[10:38:55][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:55][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:55][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:55][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:55][:javacord-core:test] "Sec-WebSocket-Key" : [ "hueVBXlIxYHFrv3iSWh7+A==" ],
[10:38:55][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:55][:javacord-core:test] "content-length" : [ "0" ]
[10:38:55][:javacord-core:test] },
[10:38:55][:javacord-core:test] "keepAlive" : true,
[10:38:55][:javacord-core:test] "secure" : true
[10:38:55][:javacord-core:test] }
[10:38:55][:javacord-core:test]
[10:38:55][:javacord-core:test] matched expectation:
[10:38:55][:javacord-core:test]
[10:38:55][:javacord-core:test] {
[10:38:55][:javacord-core:test] "httpRequest" : { },
[10:38:55][:javacord-core:test] "times" : {
[10:38:55][:javacord-core:test] "unlimited" : true
[10:38:55][:javacord-core:test] },
[10:38:55][:javacord-core:test] "timeToLive" : {
[10:38:55][:javacord-core:test] "unlimited" : true
[10:38:55][:javacord-core:test] },
[10:38:55][:javacord-core:test] "httpResponse" : {
[10:38:55][:javacord-core:test] "statusCode" : 404
[10:38:55][:javacord-core:test] }
[10:38:55][:javacord-core:test] }
[10:38:55][:javacord-core:test]
[10:38:55][:javacord-core:test] 2021-10-11 10:38:55,569 <INFO> <pool-3-thread-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response:
[10:38:55][:javacord-core:test]
[10:38:55][:javacord-core:test] {
[10:38:55][:javacord-core:test] "statusCode" : 404,
[10:38:55][:javacord-core:test] "headers" : {
[10:38:55][:javacord-core:test] "connection" : [ "keep-alive" ]
[10:38:55][:javacord-core:test] }
[10:38:55][:javacord-core:test] }
[10:38:55][:javacord-core:test]
[10:38:55][:javacord-core:test] for request:
[10:38:55][:javacord-core:test]
[10:38:55][:javacord-core:test] {
[10:38:55][:javacord-core:test] "method" : "GET",
[10:38:55][:javacord-core:test] "path" : "/",
[10:38:55][:javacord-core:test] "queryStringParameters" : {
[10:38:55][:javacord-core:test] "encoding" : [ "json" ],
[10:38:55][:javacord-core:test] "v" : [ "8" ]
[10:38:55][:javacord-core:test] },
[10:38:55][:javacord-core:test] "headers" : {
[10:38:55][:javacord-core:test] "Host" : [ "gateway-url" ],
[10:38:55][:javacord-core:test] "Connection" : [ "Upgrade" ],
[10:38:55][:javacord-core:test] "Upgrade" : [ "websocket" ],
[10:38:55][:javacord-core:test] "Sec-WebSocket-Version" : [ "13" ],
[10:38:55][:javacord-core:test] "Sec-WebSocket-Key" : [ "hueVBXlIxYHFrv3iSWh7+A==" ],
[10:38:55][:javacord-core:test] "Accept-Encoding" : [ "gzip" ],
[10:38:55][:javacord-core:test] "content-length" : [ "0" ]
[10:38:55][:javacord-core:test] },
[10:38:55][:javacord-core:test] "keepAlive" : true,
[10:38:55][:javacord-core:test] "secure" : true
[10:38:55][:javacord-core:test] }
[10:38:55][:javacord-core:test]
[10:38:55][:javacord-core:test] for action:
[10:38:55][:javacord-core:test]
[10:38:55][:javacord-core:test] {
[10:38:55][:javacord-core:test] "statusCode" : 404
[10:38:55][:javacord-core:test] }
[10:38:55][:javacord-core:test]
[10:38:55][:javacord-core:test] 2021-10-11 10:38:55,578 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket
[10:38:55][:javacord-core:test] com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found
[10:38:55][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?]
[10:38:55][:javacord-core:test] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?]
[10:38:55][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?]
[10:38:55][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?]
[10:38:55][:javacord-core:test] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?]
[10:38:55][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?]
[10:38:55][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?]
[10:38:55][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?]
[10:38:55][org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.Explicitly configured proxy for WebSocket calls takes precedence] [Test Output] 2021-10-11 10:38:54,606 <INFO> <nioEventLoopGroup-4-5> <[]> <{}> <org.mockserver.mock.HttpStateHandler> resetting all expectations and request logs 2021-10-11 10:38:54,758 <INFO> <nioEventLoopGroup-4-6> <[]> <{}> <org.mockserver.mock.HttpStateHandler> creating expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:55,565 <INFO> <nioEventLoopGroup-4-8> <[]> <{}> <org.mockserver.mock.HttpStateHandler> request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "hueVBXlIxYHFrv3iSWh7+A==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } matched expectation: { "httpRequest" : { }, "times" : { "unlimited" : true }, "timeToLive" : { "unlimited" : true }, "httpResponse" : { "statusCode" : 404 } } 2021-10-11 10:38:55,569 <INFO> <pool-3-thread-4> <[]> <{}> <org.mockserver.mock.HttpStateHandler> returning response: { "statusCode" : 404, "headers" : { "connection" : [ "keep-alive" ] } } for request: { "method" : "GET", "path" : "/", "queryStringParameters" : { "encoding" : [ "json" ], "v" : [ "8" ] }, "headers" : { "Host" : [ "gateway-url" ], "Connection" : [ "Upgrade" ], "Upgrade" : [ "websocket" ], "Sec-WebSocket-Version" : [ "13" ], "Sec-WebSocket-Key" : [ "hueVBXlIxYHFrv3iSWh7+A==" ], "Accept-Encoding" : [ "gzip" ], "content-length" : [ "0" ] }, "keepAlive" : true, "secure" : true } for action: { "statusCode" : 404 } 2021-10-11 10:38:55,578 <WARN> <Test worker> <[]> <{}> <org.javacord.core.util.gateway.DiscordWebSocketAdapter> An error occurred while connecting to websocket com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 Not Found at com.neovisionaries.ws.client.HandshakeReader.validateStatusLine(HandshakeReader.java:232) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:54) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3399) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3278) ~[nv-websocket-client-2.6.jar:?] at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2310) ~[nv-websocket-client-2.6.jar:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.connect(DiscordWebSocketAdapter.java:453) [main/:?] at org.javacord.core.util.gateway.DiscordWebSocketAdapter.<init>(DiscordWebSocketAdapter.java:186) [main/:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:55][:javacord-core:test] at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:?]
[10:38:55][:javacord-core:test] at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
[10:38:55][:javacord-core:test] at java.lang.reflect.Constructor.newInstance(Constructor.java:488) ~[?:?]
[10:38:55][:javacord-core:test] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [groovy-2.5.4.jar:2.5.4]
[10:38:55][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [groovy-2.5.4.jar:2.5.4]
[10:38:55][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59) [groovy-2.5.4.jar:2.5.4]
[10:38:55][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:237) [groovy-2.5.4.jar:2.5.4]
[10:38:55][:javacord-core:test] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:257) [groovy-2.5.4.jar:2.5.4]
[10:38:55][:javacord-core:test] at org.javacord.core.util.gateway.DiscordWebSocketAdapterTest.$spock_feature_0_11(DiscordWebSocketAdapterTest.groovy:481) [test/:?]
[10:38:55][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
[10:38:55][:javacord-core:test] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
[10:38:55][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:55][:javacord-core:test] at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
[10:38:55][:javacord-core:test] at org.spockframework.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:200) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:55][:javacord-core:test] at org.spockframework.runtime.model.MethodInfo.invoke(MethodInfo.java:113) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:55][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invokeRaw(BaseSpecRunner.java:484) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:55][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.invoke(BaseSpecRunner.java:467) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:55][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.runFeatureMethod(BaseSpecRunner.java:408) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:55][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner.doRunIteration(BaseSpecRunner.java:322) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:55][:javacord-core:test] at org.spockframework.runtime.BaseSpecRunner$6.invoke(BaseSpecRunner.java:306) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:55][:javacord-core:test] at org.spockframework.runtime.extension.MethodInvocation.proceed(MethodInvocation.java:98) [spock-core-1.2-groovy-2.5.jar:1.2]
[10:38:55][:javacord-core:test] at org.spockframework.runtime.extension.IMethodInvocation$proceed.call(Unknown Source) [spock-core-1.2-groovy-2.5.jar:?]
[10:38:55][:javacord-core:test] at org.javacord.test.MockProxyManager$_visitSpec_closure1.doCall(MockProxyManager.groovy:107) [test/:?]
[10:38:55][:javacord-core:test] at jdk.internal.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) ~[?:?]
[10:38:55][:javacord-core:test] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
[10:38:55]