Searching for replays

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Searching for replays

Postby TerraPrime » 29 Apr 2019, 22:02

Hey guys when I search for replays (which worked the first time I did it) I come up with error code help would be greatly appreciated

Its a bad command java exception it won't let me post the code
TerraPrime
 
Posts: 3
Joined: 29 Apr 2019, 16:12
Has liked: 0 time
Been liked: 0 time
FAF User Name: TerraPrime

Re: Searching for replays

Postby TerraPrime » 29 Apr 2019, 22:03

java.util.concurrent.CompletionException: org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request
at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.lambda$doSubmit$3(AsyncExecutionAspectSupport.java:279)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request
at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:79)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:97)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:79)
at com.faforever.client.api.JsonApiErrorHandler.handleError(JsonApiErrorHandler.java:31)
at org.springframework.security.oauth2.client.http.OAuth2ErrorHandler.handleError(OAuth2ErrorHandler.java:172)
at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:777)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
at org.springframework.security.oauth2.client.OAuth2RestTemplate.doExecute(OAuth2RestTemplate.java:128)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:669)
at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:310)
at com.faforever.client.api.FafApiAccessorImpl.getPage(FafApiAccessorImpl.java:612)
at com.faforever.client.api.FafApiAccessorImpl.getPage(FafApiAccessorImpl.java:599)
at com.faforever.client.api.FafApiAccessorImpl.findReplaysByQuery(FafApiAccessorImpl.java:328)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:206)
at com.sun.proxy.$Proxy66.findReplaysByQuery(Unknown Source)
at com.faforever.client.remote.FafService.findReplaysByQuery(FafService.java:287)
at com.faforever.client.remote.FafService$$FastClassBySpringCGLIB$$6c91c77e.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at org.springframework.aop.interceptor.AsyncExecutionAspectSupport.lambda$doSubmit$3(AsyncExecutionAspectSupport.java:276)
... 4 more
TerraPrime
 
Posts: 3
Joined: 29 Apr 2019, 16:12
Has liked: 0 time
Been liked: 0 time
FAF User Name: TerraPrime

Re: Searching for replays

Postby TerraPrime » 13 May 2019, 01:20

Recently tried searching on the legacy client of found that works fine
TerraPrime
 
Posts: 3
Joined: 29 Apr 2019, 16:12
Has liked: 0 time
Been liked: 0 time
FAF User Name: TerraPrime

Re: Searching for replays

Postby R_Charger » 13 May 2019, 11:28

Did you check out this topic?
/viewtopic.php?f=2&t=17476
R_Charger
Avatar-of-War
 
Posts: 141
Joined: 30 Jul 2016, 16:27
Has liked: 9 times
Been liked: 14 times
FAF User Name: Reckless_Charger

Re: Searching for replays

Postby ZLO_RD » 13 May 2019, 15:08

maybe client should return a sensible error, like "this field is for replay ID, not for player name, you dumb ass"
http://www.youtube.com/user/dimatularus
http://www.twitch.tv/zlo_rd
TA4Life: "At the very least we are not slaves to the UI"
User avatar
ZLO_RD
Supreme Commander
 
Posts: 2265
Joined: 27 Oct 2011, 13:57
Location: Russia, Tula
Has liked: 303 times
Been liked: 400 times
FAF User Name: ZLO


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest