Giter Club home page Giter Club logo

Comments (3)

bshaffer avatar bshaffer commented on August 26, 2024 1

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.

acoulton avatar acoulton commented on August 26, 2024

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.

surikman avatar surikman commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.