google-api-php-client: Unsupported SSL context options are set. The following options are present, but have been ignored: cafile

Since earlier today (around 9:35AM EST), I’m getting this error message in the log:

  E 2015-07-09 10:35:51.967  200     779 B   889ms E 10:35:51.611 E 10:35:51.817 /get.php?u=xxxx@test.com&_=1436448941263
  190.188.222.26 - XXX [09/Jul/2015:06:35:51 -0700] "GET /get.php?u=xxxx@test.com&_=1436448941263 HTTP/1.1" 200 779 - "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.61 Safari/537.36" "mailroof-test.appspot.com" ms=889 cpu_ms=329 cpm_usd=0.000177 instance=00c61b117c0ffb0afc187ade6b0e941e8ff97f60 app_engine_release=1.9.24
  E 10:35:51.611 Unsupported SSL context options are set. The following options are present, but have been ignored: cafile

Still, the code seems to “work” in the sense that nothing is broken or missing in the functionality. But it is getting my log file full with this anoyment.

BTW, I was using PHP API 1.1.2 and today I upgraded to1.1.4 and later to the master version. I noticed the error log long after that and I thought that upgrade could be causing it. So I rolled back all the changes but still the error is there.

Any ideas of what could be causing this? and a solution?

PS: It seems to my like a ssl certificate error. Is it really possible?

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Reactions: 1
  • Comments: 26 (6 by maintainers)

Commits related to this issue

Most upvoted comments

@mxmz- The new version uses Guzzle behind the scenes which as I’ve seen adds the two options.

Still looking for a way to disable that!

I’m getting the same error, but with “allow_self_signed” as well as “cafile” being ignored.

@nebadom @karensg where exactly is the Stream.php file you are editing please? Couldn’t find it in the app engine folder on my Windows 7 box…

Thanks