-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add support for IPv6 Addresses in ServiceAddressTrait #227
Comments
Thanks @jdpedrie, sorry I didn't respond until now. I marked this P1 , but wanted to check if there is a current user impact from this in google-cloud-php? |
No worries! Not much impact. The Firestore emulator supports both IPv6 and IPv4. We discovered the missing support when we were adding support for the emulator to Google Cloud PHP. The solution is to simply use the IPv4 address, and we informed users of that, but if someone were to use the IPv6 service address, they would encounter an error. |
Currently, GAX does not support IPv6 addresses. Providing an IPv6 hostname will raise
Google\ApiCore\ValidationException
.Example:
Output:
The text was updated successfully, but these errors were encountered: