Need a special offer?Find out if your project fits.
+

Flex server issue

Answered
vasu asked on October 24, 2020

We install flex server in windows.
We are able access flex data server api from few systems and other system the flex api url is blocking and returning 500.
If i test same from my local system..it is working fine.
We are not able to find exact issue, why it is not working from some systems (blocking flex api url)
Could you please help us to sort out this issue.
We struck with production move.
Please provide solution or suggestions on this?
any firewalls or antivirus will block ?
any other reasons?

Thanks,
Vasu
 

7 answers

Public
Vera Didenko Vera Didenko Flexmonster October 26, 2020

Hello, Vasu, 
 
Thank you for reaching out to us.
 
Our team kindly asks if you could provide the following details:

  1. Your Flexmonster Data Server config
  2. Please check the browser console for possible errors and provide screenshots of the errors.
  3. Your Flexmonster Data Server log output (can be found in the /logs folder)

This will help us to understand the situation better and provide a solution faster.
 
Waiting for your reply.
 
Kind regards, 
Vera

Public
vasu October 27, 2020

Hi Vera, Thanks for the response.
Your Flexmonster Data Server config
CONNECTION_STRING=Data Source=1.2.3.4;UID=********;Password=*******
PORT=443
HTTPS=true
CACHE_ENABLED=true
CACHE_MEMORY_LIMIT=0
UPN_CREDENTIALS=false
GZIP=true
MEMBER_CHUNK_SIZE=10000
DATA_CHUNK_SIZE=500
Please check the browser console for possible errors and provide screenshots of the errors. - WE don't have any error except 500
 
Thanks,
Vasu
 

Public
Vera Didenko Vera Didenko Flexmonster October 28, 2020

Hello, Vasu, 
 
Thank you for your reply.
 
It seems there might be some sort of misunderstanding so let’s clarify some points.
 
As described in your initial question, you are using Flexmonster Data Server and for some systems a 500 error occurs while trying to access the Flexmonster Data Server API.
However, the configuration that you provided is for Flexmonster Accelerator, not for Flexmonster Data Server.
 
Could you please confirm that you are using Flexmonster Data Server?
 
If you are using both Flexmonster Accelerator and Flexmonster Data Server, could you please let us know if the 500 error occurs for Flexmonster Data Server or for Flexmonster Accelerator? Since the Flexmonster Accelerator and Flexmonster Data Server are separate tools designed for different cases, the reasons for the error could differ depending on the used tool. 
 
Waiting for your response.
 
Kind regards, 
Vera

Public
vasu October 28, 2020

Hi vera
We are using only Flexmonster Accelerator and running as windows service
Thanks,
Vasu

Public
Vera Didenko Vera Didenko Flexmonster October 29, 2020

Hello, Vasu, 
 
Thank you for confirming that you are using Flexmonster Accelerator. 
 
Our team kindly suggests the following: 

  1. Opening the port in the firewall:
    To allow connections to the Accelerator from outside the server, the port needs to be opened in the firewall. 
    Please make sure that the port you specified in the configuration file (443) is opened in the firewall.
  2. Checking if the server certificate was registered successfully:
    Could you please confirm if the server certificate was registered successfully as described in the following guide: https://www.flexmonster.com/doc/configuring-secure-https-connection/?
  3. Also, could you please check if the issue persists when HTTPS is disabled?
    It is possible that the API is blocked due to a certificate validation issue. 
  4. Specifying the ALLOW_ORIGIN property:
    There is a possibility that defining specific origins could help to resolve the issue.
    Several origins can be defined as follows:
    ALLOW_ORIGIN = http://localhost, https://example.com
  5. Also, could you please provide the Accelerator logs where the 500 error occurred? 
    The logs can be accessed by clicking the "Logs" button in the Flexmonster Accelerator Manager.

 
Please let us know if this helps.
Looking forward to your response. 
 
Kind regards, 
Vera

Public
Vera Didenko Vera Didenko Flexmonster November 4, 2020

Hello, Vasu,
 
Our team would like to kindly take an interest in whether you found our previous response helpful. 
Did it work to resolve the issue with the Accelerator API being blocked?
 
Please let us know if everything works.
If the issue persists, could you please provide the Accelerator logs?
 
Looking forward to your reply.
 
Kind regards, 
Vera

Public
Vera Didenko Vera Didenko Flexmonster November 10, 2020

Hello, Vasu,
 
How are you?
 
Just checking in to ask whether you managed to resolve the initial issue.
Are you able to access your Flexmonster Accelerator API from all your systems?
 
Please let us know if there is anything that we could help you with.
 
We would be happy to hear your feedback.
 
Kind regards, 
Vera

Please login or Register to Submit Answer