For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

KMeng's avatar
KMeng
Icon for Nimbostratus rankNimbostratus
Dec 09, 2021

How to using F5 to balance WebApi which is with CORS

I have already get WebApi service (.net core) published and working, enabled CORS with it. Now, after try to load balance with F5, the device cannot traffic server port. I can see the W3C log record from the F5 ip address ,but response is 0 0 0 0. I try to add F5 address to appsettings.json like : http://10.10.0.252, but still not work.

w3c log below:

2021-12-08 00:00:22 10.10.50.23 GET / - 8088 - 10.10.0.252 - - 0 0 0 0 
2021-12-08 00:00:27 10.10.50.23 GET / - 8088 - 10.10.0.252 - - 0 0 0 0 
2021-12-08 00:00:32 10.10.50.23 GET / - 8088 - 10.10.0.252 - - 0 0 0 0 
2021-12-08 00:00:37 10.10.50.23 GET / - 8088 - 10.10.0.252 - - 0 0 0 0 
2021-12-08 00:00:42 10.10.50.23 GET / - 8088 - 10.10.0.252 - - 0 0 0 0

There is using domain list to enable :

"{Origins": [ "https://example.domain.com","http://10.10.0.252"] }
No RepliesBe the first to reply