Open Ajvj09 opened 2 years ago
Whatever env you are currently using cannot connect to the oracle cloud,
I have the same issue. Could you elaborate on what you mean by "Whatever env you are currently using cannot connect to the oracle cloud," I'm pretty new to linux, php, and to programming in general. Is my .env file faulty? or did you mean enviroment?
And what shall I do to fix it?
I have the same issue. Could you elaborate on what you mean by "Whatever env you are currently using cannot connect to the oracle cloud," I'm pretty new to linux, php, and to programming in general. Is my .env file faulty? or did you mean enviroment?
And what shall I do to fix it?
Certainly, based on the error information captured in your screenshot, it appears that the OciApi is encountering an issue when attempting to resolve iaas.amsterdam-1.oraclecloud.com during the initialization of an instance with HttpClient. This indicates that your runtime environment (referred to as "env") lacks a suitable DNS configuration to resolve this domain.
You can perform the following troubleshooting steps:
private function getBaseApiUrl(OciConfig $config, string $api = 'iaas'): string { return "https://$api.{$config->region}.oraclecloud.com/20160918"; }
to generate api addresses.If your API address is incorrect, it could be due to an error in the region configuration, or Oracle Cloud might have changed the API access address for your specific region. Verify the accuracy of the API address by checking the region configuration, and make sure it aligns with the correct API access address provided by Oracle Cloud.