Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

DataServer error while starting

Answered
Seekme asked on September 14, 2020

I’ve been getting this error while starter DataServer :
2020-09-14 17:35:42.6938|FATAL|Microsoft.AspNetCore.Hosting.Diagnostics|Application startup exception
2020-09-14 17:35:43.7805|FATAL|Flexmonster.DataServer.Program|Data prepopulating failed
Unhandled exception. System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected. Try Console.Read.
at System.ConsolePal.ReadKey(Boolean intercept)
at System.Console.ReadKey()
at Flexmonster.DataServer.Program.Main(String[] args)
 
If I execute the query manually, I get results in less than a second, what is the issue ?

5 answers

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster September 15, 2020

Hi!
 
Thank you for posting your question.
 
So far, we haven’t managed to reproduce the described behavior and it is still not entirely clear to us what might be the issue here.
 
Do you think you could provide us with your Data Server configurations (the flexmonster-config.json file), log files (can be found in the /logs folder) & a dummy data set with which the issue is reproducible? 
 
This will allow us to take a deeper look at the issue in question and provide you with a solution faster.
 
Thank you in advance & looking forward to your response.
 
Best regards,
Mykhailo

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster September 22, 2020

Hi!
 
How are you?
 
We were wondering if you’ve received our response – is your question regarding Flexmonster Data Server error still relevant?
 
Please let us know what you think.
 
Regards,
Mykhailo 

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster September 30, 2020

Hi,
 
Hope you’re doing well.
 
Just checking in to ask whether this question is still on your agenda – we’d be happy to hear your updates if there are any.
 
Kind regards,
Mykhailo

Public
Seekme October 13, 2020

Ok, sounds like it was a RAM issue, Flexmonster couldn’t load all the data I needed to (~150 indexes).
Increased the RAM to 16Go worked for me.

Public
Mykhailo Halaida Mykhailo Halaida Flexmonster October 15, 2020

Hi!
 
Thank you for your response – we’re glad to hear everything went well eventually.
 
As always, feel free to reach out if there’s anything else we could assist you with.
 
Best regards,
Mykhailo

Please login or Register to Submit Answer