SLES SP6 rmt-cli sync failing

I have installed rmt sever and registered SLES in scc portal. When trying to sync rmt with scc portal I am getting below error. Anyone faced a similar issue?

rmt-cli sync
I, [2024-10-23T15:27:50.016632 #3209]  INFO -- : Downloading data from SCC
I, [2024-10-23T15:27:50.016838 #3209]  INFO -- : Loading product data from SCC
SCC API request failed. Error details:
Request URL: https://scc.suse.com/connect/organizations/products?page=1
Response code: 0
Return code: operation_timedout
Response body:

We do have proxy in the environment

It was due to bad proxy config. Its working as expected now.