The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
file_get_contents(): SSL operation failed with code 1 - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: file_get_contents(): SSL operation failed with code 1 (/showthread.php?tid=1056)



file_get_contents(): SSL operation failed with code 1 - brahm.pragya - 05-04-2018

Hello,
I am getting below error at the time of login. I didnt change anything but automatically this error come and I can not login.
Please help me to solve this issue.
Thank you.


Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routinesConfusedsl3_get_server_certificate:certificate verify failed in users\includes\recaptcha.config.php on line 86

Warning: file_get_contents(): Failed to enable crypto in users\includes\recaptcha.config.php on line 86

Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify?secret=6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe&remoteip=%3A%3A1&v=php_1.0&response=03AJpayVH4ZESMxIlebhDYrgQVHS2YlucNbM3RfQAFws6kOcyoERwqz3N6N0NU4H7Lt00TE91cgQSgqznTZ6e3LpDWsFhiV85WC8BFoIDwQYnIIC9R0qiVF78ocW1_ELmDGz1vD4DisJjN9k8TT9vbiVJAulpo8YKCIDqvRxvSm6ztaqu2Neq-MKmllH23-_sjdPACAqNxbD7wQe3AOcuvKUi27HCYkwOtYlXPbjbe6C4qVgqyYJEeol8FOBGit_xK8qxK2RzVNVjlteJ-nAwBEk0rOElwLtgHw0DThbQEEognIu9eiFEZ3J0sDqQDmZNH1iI74FO2R_XfuKG6zvVDyRAj76ed95e0JuJ65feevX9XR9jXoT_UC7sDhzlL6x4ceOMa2dtKuFXEidHH8RBfeoY2tqNnmDWcIg): failed to open stream: operation failed in users\includes\recaptcha.config.php on line 86


file_get_contents(): SSL operation failed with code 1 - mudmin - 05-09-2018

So that looks like a server configuration issue, but @brandin just made a few changes to that, so I'm going to have him look at it.

Do you think there's a chance that you put an http where there should be an https or vice versa?

Also, idk if you've ever used Discord (https://discord.gg/j25FeHu), but it's free and that's where all the userspice devs are and responses are a lot faster there.


file_get_contents(): SSL operation failed with code 1 - Brandin - 05-09-2018

So I have two responses to this:
1) Are you seeing this error on like a dev system (localhost?) where you don't use SSL? Or a production server? If production, do you use SSL?
2) Your recapatcha key-is it an Invisible one?
3) There is information at this link below that seems to be the resolution, but I haven't tested it yet, I just want to share it preliminary:
https://stackoverflow.com/questions/26148701/file-get-contents-ssl-operation-failed-with-code-1-and-more


file_get_contents(): SSL operation failed with code 1 - mudmin - 05-09-2018

We'll help you work through this and confirm if the problem is on your server or ours. Step 1...can you check php.ini on your server and make sure it has these two lines (or add them)...
extension=php_openssl.dll
allow_url_fopen = On

Also, do you know what version of php you're using?

Here's a SO post that we can look at to walk through this...
https://stackoverflow.com/questions/26148701/file-get-contents-ssl-operation-failed-with-code-1-and-more