Login failed because of invalid referer header
I am deploying F5 after Azure Application Gateway:
My setup:
internet > Azure Application Gateway (http://<Public IP:8443>) > F5 (https://Private IP:8443)
I am able to access the F5 default login page through Azure App GW . But, when i put the user and password it is giving below error :
"
Unauthorized
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
"
When i check the console F5 log in tail -f /var/log/httpd/httpd_errors it is giving below error:
May 29 13:07:45 localhost.localdomain err httpd[11975]: [f5_auth_cookie:error] [pid 11975] [client x.x.x.x:29516] Login failed because of invalid referer header., referer: http://<PUBLIC IP of APPGW>:8443/tmui/login.jsp
1. I am able to login F5 bypassing Application Gateway without any issue.
2. I got this article https://my.f5.com/manage/s/article/K81809012 and tried multiple value for referer header but no luck.
3. I am runinng 17.x version software
Can someone please help if i am missing something here