-
Notifications
You must be signed in to change notification settings - Fork 266
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
Failed to parse binary descriptor #640
Comments
Hi @rpmgr, I tried to reproduce this issue without success so far. Could you provide the following information? Your environment: You can paste the output generated by our complementary script: https://github.com/googleads/google-ads-php/blob/master/scripts/print_php_information.php. Alternatively, please provide with the following pieces of information:
Steps to reproduce: You can paste the piece of code that fails here. |
Environment: ================= PHP GENERAL INFORMATIONPHP Version 7.4.22The PHP Extension grpc is installed: 1.39.0. The PHP Extension protobuf is installed: 3.17.3. Since, I've installed the gRPC PHP extension, I think the client library is using `grpc` as a transport. Additional information:FYI: PHP Version and gRPC version in my dev is 7.4.21 and 1.38.0 respectively. ================================= Piece of code that fails:
|
Hi @PierrickVoulet, Some background: To reproduce the error:
I get the following error:
Also, could it be that my git command line is changing Thanks, |
@rpmgr Thank you for the additional information, this is helpful! If you have installed the C implementation of grpc and protobuf using PECL then you can use the Could you provide us with the actual code that you execute and that fails, and the error logs when it fails using |
Hi @PierrickVoulet, thank you for your quick response. The codes are separated into different class files as a method. I'll paste the methods involved below:
I don't have the server access so, I would have to print the Thanks, |
Thank you @PierrickVoulet for taking time to look into this. I've fixed this now and this issue can be closed. It seems to be the problem with the repo, during deployment it somehow might have corrupted binary files. However, when C implementation of I'm not sure if that's the intended behaviour. Thanks, |
I am glad you found the issue and thank you for sharing the resolution. I was able to reproduce the issue related to REST on my end as well, I created a new issue for it #641. |
Hi,
My code is working fine on Dev server but throws Error on Production server, am I missing anything on Production?
Error: Fatal Error (1): Failed to parse binary descriptor in [../app/Vendor/googleads/google-ads-php/metadata/Google/Ads/GoogleAds/V8/Services/ConversionUploadService.php, line 124]
Thanks in advance.
The text was updated successfully, but these errors were encountered: