Problem Statement
When trying to connect to Redpanda over an Azure Private endpoint using rpk a
"i/o timeout"error is reported
Resolution
Ensure the following :
- That 32092 is used for the port specified for the Private Link endpoint used in the rpk command (broker) e.g kafka-api-bootstrap-server-hostname:32092
- The rpk/kafka commands are being attempted from a VM that is running on the same Azure allowed subscription as configured in the setup following the Redpanda documentation
- The VM is on the same subnet/vnet as the Private endpoint
- If there is a Network Security Group attached either to the subnet or the VM network interface make sure it allows access to connect to the Private endpoint over 30292/tcp and also the range 32092-32094
If you still encounter issues, follow the Microsoft document for troubleshooting Private endpoint connectivity issues https://learn.microsoft.com/en-us/azure/private-link/troubleshoot-private-endpoint-connectivity
If all the above checks pass and you still encounter problems when trying to connect , or you have further questions, please reach out to Redpanda Support.