Comments (3)
Hello! Thank you for reporting this issue.
This has been fixed in googleapis/google-cloud-php#7077 and released in google/cloud-core: 1.15.0. Please update your dependencies and you should be set.
Sorry for the inconvenience.
from gax-php.
Just to confirm this error applies to all usages of InsecureCredentialsWrapper
from google/cloud-core - we're having the same issue connecting to a Cloud Tasks emulator.
I've proposed one possible solution at googleapis/google-cloud-php#7081 - my hunch is that's the right place to fix it, as that class is making quite a lot of assumptions about the internal / external API of CredentialsWrapper.
from gax-php.
Same error here ✋
We are using cloud-firestore-emulator
and this fails in our unit tests.
├ Error: Typed property Google\ApiCore\CredentialsWrapper::$universeDomain must not be accessed before initialization
│
│ /srv/www/vendor/google/gax/src/CredentialsWrapper.php:281
│ /srv/www/vendor/google/gax/src/Transport/GrpcTransport.php:260
│ /srv/www/vendor/google/gax/src/Transport/GrpcTransport.php:226
│ /srv/www/vendor/google/gax/src/GapicClientTrait.php:631
│ /srv/www/vendor/google/gax/src/Middleware/CredentialsWrapperMiddleware.php:58
│ /srv/www/vendor/google/gax/src/Middleware/FixedHeaderMiddleware.php:68
│ /srv/www/vendor/google/gax/src/Middleware/RetryMiddleware.php:89
│ /srv/www/vendor/google/gax/src/Middleware/OptionsFilterMiddleware.php:61
│ /srv/www/vendor/google/gax/src/Middleware/PagedMiddleware.php:66
│ /srv/www/vendor/google/gax/src/GapicClientTrait.php:817
│ /srv/www/vendor/google/gax/src/GapicClientTrait.php:774
│ /srv/www/vendor/google/cloud-firestore/src/V1/Gapic/FirestoreGapicClient.php:847
│ /srv/www/vendor/google/cloud-core/src/ExponentialBackoff.php:97
│ /srv/www/vendor/google/cloud-core/src/GrpcRequestWrapper.php:135
│ /srv/www/vendor/google/cloud-core/src/GrpcTrait.php:81
│ /srv/www/vendor/google/cloud-firestore/src/Connection/Grpc.php:233
│ /srv/www/vendor/google/cloud-core/src/Iterator/PageIteratorTrait.php:238
│ /srv/www/vendor/google/cloud-core/src/Iterator/PageIteratorTrait.php:177
│ /srv/www/vendor/google/cloud-core/src/Iterator/ItemIteratorTrait.php:136
from gax-php.
Related Issues (20)
- CredentialsWrapper doesn't use authCache when building ApplicationDefaultCredentials HOT 1
- syntax error, unexpected token "readonly", expecting identifier HOT 4
- PHP 8.1 Deprecation HOT 3
- Call to undefined method Google\Auth\CredentialsLoader::shouldLoadClientCertSource() HOT 2
- feat: add strict types to all class files
- Warning on PHP 8.1 in Polling Trait HOT 1
- ApiException::create() throws a fatal error when the error['message'] is not set. HOT 1
- how can i config auth http handler for CredentialsWrapper and how to make it become effective. HOT 4
- Feature Request: add GAPIC surface version to the x-goog header HOT 1
- Credential fetching exceptions aren't being handled HOT 3
- pollUntilComplete unauthenticated while (successfully) creating glossary HOT 1
- Creation of dynamic property Google\ApiCore\Tests\Unit\GapicClientTraitStub::$newClient is deprecated HOT 1
- Documentation generation is broken
- Bug Regarding URI Template HOT 2
- Error Google\ApiCore\Middleware\RetryMiddleware problem line 179 or 183 HOT 2
- v1.34.0 breaks the Google Ads API PHP users HOT 4
- segfault or memory exceeded for gRPC and invalid universe domain HOT 1
- CredentialsWrapper doesn't use authHttpClient when updating meta data HOT 5
- Support for Compute V2 Operations Client in OperationsResponse
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gax-php.