-
Notifications
You must be signed in to change notification settings - Fork 200
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
cURL error 56: SSL read: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac, errno 0 #74
Comments
Debugging it: \Query\Findable.php line 66: infinite loop:
|
Have you tried on another server? And just the example.php file? Did you update of change the server this code runs on? |
I tried it on my local instance, on the online dev env and the live website, the latter 2 give the error, my local hangs on the while loop. Nothing has been update since last week. Tried running the example.php locally in a new vagrant box, same result. edit: used a default debian box from vagrant, exact the same result, works for getting division and making the connection, fails on the first ->get(); no matter the model. |
What code are you executing? |
The connection is straight from the example, and then that code to get some results
|
I'm having no issues with this code using dev-master of this repo. Using a Laravel Homestead vagrant box for testing. |
it is really strange, a couple of lines above, I do: and that works fine too. But then the second request to \Accounts fails either with that infinite loop or with the error in my first post. I am stuck at the moment of where to go now. |
Okay, going to leave it here for today:
|
Okay, fixed it.. There is a limit on how much you can get through this library. I made my own curl set up and started testing with that. I noted that there is a big loop if you have more then 100 records. With only curl that wasn't a problem. This library with that while loop crashes. I fixed it by limiting with ['$top'=> 50] and a loop around it to check if it completly filled. |
Thanks you for the info @duncan-qabana. We're using this library in production and haven't experienced this with one of our clients before. I'll note this for my README rewrite, that is some cases this might be a problem with getting too much results. It's still odd this happens though. |
So after cache fail, a new one popped up for my clients. This time, I got no clue what is causing this, I tried reinstalling everything through composer, I restarted the services, checked my ssl cerificate. Nothing seems to have changed, anyone has this problem and a solution to it?
The text was updated successfully, but these errors were encountered: