Unauthorised often


I’m running script on demo server. I’ve problem that I tried to solve several times but no luck.

It’s keep error with Unauthorised when run for 3-6 hours. Even I revoke old token and use new token. It’s can run longer but finally Unauthorised.

Thank you,

Sorry I am not actually helping…
I just wanted to tell that I am facing the same problem and would also be interested in a fix :slight_smile:

Today , I’ve got this error every 2-3 hour. It’s occurred when open order.

raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: (‘Connection aborted.’, RemoteDisconnected(‘Remote end closed connection without response’))

It is happening right now with my demo account as well. This morning start at 10:02 (GMT+7). I revoke the token at 14:17 and it went "FXCM Server reports an error: Unauthorized. " at 14:21.

Does FXCM have limitation on connection for demo server? Is this going to happen also with real account? I have checked https://status.fxcm.com/#!/ and all show normal status.

I hope @QN_Liza or @QN_Grace can answer this. Thank you.