Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't force CloudFlare DNS #9106

Closed
simon-tma opened this issue Mar 30, 2023 · 4 comments
Closed

Don't force CloudFlare DNS #9106

simon-tma opened this issue Mar 30, 2023 · 4 comments

Comments

@simon-tma
Copy link

Bug report

When trying to download PHPStan Pro on a network that has blocked CloudFlare's DNS servers (1.1.1.1 and 1.0.0.1), the download times out as it cannot resolve the domain name.

at 12:18:13 ❯ ./vendor/bin/phpstan analyse --pro
 149/149 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

Could not download the PHPStan Pro executable.
Connection to tls://fixer-download-api.phpstan.com:443 timed out after 5 seconds (ETIMEDOUT)
@mergeable
Copy link

mergeable bot commented Mar 30, 2023

This bug report is missing a link to reproduction at phpstan.org/try.

It will most likely be closed after manual review.

@ondrejmirtes
Copy link
Member

Hi, I just made the DNS server list configurable: phpstan/phpstan-src@f3711a2

If the connection fails, it's gonna print a helpful message how to change the configuration.

Should be made available in PHPStan 1.10.9. shortly.

@simon-tma
Copy link
Author

Perfect, thanks :)

@github-actions
Copy link

github-actions bot commented May 1, 2023

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants