URGENT: Executed Orders not reflecting in Positions

Not just that, some executions were also getting missed. I had to resend and for a time it was not clear what was happening and whether duplicate order was getting created. 5+mins of hell. I only trade via api so this is more than just KITE. After first 5-6 mins, it seems to be ok for me.

I had 3 orders entry orders. 1 may have gone through initially but only executed after 90 seconds of delay. Rest 2 never happened and i had to send again after lots of delay.

Some errors -

2023-11-06 09:16:04,482 - ERROR - Network Error : KiteExceptions.NetworkException in api place_order. errorCode:504. errorMessage: Order request timed out. Please check the order book and confirm before placing again.

2023-11-06 09:16:07,859 - DEBUG - Response: 504 b’{“status”: “error”, “message”: “Gateway timed out”, “error_type”: “NetworkException”}’

2023-11-06 09:16:23,527 - DEBUG - Response: 504 b’{“status”:“error”,“message”:“Order request timed out. Please check the order book and confirm before placing again.”,“data”:null,“error_type”:“NetworkException”}’