Http-Proxy Server for MyfxbookEA.dll Abstimmergebnisse

Gefällt Ihnen dieser Vorschlag?

Ja Nein

Http-Proxy Server for MyfxbookEA.dll Diskussion

Aug 09, 2010 at 09:13
2,240 Angesehen
19 Replies
Mitglied seit Jul 29, 2010   13 Posts
Aug 09, 2010 at 09:13 (bearbeitet Aug 09, 2010 at 09:24)
Hello,

It would be nice to use a http-proxy server togather with the MyfxbookEA.dll.

It cannot connect because I'm behind a Firewall/Proxy. Mateatrader itself works fine.
But the Publisher from MT4 and this DLL seems to be not using the Proxy-Settings.

Thanks!

Edit: also FTP Active Mode is required.
Mitglied seit Jul 31, 2009   1444 Posts
Aug 09, 2010 at 10:27
Hi SniperNCE.

The EA is designed to work with firewalls, since it uses port 80. If you're able to browse the web, the EA should be working with no issues.
Mitglied seit Jul 29, 2010   13 Posts
Aug 09, 2010 at 12:05
Ok Thanks for the answer. I can browser the Web it works all fine, when i define a http proxy server in my browser settings.

I followed this manual: https://www.myfxbook.com/help/connect-metatrader-ea

I get this error:
13:57:11 Myfxbook USDJPY,M15: Error: Can't send request
13:58:02 Myfxbook USDJPY,M15: uninit reason 5

When I look into netstat, it tries to connect directly without using the proxy server:
validation.myfxbook.com:http SYN_GESENDET
Mitglied seit Jul 31, 2009   1444 Posts
Aug 10, 2010 at 06:11
Have you configured a proxy for your LAN connections? It should work.
Mitglied seit Jul 29, 2010   13 Posts
Aug 10, 2010 at 08:15
I have to setup the proxy for each application. But the application must support it with like Metatrader itself does (Options/Server/Proxy). I also set up the http_proxy environment variable but your dll seem to be does not support proxy servers because there is no property to define the proxy settings.
For a workaround I can setup a Metatrader with the EA on my Server. It should work there because its directly connected.


Maybe there can be a new EA property in the future called 'proxy_server' or something like this? Just a suggestion.

Mitglied seit Sep 16, 2010   7 Posts
Sep 16, 2010 at 07:57
I have the same issue: behind a company fw.
I can browse the internet and mt4 works having configured the proxy in the server tab, but the EA Myfxbook + the associate dll don't work: it gives me Myfxbook..... :HTTP Error
In God We Trust
Mitglied seit Sep 16, 2010   7 Posts
Sep 16, 2010 at 08:13
Found out the reason: watching in TCPView, i've seen that as staff is saying here, the Myfxbook + its dll try to connect through port 80 (http).
Unfortunately my company proxy uses port XYZ and not standart port 80.
With the browser and with MT4 this is not a problem since when you edit the proxy tab you can also specify the port number, but in this case you can't.
In God We Trust
Mitglied seit Jul 31, 2009   1444 Posts
Sep 16, 2010 at 08:45
Just configure the proxy for the connection (dial up/vpn) and it should work fine.
Mitglied seit Sep 16, 2010   7 Posts
Sep 16, 2010 at 09:05
Sorry, maybe i can't explain well to let you understand my issue. I try again.
Mine is a Company Proxy, managed by the network admin and I can't configure it. All I have is the proxy name and port.
But while in Metatrader you can use the Server/Proxy... panel to tell the platform what the proxy:port is, in your Myfxbook EA you can't and it actually use the proxy but on the default port 80, so it doesn't work. As suggested by member SniperNCE adding to the EA some input parameters like proxy & port should solve the problem.
In God We Trust
Mitglied seit Sep 16, 2010   7 Posts
Sep 16, 2010 at 13:35
Any answers ?
In God We Trust
Mitglied seit Jul 29, 2010   13 Posts
Sep 17, 2010 at 09:40
I agree. Would be nice to have some settings for the proxy.
Mitglied seit Jul 31, 2009   1444 Posts
Sep 17, 2010 at 12:32

