kreait / laravel-firebase

A Laravel package for the Firebase PHP Admin SDK
https://github.com/kreait/firebase-php
MIT License
994 stars 163 forks source link

cURL error 28 #74

Closed tradechat closed 3 years ago

tradechat commented 3 years ago

Kreait\Firebase\Exception\Database\DatabaseError cURL error 28: Failed to connect to oauth2.googleapis.com port 443

This problem appears and disappears

jeromegamez commented 3 years ago

https://curl.se/libcurl/c/libcurl-errors.html

curl Error 28 is a connection timeout. If it happens sometimes and sometimes not, it's either the network connection of your environment or the remote host is not reachable, but unfortunately not this library (I say unfortunately because otherwise I could fix it :))