repeating login / ping failed errors in the Journal

 

I've been successfully backtesting an EA that I've written. Now when I try to forward test it on a demo account, I get the following errors (this is a subset of the messages in the Journal -- these messages repeat over and over, although the "connect failed [no connection]" error occured only once. The EA is not trading (obviously). Thanks for any assistance as to what is causing these messages.

...

2009.08.18 03:23:06 '2410807': login
2009.08.18 03:23:06 '2410807': ping failed
2009.08.18 03:20:45 '2410807': login
2009.08.18 03:00:19 '2410807': login
2009.08.18 02:39:53 '2410807': login
2009.08.18 02:08:33 '2410807': login
2009.08.18 02:08:33 '2410807': ping failed
2009.08.18 02:06:12 '2410807': login
2009.08.18 01:45:12 '2410807': login
2009.08.18 01:45:06 '2410807': connect failed [No connection]
2009.08.18 01:45:06 '2410807': ping failed
2009.08.18 01:27:11 '2410807': login
2009.08.18 01:24:39 '2410807': login
2009.08.18 01:24:39 '2410807': ping failed
2009.08.18 01:06:48 '2410807': login
2009.08.18 01:04:13 '2410807': login
2009.08.18 01:04:13 '2410807': ping failed
2009.08.18 00:39:15 '2410807': login
2009.08.18 00:07:08 Expert Myexpert1 EURUSD,M5: loaded successfully

 

Dodgy network.


CB

 
cloudbreaker wrote >>

Dodgy network.

CB

cloudbreaker, are you saying that this is merely a network issue and not a problem with my code, account, mt4 configuration, or broker? I don't seem to be having any network issues otherwise (speed, etc.).

Thanks,

B

 

Dealer may be flaky. Demo servers are low prority at some shops.

Try demo with other dealers.

 
phy wrote >>

Dealer may be flaky. Demo servers are low prority at some shops.

Try demo with other dealers.

Thanks phy, and cloudbreaker. I am using IBFX, their "Demo 1 - 5 digit" server. Would you expect this kind of problem out of them? I guess I am trying to determine with what level of certainty you think this problem is not with my EA. (A much earlier version of it forward tested without these problems, by the way, and like I said, it trades fine in backtesting.)

Thanks again,

B

 
fxstr58:

cloudbreaker, are you saying that this is merely a network issue and not a problem with my code, account, mt4 configuration, or broker? I don't seem to be having any network issues otherwise (speed, etc.).

Thanks,

B

It appears to be an infrastructure issue - not a coding issue. If you're not having problems with other apps, I reckon it points to a dodgy network or platform at the broker site (as phy mentions, demo servers can be less reliable - as they are, understandably, less of a priority for the broker in terms of operational support and in terms of ongoing capacity planning). Regarding your own MT4 setup, I think it is unlikely that the problem is there - you can' really blame MT4 for the fact that it may be pointing at a dodgy server farm. Of course, all bets are off if you've got some really weird config (eg. variable subnetting, static routes, dns servers etc.) on your network - basically anything that could impact certain IP address ranges.


CB


Note - we can't comment on specific brokers on this forum.

 
cloudbreaker wrote >>

It appears to be an infrastructure issue - not a coding issue. If you're not having problems with other apps, I reckon it points to a dodgy network or platform at the broker site (as phy mentions, demo servers can be less reliable - as they are, understandably, less of a priority for the broker in terms of operational support and in terms of ongoing capacity planning). Regarding your own MT4 setup, I think it is unlikely that the problem is there - you can' really blame MT4 for the fact that it may be pointing at a dodgy server farm. Of course, all bets are off if you've got some really weird config (eg. variable subnetting, static routes, dns servers etc.) on your network - basically anything that could impact certain IP address ranges.

CB

Note - we can't comment on specific brokers on this forum.

Thanks all. Didn't know about not commenting on Brokers. Will try to remember in the future.

 
fxstr58 wrote >>

Thanks all. Didn't know about not commenting on Brokers. Will try to remember in the future.

It seems that these errors are occuring on a second broker's demo account. Since my network seems to running fine, does anyone else have any thought as to what might be causing these errors? Thanks.

 

Well you are losing connectivity to the Demo server, or it is having problems. MBTrading flatly states they use their demo for development, and it is up and down at their whim. Probably there is nothing you cand do. Pick another dealer.

 
phy wrote >>

Well you are losing connectivity to the Demo server, or it is having problems. MBTrading flatly states they use their demo for development, and it is up and down at their whim. Probably there is nothing you cand do. Pick another dealer.

Thanks phy. One final question on this topic. My broker suggested that it could be a firewall issue. He suggested turning off the Windows firewall. I thought that instead of turning it off I would add an exception for MT4. Should I have to add a Windows firewall exception for MT4 or can it successfully operate through the Windows (Vista) firewall. What do you and others do in this regard?

Thanks again!

B

 

If it works at all it probably is not a firewall issue.

You connect to them, they don't connect to you.

Basic firewall settings block incoming connection requests, not outgoing.

Reason: