Page 1 of 2

Error getting USD/HKD historical price data

PostPosted: Sun Mar 27, 2016 3:45 pm
by frAnton
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.

Re: Error getting USD/HKD historical price data

PostPosted: Mon Mar 28, 2016 4:24 am
by Julia CJ
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.

Re: Error getting USD/HKD historical price data

PostPosted: Mon Mar 28, 2016 7:25 pm
by frAnton
Hi, I attached screens with C# code, and Log entries.

AV code.jpg

AV error log.jpg

AV error log 2.jpg


thanks,
Anton.

Re: Error getting USD/HKD historical price data

PostPosted: Tue Mar 29, 2016 5:48 am
by Julia CJ
Hi FrAnton,

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

Thank you.

Re: Error getting USD/HKD historical price data

PostPosted: Tue Mar 29, 2016 8:23 am
by frAnton
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.

Re: Error getting USD/HKD historical price data

PostPosted: Thu Mar 31, 2016 4:58 am
by Julia CJ
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.

Re: Error getting USD/HKD historical price data

PostPosted: Mon Apr 18, 2016 12:21 pm
by frAnton
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.

Re: Error getting USD/HKD historical price data

PostPosted: Tue Apr 19, 2016 9:06 am
by Julia CJ
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.

Re: Error getting USD/HKD historical price data

PostPosted: Tue Apr 19, 2016 10:20 am
by frAnton
Hi Julia,

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


Thanks,
Anton.

Re: Error getting USD/HKD historical price data

PostPosted: Wed Apr 20, 2016 7:26 am
by Julia CJ
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 828 times


Your help will be appreciated. Thank you once again.