{"action":"opened","issue":{"url":"https://api.github.com/repos/Uriil/MetaTrader4.Manager.Wrapper/issues/69","repository_url":"https://api.github.com/repos/Uriil/MetaTrader4.Manager.Wrapper","labels_url":"https://api.github.com/repos/Uriil/MetaTrader4.Manager.Wrapper/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/Uriil/MetaTrader4.Manager.Wrapper/issues/69/comments","events_url":"https://api.github.com/repos/Uriil/MetaTrader4.Manager.Wrapper/issues/69/events","html_url":"https://github.com/Uriil/MetaTrader4.Manager.Wrapper/issues/69","id":177405999,"number":69,"title":"Failed to connect to server","user":{"login":"ObtGROUP","id":22236069,"avatar_url":"https://avatars.githubusercontent.com/u/22236069?v=3","gravatar_id":"","url":"https://api.github.com/users/ObtGROUP","html_url":"https://github.com/ObtGROUP","followers_url":"https://api.github.com/users/ObtGROUP/followers","following_url":"https://api.github.com/users/ObtGROUP/following{/other_user}","gists_url":"https://api.github.com/users/ObtGROUP/gists{/gist_id}","starred_url":"https://api.github.com/users/ObtGROUP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ObtGROUP/subscriptions","organizations_url":"https://api.github.com/users/ObtGROUP/orgs","repos_url":"https://api.github.com/users/ObtGROUP/repos","events_url":"https://api.github.com/users/ObtGROUP/events{/privacy}","received_events_url":"https://api.github.com/users/ObtGROUP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-16T11:42:57Z","updated_at":"2016-09-16T11:42:57Z","closed_at":null,"body":"My MetaTrader4 installed in \"C:\\Program Files(x86)\\DestekFX\\....\" folder and its other files in \"C:\\Users\\Baris\\AppData\\Roaming\\MetaQuotes\\Terminal\\2C3166C170B721D9659DD6B07B90209E\" folder.\r\nMy Visual Studio 2015 files in \"C:\\Baris\\Forex\\DestekFX\\.....\" folder and its run perfectly. All DLLs is compiled and run perfectly.\r\nmtmain.dlls in \"C:\\Baris\\Forex\\DLL\\...\" folder.\r\nMy real trade company's name is \"DestekFX-Trade\" shows in my metatrader4. (Not an IP adress and ports)\r\nMy login name is (for example) 123456.\r\nmy password is (for example) 123456789.\r\n\r\nMy code is there;\r\ntry\r\n{\r\n    var MT4 = new ClrWrapper(new ConnectionParameters {Server=\"DestekFX-Trade\", Login=123456, Password=\"0123456789\"}, @\"C:\\Baris\\Forex\\DLL\\MT4\\src\\Libraries\\mtmanapi\\mtmanapi.dll\");\r\n   IList<UserRecord> users = MT4.UsersRequest();\r\n   MessageBox.Show(users[0].Name);\r\n}\r\ncatch (P23.MetaTrader4.Manager.Contracts.MetaTraderException E)\r\n{\r\n    MessageBox.Show(E.Message);\r\n};\r\nThen \"Failed to connect to server\" error.\r\nWhy?"}}
{"actor":{"display_login":"ObtGROUP"}}