bubincka64 posted:
    Sorry, maybe i can't explain well to let you understand my issue. I try again.
Mine is a Company Proxy, managed by the network admin and I can't configure it. All I have is the proxy name and port.
But while in Metatrader you can use the Server/Proxy... panel to tell the platform what the proxy:port is, in your Myfxbook EA you can't and it actually use the proxy but on the default port 80, so it doesn't work. As suggested by member SniperNCE adding to the EA some input parameters like proxy & port should solve the problem.

I meant to configure the network connection of your PC, not the proxy itself.
Mitglied seit Sep 16, 2010   7 Posts
Sep 17, 2010 at 12:51
In my PC network settings under Tools\Internet Options\Connections\ LAN Settings I have

-- Proxy server
Address: Port:
In God We Trust
Mitglied seit Sep 16, 2010   7 Posts
Sep 17, 2010 at 12:54
In my PC network settings under Tools\Internet Options\Connections\ LAN Settings I have

-- Proxy server
              
Address: Port:

In Address I put the name/IP of the company-proxy and in the port I can only put the value 3128 because the proxy only accepts connections on that port number. If I put 80 it doesn't work.

I hope now you have understood what's the problem.
In God We Trust
Mitglied seit Sep 16, 2010   7 Posts
Sep 17, 2010 at 14:49
Hi, to answer your question, yes, if i set the 3128 proxy in my network connection, I can browse the web.
And i can also connect my Metatrader to the datacenter.

Instead the EA Myfxbook doesn't work in metatrader log only tells HTTP Error.
I checked with netstat and as i already told you the EA goes on port 80 and not 3128, that's the reason why it's blocked. The details of netstat are:

validation.myfxbook.com:http for the remote address.

In the meanwhile I have other 2 accounts on another server *without* proxy that work perfectly on Myfxbook.
In God We Trust
Hattrick
forex_trader_19121
Mitglied seit Sep 27, 2010   4 Posts
Oct 14, 2010 at 08:05
I have the same problem. I'm using a proxy and web browsing and metatrader is working fine.
myfxbook expert is not working.
Any solution ?
Mitglied seit Jul 31, 2009   1444 Posts
Oct 14, 2010 at 08:21

Hattrick posted:
    I have the same problem. I'm using a proxy and web browsing and metatrader is working fine.
myfxbook expert is not working.
Any solution ?

We're working on it, so it should be ready soon.
Mitglied seit Jul 31, 2009   1444 Posts
Oct 20, 2010 at 06:54
Although we're working on an EA version with a proxy option of its own, if you have a proxy configured in your windows and you can browse the web, this should work:

1. Open CMD (Run > cmd)
2. Type: 'proxycfg -u' (without the ')
3. Check the result in MetaTrader.
Hattrick
forex_trader_19121
Mitglied seit Sep 27, 2010   4 Posts
Oct 20, 2010 at 14:52
Thank you very much for the solution. I tested on Windows XP and it's working.
Proxycfg is not available for win 2008 server and Windows 7. For those systems you can use 'netsh'

https://www.bohack.com/2010/08/windows-server-2008-replacement-of-proxycfg-exe/
Hattrick
forex_trader_19121
Mitglied seit Sep 27, 2010   4 Posts
Nov 19, 2010 at 00:02
I read somewhere on the site that you have a beta version that use proxy.
Can i try it ?
Anmelden / Registrieren to comment
You must be connected to Myfxbook in order to leave a comment
*Kommerzielle Nutzung und Spam werden nicht toleriert und können zur Kündigung des Kontos führen.
Tipp: Wenn Sie ein Bild/eine Youtube-Url posten, wird diese automatisch in Ihren Beitrag eingebettet!
Tipp: Tippen Sie das @-Zeichen ein, um einen an dieser Diskussion teilnehmenden Benutzernamen automatisch zu vervollständigen.