Errors, bugs, questions - page 987

 

Question for developers.

What does the success of sending push notifications depend on?

I have a script that sends a message, but they don't come for some reason (rules on number of messages, etc. are satisfied).

 

What's with the four again?

500 is an internal server error.

Problem with the requested resource; the resource cannot be displayed.

 
Thank you, that helped.
 
Interesting:

Question for developers.

What does the success of sending a Push notification depend on?

Because my script sends messages, but they do not come for some reason (rules about number of messages, etc. are fulfilled).

Problem solved, messages arrive.

But somehow there is a delay. It was expected that they will come if not "instantly" then at least in 10-20 seconds.

In practice it took a few minutes.

 
Interesting:

Problem solved, messages are coming in.

But somehow there is a delay. They are expected to arrive at least 10-20 seconds later, if not "instantly".

In practice it takes a few minutes.

The issue has already been raised. To receive messages instantly, you need an active internet connection at all times.

To be sure: Try to run an app on your mobile that is constantly connected (e.g. internet radio) and then send a message - it will come instantly.

 

A strange behaviour of the test agents was detected. It is irregular, but constant. Spontaneous uninstallation of these same agents with deletion of the metatester.exe file occurs. The log is laconic:

PH 0 14:39:52 Service 'MetaTester-1' stopped initialized
FP 0 14:39:55 Service 'MetaTester-1' stopped in 3000 ms
OH 0 14:39:55 Service 'MetaTester-1' successfully uninstalled
CM 0 14:39:55 Service 'MetaTester-2' stopped initialized
NE 0 14:39:58 Service 'MetaTester-2' stopped in 3015 ms
OS 0 14:39:58 Service 'MetaTester-2' successfully uninstalled
QD 0 14:39:58 Service 'MetaTester-3' stopped initialized
ML 0 14:40:01 Service 'MetaTester-3' stopped in 3000 ms
PJ 0 14:40:01 Service 'MetaTester-3' successfully uninstalled
PK 0 14:40:01 Service 'MetaTester-4' stopped initialized
MS 0 14:40:04 Service 'MetaTester-4' stopped in 3000 ms.

LE 0 14:40:04 Service Service 'MetaTester-4' successfully uninstalled

It's very annoying, and the reason is not clear at all.

Документация по MQL5: Файловые операции / FileDelete
Документация по MQL5: Файловые операции / FileDelete
  • www.mql5.com
Файловые операции / FileDelete - Документация по MQL5
 
joo:

The issue has already been raised. You need an active internet connection at all times to receive messages instantly.

To be sure: try running an app on your mobile that is constantly connected (e.g. internet radio) and then send a message - it will arrive instantly.

Thanks, wasn't aware of that feature.

I just assumed that the terminal itself has to maintain such a constant connection.

Or am I wrong?

 
muallch:

A strange behaviour of the test agents was detected. Irregular, but persistent. Spontaneous uninstallation of these same agents with deletion of the metatester.exe file occurs. The log is laconic:

PH 0 14:39:52 Service 'MetaTester-1' stop initialized
FP 0 14:39:55 Service 'MetaTester-1' stopped in 3000 ms
OH 0 14:39:55 Service 'MetaTester-1' successfully uninstalled
CM 0 14:39:55 Service 'MetaTester-2' stopped initialized
NE 0 14:39:58 Service 'MetaTester-2' stopped in 3015 ms
OS 0 14:39:58 Service 'MetaTester-2' successfully uninstalled
QD 0 14:39:58 Service 'MetaTester-3' stopped initialized
ML 0 14:40:01 Service 'MetaTester-3' stopped in 3000 ms
PJ 0 14:40:01 Service 'MetaTester-3' successfully uninstalled
PK 0 14:40:01 Service 'MetaTester-4' stopped initialized
MS 0 14:40:04 Service 'MetaTester-4' stopped in 3000 ms

LE 0 14:40:04 Service 'MetaTester-4' successfully uninstalled.

Very troublesome, moreover the reason is absolutely unclear.

+1.

It would be desirable, if developers would display in a log the reason, which initiates agents' stopping...

 

Here's a question:

An EA on MT5 uses a read and write data file.

We run the Expert Advisor for input optimization using local multicore agents and remote agents installed on computers on the network.

Which file will be accessed by the tested instances of the Expert Advisor ?

If to the same - what mechanisms are used to share resources ?

Say, one instance of an optimized EA has accessed the file for writing and locked it, and at this moment, other instances of EAs should access the same file - how is the problem solved? Are there any mechanisms in MT5 or should the programmer remember that the file can be locked during testing?

Документация по MQL5: Файловые операции / FileWrite
Документация по MQL5: Файловые операции / FileWrite
  • www.mql5.com
Файловые операции / FileWrite - Документация по MQL5
 
Ashes:

+1.

I wish the developers would display in the log the reason that initiates agent stoppage...

Why?

Agents are only forcibly stopped for detected fraudulent reasons. We've talked about this many times. For example, 100 agents on a 2-core computer. Or 4 agents on 256 meg RAM for all of them. Or an agent on a virtual machine that reports it has a gig of RAM, but says nothing about sharing that gig with 7 more virtual machines. And so on.

Why tell someone they're cheating? It's a shame, isn't it?

Reason: