Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception - CommunicationException: Client is not connected #255

Open
matteuccimarco opened this issue Apr 26, 2021 · 1 comment

Comments

@matteuccimarco
Copy link

Hello,

yesterday i installed the MTApi in three VPS and i run a little software that implement your MTApi.
It just connects itself to a MT4 terminal and check the Balance and the account number, all the day.

I log the activities of MTApi message using your PrintLog routine with an additional writefile to check what happened in the past hours.

About at the same moment, in all three VPSs, i got a .NET Unhandled exception and i think it could be in a referenced dll because uses a paste of your routines inside the examples to get the messages from MT4 Terminal.

Analysing the log, i saw that during the day i get some ConnectionException with message "Client is not connected" and this exceptions are correctly managed by your API and i write them into my log file.

BUT, this time it seems that the same error "Client is not connected" raise an unhandled exception but i don't know how to proceed and i would like to ask you if you can give any suggestions or, better, an help.

Here the text message of the .NET Exception and the screenshot of the messagebox i got.

Thank you very much!
unhandled exception client is not connected
log.txt

@TheSnowGuru
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants