Gateway errors when proxy forwarding to the Cloud