logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
vcheng1  
#1 Posted : Monday, June 6, 2005 3:53:10 PM(UTC)
vcheng1

Rank: Newbie

Groups: Registered, Registered Users
Joined: 6/6/2005(UTC)
Posts: 6

Does anyone know how to operate MetaStock behind a firewall with a proxy? The Equis Support told me that MetaStock has no proxy setting; it just makes a "standard" connection to internet. He also told me the ports that are used by various aspects: for examples, 80 for http, 7983 for Reuter, and 5222 for community chat. He said that if the port is available, MetaStock should be able to connect. I know for sure that our http is using port 80 thru a proxy, and MetaStock just could not connect. For example, symbol database update is a http request to www.equis.com, and MetaStock gives me: Unable to connect to server.
vaughn  
#2 Posted : Monday, June 6, 2005 8:12:42 PM(UTC)
vaughn

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/16/2005(UTC)
Posts: 93
Location: Maryland,US

The ports you have are correct. I just connected a few times and checked my firewall logs. quotes.reutersdatalink.com connects to port 7983. I did the symbol update and it connected to www.equis.com on port 80. The chat connected to community.equis.com on port 5222, nothing else for any of the functions were listed in my logs. The one thing I noticed is that the source ports are different each time I launch MS. Your firewall or proxy might check your source port in one of its rulsets. Another thing to check is that some proxy's also cache. Your proxy might be trying to connect you to data it has cached or it could try and bring the data it thinks you want local instead of allowing you to go out and get it. You IT guys should be able to tell you if they are caching or letting your requests pass through to destination. Since you have firewalls and proxy - there is going to be some address translation. Normally this happens behind the scene - but again there might be rules that interfere. Your IT guys will be able to check on this. A last idea - firewalls and proxies keep logs. Your IT guys will be able to look through the logs and see how far your requests are making it and what is being dropped. Hope this helps. vm
hayseed  
#3 Posted : Tuesday, June 7, 2005 1:58:26 AM(UTC)
hayseed

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/7/2005(UTC)
Posts: 1,346

hey vcheng1.... admittedly a long shot here, but your link as posted here on the forum contains a comma.... if that is the exact address your using it will not connect..... i operate behind firewalls and can't remember any no connects.... haven't used the chat, seems patrick has posted a 'fix' for it though..... https://www.metastock.com/
vcheng1  
#4 Posted : Thursday, June 9, 2005 2:49:32 PM(UTC)
vcheng1

Rank: Newbie

Groups: Registered, Registered Users
Joined: 6/6/2005(UTC)
Posts: 6

I eventually installed an ethernet sniffer and a http sniffer on my PC to display outgoing traffic. When updating symbol database, I only saw 4 attempts of TCP:http (connect) attempts to www.equis.com:80. MetaStock never contacted my proxy. When downloadnig prices, I only saw 3 attempts of TCP (connect) attempts to quotes.reutersdatalink.com:7983. The Downloader never tried go thru my firewall. My XP registry does not store the addresses of my proxies or my firewall. Maybe you guys' do. I'll have to follow up with Equis support with this.
Patrick  
#5 Posted : Thursday, June 9, 2005 3:12:46 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Quote:
When downloadnig prices, I only saw 3 attempts of TCP (connect) attempts to quotes.reutersdatalink.com:7983
How could it be? The download proccess is a passive FTP ... #-o You never connected ... When you connect to quotes.reutersdatalink.com:7983 this server connects you to another server that then tries to send you data trhu ftp. I can guarantee you that it is a problem with the proxy ... And equis support won't be able to do much ... Patrick :D
Patrick  
#6 Posted : Thursday, June 9, 2005 3:25:42 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
Sorry but could this apply to you : http://forum.equis.com/viewtopic.php?t=77
vcheng1  
#7 Posted : Thursday, June 9, 2005 4:25:27 PM(UTC)
vcheng1

Rank: Newbie

Groups: Registered, Registered Users
Joined: 6/6/2005(UTC)
Posts: 6

I do have Chinse language pack installed both in office and at home. I am using MetaStock 9.02. The only password entry is in HKEY_CURRET_USER\\Software\\Equis\ he DonwLoader 9.0\\Reuters\\Password which is a binary file. I don't have any problem at home. It must be proxy issues. What my sniffer captured is properly the repetition of Downloader's connection attempts. The firewall at my workplace is also a telnet gateway and ftp proxy, and I can manually telnet/ftp to outside host thru them. Do you know if MetaStock/Downloader could work with such firewall? When MetaStock makes http calls, does it lookup proxies in XP registry? How does it figure out proxies?
joetrade69  
#8 Posted : Thursday, June 9, 2005 4:40:53 PM(UTC)
joetrade69

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 121

Look at your vendor options, specifically the password. How many characters is your datalink password and compare that to how many asterisks you see in the password field. If there are many more asterisks than in your password, contact support to get this fixed, there was an issue with a chinese language pack and the way it encrypted the password.
vcheng1  
#9 Posted : Thursday, June 9, 2005 7:54:37 PM(UTC)
vcheng1

Rank: Newbie

Groups: Registered, Registered Users
Joined: 6/6/2005(UTC)
Posts: 6

Equis support just told me that I need the folllwing entry in my XP registry for MetaStock http calls: HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Proxy server Can someone please show me what you have? My IE is using an autoconfig script, so I need to create this entry for MetaStock.
Patrick  
#10 Posted : Thursday, June 9, 2005 8:01:54 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
????????????? That does not make sense at all ... The setting you are referring to is IE settings and has nothing to do with MetaStock or the ability for you to connect to a server. My setting is set to my proxy ... your setting should be set by your IT guys to match your proxy server setup ... Patrick :mrgreen:
vcheng1  
#11 Posted : Thursday, June 9, 2005 8:45:55 PM(UTC)
vcheng1

Rank: Newbie

Groups: Registered, Registered Users
Joined: 6/6/2005(UTC)
Posts: 6

It's for MetaStock's HTTP calls, such as 'Update Symbol Database'. Apparently, MetaStock thinks that the internet setting is good. It does not know sometime proxies are set by a script. My IT guys don't know the format of this entry. They mostly deal with scripts. I just need to know the format of this entry: - Is the name of your entry spelled as 'Proxy server' or 'ProxyServer'? - Is it a key with a default name-value pair or just a string value? - Does it have a string value like 'myproxy.myplace.com:80' attached by the port number?
joetrade69  
#12 Posted : Thursday, June 9, 2005 9:11:48 PM(UTC)
joetrade69

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 121

The Proxy registry key is only looked at for the Update SymbolDatabase feature. Are you trying to use the Update Symbol Database feature or Log-in to Reuters DataLink?
joetrade69  
#13 Posted : Thursday, June 9, 2005 9:13:51 PM(UTC)
joetrade69

Rank: Advanced Member

Groups: Registered, Registered Users, Unverified Users
Joined: 10/28/2004(UTC)
Posts: 121

ProxyServer as a REG_SZ setting
vcheng1  
#14 Posted : Friday, June 10, 2005 12:44:39 AM(UTC)
vcheng1

Rank: Newbie

Groups: Registered, Registered Users
Joined: 6/6/2005(UTC)
Posts: 6

Both actually. I added the ProxyServer and turned on ProxyEnable. Now "Update Symbol Database" works! Now I'm working on the DataLink...
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.