You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

OCI Internal Yum Repositories Not Accessible From Instance "Operation timed out after 30001"

edited Apr 30, 2024 9:27AM in Linux

Applies to: 

Oracle Cloud Infrastructure - Version N/A and later

Information in this document applies to any platform.


Symptoms

Yum operations show that one or more of the OCI internal regional Oracle Linux repositories is unreachable:

$ yum repolist...https://yum-<OCI-REGION>.oracle.com/repo/OracleLinux/.../repomd.xml:[Errno 12] Timeout on https://yum-<OCI-REGION>.oracle.com/repo/OracleLinux/.../repomd.xml:(28, 'Operation timed out after 30001 milliseconds with 0 out of 0 bytes received')Trying other mirror.$


Cause

/etc/yum.conf contains a proxy configuration:

proxy=http://<PROXY-IP-ADDRESS>:<PROXY-PORT>/

This causes yum to always use that proxy when connection to all repositories.


Solution

The OCI internal repositories ( are not accessible from the internet so the existing internet proxy is not able to reach them causing the timeout.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!