RageAgainstThePixel / setup-ovr-platform-util

A GitHub Action to setup the ovr platform utility tool command alias
https://developer.oculus.com/resources/publish-reference-platform-command-line-utility/
MIT License
3 stars 1 forks source link

How to resolve 'Error: getaddrinfo ENOTFOUND securecdn.oculus.com'? #3

Closed AdamAtFloreo closed 9 months ago

AdamAtFloreo commented 11 months ago

When running setup-ovr-platform-util I occasionally get this error, causing my whole step to fail. Is there anything I can do to prevent this from happening, or is it just an intermittent network problem?

StephenHodgson commented 11 months ago

do you have logs you can share?

yeah this seems more like an oculus problem when it tries to auto update the util.

StephenHodgson commented 11 months ago

I use this daily in my live prod environment, so making sure I don't run into this would benefit us both!

AdamAtFloreo commented 11 months ago

do you have logs you can share?

yeah this seems more like an oculus problem when it tries to auto update the util.

Yes, I do. Terribly sorry I didn't include more than just the error message. I trust this is what you mean. Screenshot 2023-11-21 at 8 38 43 AM

StephenHodgson commented 11 months ago

Yeah that log is not terribly informational is it? 😅

StephenHodgson commented 11 months ago

It could be that they changed the URL to download the executable. I'll double check and see if it's still the same.

AdamAtFloreo commented 11 months ago

Not sure, because it's also an intermittent issue.

StephenHodgson commented 11 months ago

https://github.com/RageAgainstThePixel/setup-ovr-platform-util/blob/cef36a5a76d54cfad1f84039546d75852fa39cdf/src/index.js#L26

AdamAtFloreo commented 11 months ago

Has it changed? If it makes any difference, I am running this on a self-hosted macOS machine.

AdamAtFloreo commented 11 months ago

The link defined in index.js for the macOS download looks exactly the same as the direct download link on the Oculus website, except the latter also defines 'access_token' in the query string. I'm wondering if that could be related.

StephenHodgson commented 11 months ago

Has it changed? If it makes any difference, I am running this on a self-hosted macOS machine.

I also have self hosted Mac I can test.