-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure Storage Account connections via proxy fail in an Azure environment. #141
Comments
Hi @yamashin55, can you provide the following:
It looks like you have a password set in the proxy db variables, but no username. Is that correct or is it redacted? Also, how did you deploy CFE? Did you use the ARM templates? |
@mikeshimkus, Thank you for replay.
This proxy server has no authentication. I used fllowing command:
No. I didn't use ARM templates. I deployed the BIG-IP manually.
*Below are the logs when no proxy is used. (Direct access is successful.)
|
I thought that CONNECT Method is normally used for HTTPS communication in case of Explicit Proxy. CONNECT abc.com
However, when accessing from CFE, it appears that the GET method is being used.
However, the access log of Azure Resource Manager(management.azure.com) shows a normal 200 response. |
@yamashin55 I created internal issue EC-510 for this. Can you also share the JSON config of the storage account (click on the account overview in the Azure portal and then the JSON View link). Do you have any ACLs or NSG rules applied to the storage account that would deny traffic from the proxy IP/vNET but allow it from the BIG-IP instance IPs? Regarding the method, the curl command is using the proxy db settings directly, while CFE passes them to the Axios client as proxy options. Regardless of that difference, this was successfully tested with identical db var and squid configuration, so I suspect something blocking access from the proxy server specifically. |
@mikeshimkus,
I changed the "Public network access" setting to "Enabled from selected virtual networks and IP addresses".
And at Firewall rules section, I added the global address of squid proxy server. |
Thanks. It might be helpful to configure the storage account like the ARM templates do just for testing, for example: https://github.com/F5Networks/f5-azure-arm-templates-v2/blob/9efd07d357ef01e35e5db0a95a7ac6debca15a57/examples/modules/bigip-standalone/bigip.json#L424 I have placed this issue in the queue and will update here with the outcome. |
I tested using StorageAccount of ARM standalone BigIP Template with the same result. This 502 error symptom did not improve. I found a similar problem was raised with axios. issues-5078 |
@yamashin55 We just released https://github.com/F5Networks/f5-cloud-failover-extension/releases/tag/v2.1.1 with a fix for this issue. |
@mikeshimkus It's working fine with the new version(v2.1.1)! Thank you for your help!
Could you upload the rpm file when you have time. I think I have solved the problem. |
Do you already have an issue opened with F5 support?
No.
Description
Storage Account connections via proxy fail in an Azure environment.
Environment information
Severity Level
Severity: <3>
Log Detailed
It has already been confirmed that connections without proxy settings (direct) work correctly.
Failure logs when using proxies.
/var/log/restnoded/restnoded.log
The text was updated successfully, but these errors were encountered: