API JSON can not connect to website after using cloudflare




I have problem in connection my API [json format] after using cloudflare for my website

I have 2 server,…server A and server B
server A => without cloudflare
server B => using cloudflare

before using cloudflare,…the API between server A and server B still working,…
after using cloudlfare,…the API can’t working

I already add the IP Address of server A to whitelist in cloudflare
but sometime connected,…sometime can’t connect
maybe the problem in “Challenge Passage”
I don’t know how to solve this problem,
please any help

thank you in advance

Best Regards



What port(s) you are using for your API?


We are using HTTPS (443)
for the first hit -> it often failed
but for the second or the third hit => sometime succes, sometime failed to connect
anyone can help me,…?
thankyou in advance

Best Regards



You need to debug the application and check server response. By comparison of response when call fails and succeeds, you get enough information for the next step.