Getting lots of System.ArgumentOutOfRangeException
at any coords Exception thrown: 'System.ArgumentOutOfRangeException' in mscorlib.dll Exception thrown: 'System.ArgumentOutOfRangeException' in mscorlib.dll Exception thrown: 'System.ArgumentOutOfRangeException' in Google.Protobuf.dll Exception thrown: 'System.ArgumentOutOfRangeException' in mscorlib.dll Exception thrown: 'System.ArgumentOutOfRangeException' in mscorlib.dll Exception thrown: 'System.ArgumentOutOfRangeException' in mscorlib.dll Exception thrown: 'System.ArgumentOutOfRangeException' in Google.Protobuf.dll Exception thrown: 'System.ArgumentOutOfRangeException' in mscorlib.dll Exception thrown: 'System.ArgumentOutOfRangeException' in mscorlib.dll Exception thrown: 'System.ArgumentOutOfRangeException' in mscorlib.dll
latest version possible, pulled right out of here seconds ago
Stacktrace attached in file stacktrace.txt
Same. Getting it in both the latest version and the versions that log in with email and pass.

@CryptoBackroom I'm getting the same error as you.
Best thing would be if you attach Visual Studio's debugger and see where the error happens so it's easier to reproduce/investigate this issue. ArgumentOutOfRangeExceptions are very generic and I'm not sure this ticket alone is too helpful.
me too. how to fix ? thanks
You can fix it by doing what I've just described. This software isn't ready yet for people to be used/consumed without investing some brain cells of their own since it's still WIP.
Looks like they may have made some server changes - Still investigating.
I have attached stacktrace in my first post
@cH40z-Lord please document your fix then. The rest of us have "some brain cells" and are working it, but alas it appears we aren't as smart as you.
I'll add on that I'm getting the same over here with the latest build and a few older ones (including v1). Error just started popping up about 30 minutes ago. All of my builds worked flawlessly prior to whatever happened 30 minutes or so ago.
Any call to rpc endpoint returns {unknown1: 52}. It can't be anything that client needs since they would have to update the mobile client and my mobile client didn't get an update. It might be they are looking at user-agent in the header. It's definitely something the client is doing that the RocketApi doesn't do with it's requests.
As for ch40z-Lord - attaching debugger is for newbs bro. Just go into Debug->Windows->Exception Settings and click the checkbox for the exception you want. Then you will break right at the point of the exception and not at any handlers for that exception.
@mfron
Is that tested and working? If so, do you think you could add a pull request?
Edit* The code he is referring to can be found in \PokemonGo\RocketAPI\Extensions
just inserted the code @mfron provided, worked fine for 3 minutes, after that same exception popped, gonna monitor it for some time
upd_01
2nd session lasted for 5 minutes before exception, successfully reconnected though
upd_02
new stacktrace after fix from @mfron
popped at var payload = response.Payload[0];
stacktrace.txt
@mfron thank you for the help. Works for a little bit then i get
Exception thrown: 'System.ArgumentOutOfRangeException' in Google.Protobuf.dll
Maybe file needs updating?
that's a little strange code at exception handling block, putting it to test
Just want to point out that the Boolean waitingForResponse is not declared anywhere. Far as I can tell at least.
it is declared in the 2nd code example private static bool waitingForResponse = false;
@mfron thanks
@mfron where does your code go?
Works for me, at least more than 2 minutes.
@mfron it's working stable for the last 5 minutes, i commented two lines with console output (too much spam) and added exceptiong reporting in catch block, these changes do not affect any logic so conclusion is "working fine", keeping monitoring tho