Discussion of article "How to create bots for Telegram in MQL5" - page 27

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I would like to ask those who are unable to run Telegram via WebRequest to run this script and copy here the line from the Experts tab with the result. This will help to quickly identify the problem.
I would like to ask those who are unable to run Telegram via WebRequest to run this script and copy here the line from the Experts tab with the result. This will help to quickly identify the problem.
2020.06.05 18:06:36.033 WebRequest_Test_Script (EURUSD.gl,H4) Build=2470 WebRequest=1001 GetLastError=5203 strData=
I got the same result. And it's the same for everyone if the API is unavailable.
It has been like this for a year. The only way out is if the developers let all traffic, not just quotes, through the proxy from the terminal settings. I asked once, but they didn't answer me.
2020.06.05 18:06:36.033 WebRequest_Test_Script (EURUSD.gl,H4) Build=2470 WebRequest=1001 GetLastError=5203 strData=
@Gennady Mazur Try running in the command line:
I got the same result. And it will be the same for everyone if the API is unavailable.
It has been like this for a year. The only way out is if the developers let all traffic, not just quotes, through the proxy from the terminal settings. I asked once, but they didn't answer me.
@Edgar Akhmadeev We are trying to reproduce the situation when WebRequest fails but curl is fine. Try making a request through curl. Example above.
@Edgar Akhmadeev We are trying to reproduce the situation when WebRequest fails but curl is fine. Try making a request through curl. Example above.
curl: (28) Failed to connect to api.telegram.org port 443: Timed out
Still does not work ,for inpChannelName do you still use the channel Name or chat ID ?
@Gennady Mazur And try running at the command line:
I don't want to execute
from Windows, but from MAC here is
I don't want to execute it from within Windows.
If this result:
2020.06.05 18:06:36.033 WebRequest_Test_Script (EURUSD.gl,H4) Build=2470 WebRequest=1001 GetLastError=5203 strData=
You got on Windows system, then, for the purity of the experiment, please put curl for Windows https://curl.haxx.se/windows/.
@Gennady Mazur And try running at the command line: