![]() |
|
[C#] PLEASE help me fix this exception error - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C#] PLEASE help me fix this exception error (/showthread.php?tid=6096700) |
PLEASE help me fix this exception error - Nyx - Jul 21, 2020 I am struggling to make this C# program to check for name availability and to claim it in case it is. This is the function it checks if a given name is available: Code public static Tuple<NameStatus> GetSummonerNameChangeAvailable(HttpRequest Client, TurboRequest account)I'm having trouble with the line: Code string Response = Client.Get("https://store." + account.ModifiedRegion + ".lol.riotgames.com/storefront/v3/summonerNameChange/verify/" + account.RequestedAlias, null).ToString();The exception it throws is: Code Exception thrown: 'Leaf.xNet.HttpException' in Leaf.xNet.dllRE: PLEASE help me fix this exception _error_ - gigajew - Jul 21, 2020 It failed to connect to remote destination. Double check your url. RE: PLEASE help me fix this exception _error_ - iolaka - Jul 22, 2020 Looks like the host is blocking your connection, use proxies. RE: PLEASE help me fix this exception _error_ - Nyx - Jul 22, 2020 (Jul 22, 2020 02:35 AM)iolaka Wrote: Looks like the host is blocking your connection, use proxies. I've had multiple people try it. Both the Get and Post requests I have sent return the same exception RE: PLEASE help me fix this exception _error_ - iolaka - Jul 22, 2020 (Jul 22, 2020 02:41 AM)Nyx Wrote: I've had multiple people try it. Could be a security feature in which you are missing a certain header that is not being validated, thus rejecting the connection. Have you ensured that all headers are correct? Have you ever made a successful connection to that URL before? RE: PLEASE help me fix this exception _error_ - gigajew - Jul 22, 2020 The closest I've got it a GET request to this url, which still returns an error but it's not a "not found" error. Code https://store.euw1.lol.riotgames.com/storefront/v3/summonerNameChange/verify/somename |