When trying to register or update (any android/ios/wp/windows) registrations, we are most of a time getting error
502 - Web server received an invalid response while acting as a gateway or proxy server.
case ClientType.android: { registration = await client.CreateGcmNativeRegistrationAsync(channel, cctags); break; } case ClientType.android: { var reg = registrationDescription as GcmRegistrationDescription; reg.GcmRegistrationId = channel; registration = await client.UpdateRegistrationAsync(reg); break; }
That happens on Azure server 90% of time. On localhost everything works perfectly.