Error getting USD/HKD historical price data

Moderator: Moderator

Error getting USD/HKD historical price data

Postby frAnton » Sun Mar 27, 2016 3:45 pm

Hi there,

factory.createMarketDataSnapshotReader(response); triggers AV while receiving "USD/HKD" historical price: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt".
The rest of the instruments are fine.

This started happening just recently.
Have something been changed on the server side?

thanks,
Anton.
frAnton
 
Posts: 74
Joined: Tue Apr 05, 2011 11:41 pm
Location: California

Re: Error getting USD/HKD historical price data

Postby Julia CJ » Mon Mar 28, 2016 4:24 am

Hi FrAnton,


We cannot reproduce this problem. If it is possible, please specify the following data: FC version, the using timeframe, using language of programming. For sufficient information, please send a code of creating request too.

Thank you.
Julia CJ
 

Re: Error getting USD/HKD historical price data

Postby frAnton » Mon Mar 28, 2016 7:25 pm

Hi, I attached screens with C# code, and Log entries.

AV code.jpg

AV error log.jpg

AV error log 2.jpg


thanks,
Anton.
frAnton
 
Posts: 74
Joined: Tue Apr 05, 2011 11:41 pm
Location: California

Re: Error getting USD/HKD historical price data

Postby Julia CJ » Tue Mar 29, 2016 5:48 am

Hi FrAnton,

There is not enough information from you, please specify FC version and the using timeframe .

Thank you.
Julia CJ
 

Re: Error getting USD/HKD historical price data

Postby frAnton » Tue Mar 29, 2016 8:23 am

Hi Julia,

ForexConnect.dll 1.2.1209.2015
1 day/month/week time frames.
It started happening just recently, I had to switch USD/HKD instrument off. Unfortunately I could not handle it as AV was taking place inside ForexcConnect.dll.

Is there any way you guys can look by RequestId at how the request had been processed in the server side?

Thank you,
Anton.
frAnton
 
Posts: 74
Joined: Tue Apr 05, 2011 11:41 pm
Location: California

Re: Error getting USD/HKD historical price data

Postby Julia CJ » Thu Mar 31, 2016 4:58 am

Hi Anton,

According to your snapshots this problem is in FC. We can’t manage to reproduce it and continue to investigate further.
It would be helpful if you send the foreconnect log.

To get the log you need to follow the instruction below:

1. Copy the log settings file (in the attached zip file) "forexconnect.log4plus.properties" to the folder where the forexconnect-based program is installed.

2. In the same folder, create the "log" subfolder.

3. Run the program and try to reproduce the error.

4. Archive the "log" folder (created on step 2). This can be done using command Windows Explorer Send to -> Compressed (zipped) folder or any other method of your choice. Send me this archive at ycherepanova@gehtsoft.com.
Attachments
forexconnect log4properties.rar
(635 Bytes) Downloaded 826 times
Julia CJ
 

Re: Error getting USD/HKD historical price data

Postby frAnton » Mon Apr 18, 2016 12:21 pm

Hi there,

this problem can be reproduced on the real account only.
I do not have any problems getting USD/HKD when I use demo account.

Hope this helps,
Thanks,
Anton.
frAnton
 
Posts: 74
Joined: Tue Apr 05, 2011 11:41 pm
Location: California

Re: Error getting USD/HKD historical price data

Postby Julia CJ » Tue Apr 19, 2016 9:06 am

Hi Anton,

Thank you for the information. If it is not difficult for you can you look whether you have USD/HKD in the table of offers at this connection? If we upload for you the personal ForexConnect version with extended log tomorrow, could you please install it and send the log to my e-mail: ycherepanova@gehtsoft.com.
These days we can not reproduce the issue.
Julia CJ
 

Re: Error getting USD/HKD historical price data

Postby frAnton » Tue Apr 19, 2016 10:20 am

Hi Julia,

This is the screen from the Offers table I have
USD_HKD Offers table.JPG
Records from the Offers table


Thanks,
Anton.
frAnton
 
Posts: 74
Joined: Tue Apr 05, 2011 11:41 pm
Location: California

Re: Error getting USD/HKD historical price data

Postby Julia CJ » Wed Apr 20, 2016 7:26 am

Hi Anton,

Thank you so much for your help.

Please install ForexConnect version with the extended log from this link:
http://fxcodebase.com/bin/forexconnect/ ... -win32.exe

In this thread a bit earlier,please find the base steps for getting the log. The log setting file I have attached here:
forexconnect log4properties.rar
(635 Bytes) Downloaded 821 times


Your help will be appreciated. Thank you once again.
Julia CJ
 

Next

Return to ForexConnect API

Who is online

Users browsing this forum: No registered users and 8 guests