stirante / lol-client-java-api

Simple library which provides access to internal League of Legends Client API.
GNU General Public License v3.0
67 stars 14 forks source link

Getting a 403 when trying to perform a GET #1

Closed BrianBalote closed 6 years ago

BrianBalote commented 6 years ago

Please see log below:

PS E:\lol-client-java-api-master\target> java -jar .\lol-client-java-api-1.0.1.jar -p rso-auth/v1/authorization -m GET

C:/GArena/32774/LeagueClient/LeagueClientUx.exe "--locale=en_PH" "--servers.chat.chat_host=chatph.lol.garenanow.com" "--servers.lcds.lcds_host=prodph.lol.garenanow.com" "--servers.lcds.login_queue_url=https://lqph.lol.garenanow.com/login-queue/rest/queues/lol" "--region=PH" "--parent-client=GarenaPC" "--no-rads" "--remoting-auth-token=wGLBYfyfWvyTRXIhUOwfuQ" "--app-port=49315" "--install-directory=C:\GArena\32774\LeagueClient" "--app-name=LeagueClient" "--ux-name=LeagueClientUx" "--ux-helper-name=LeagueClientUxHelper" "--log-dir=LeagueClient Logs" "--bugsplat-name=league_client_riotgames_com" "--bugsplat-platform-id=PH_GarenaPC" "--app-log-file-path=C:/GArena/32774/Game/Logs/LeagueClient Logs/2018-03-31T14-12-35_44204_LeagueClient.log" "--app-pid=44204" "--no-proxy-server"

Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://localhost:49315/rso-auth/v1/authorization at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source) at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source) at com.stirante.lolclient.ClientApi.executeGet(ClientApi.java:205) ... 1 more

Thanks.

stirante commented 6 years ago

Sorry for the delay. Should be working now.