mollie / laravel-mollie

Mollie API client wrapper for Laravel & Mollie Connect provider for Laravel Socialite
https://www.mollie.com/
MIT License
322 stars 60 forks source link

openssl error #137

Closed ruteeb closed 4 years ago

ruteeb commented 4 years ago

when I open my website asp-school.nl, the website gave me the following error message: Unable to communicate with Mollie (35): OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to api.mollie.nl:443 . (View: C:\inetpub\vhosts\asp-school.nl\laravel\resources\views\master2.blade.php) (View: C:\inetpub\vhosts\asp-school.nl\laravel\resources\views\master2.blade.php)

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

1.I check SSL certificate and it works fine 2. 3. 4.

Context

just open the website

Your Environment

ruteeb commented 4 years ago

if you attempt to refresh the page the website continues normally. sometimes the error not appear at all for a couple of hours

sandervanhooft commented 4 years ago

What laravel-mollie version are you using?

composer show mollie/laravel-mollie

ruteeb commented 4 years ago

where can I find it, please?

sandervanhooft commented 4 years ago

By running

composer show mollie/laravel-mollie

ruteeb commented 4 years ago

name : mollie/laravel-mollie descrip. : Mollie API client wrapper for Laravel & Mollie Connect provider for Laravel Socialite keywords : api, bancontact, banktransfer, belfius, belfius direct net, bitcoin, charges, creditcard, direct debit, gateway, ideal, laravel, lumen, mistercash, mollie, payment, payments, paypal, paysafecard, podiumcadeaukaart, recurring, refunds, sepa, service, socialite, sofort, sofortbanking, subscriptions versions : * v1.5.1 type : library license : BSD 2-Clause "Simplified" License (BSD-2-Clause) (OSI approved) https://spdx.org/licenses/BSD-2-Clause.html#licenseText homepage : https://github.com/mollie/laravel-mollie source : [git] https://github.com/mollie/laravel-mollie.git b49e597c5552e7ff36ae97a85a5a1c55f3bc6e07 dist : [zip] https://api.github.com/repos/mollie/laravel-mollie/zipball/b49e597c5552e7ff36ae97a85a5a1c55f3bc6e07 b49e597c5552e7ff36ae97a85a5a1c55f3bc6e07 path : C:\inetpub\vhosts\asp-school.nl\laravel\vendor\mollie\laravel-mollie names : mollie/laravel-mollie

autoload psr-4 Mollie\Laravel\ => src/

requires illuminate/contracts ^5.0 illuminate/support ^5.0 mollie/mollie-api-php ^1.9 php ^5.5.9 || ^7.0

requires (dev) graham-campbell/testbench ^3.1 mockery/mockery ^0.9.5 phpunit/phpunit ^4.8 || ^5.0

suggests laravel/socialite Use Mollie Connect (OAuth) to authenticate via Laravel Socialite with the Mollie API. This is needed for some endpoints.

sandervanhooft commented 4 years ago

There has been no update to this version (v1.5.1). Did you update any of the dependencies?

ruteeb commented 4 years ago

No

On Thu, 9 Jul 2020, 18:15 Sander van Hooft, notifications@github.com wrote:

There has been no update to this version (v1.5.1). Did you update any of the dependencies?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mollie/laravel-mollie/issues/137#issuecomment-656220466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNGPNGFOVWJJBFTVVUNR2TR2XUL5ANCNFSM4OVWTUGQ .

sandervanhooft commented 4 years ago

I'll check with Mollie support if this is a known issue (the open SSL message).

Meanwhile, I've checked both mollie/laravel-mollie and the underlying mollie/mollie-api-php packages, they're not initiating any calls on their own. Can you please check what is triggering these calls?

ruteeb commented 4 years ago

If I buy from mollie it is normal. Did you mean that?

sandervanhooft commented 4 years ago

I meant this:

@ruteeb wrote:

sometimes the error appears when I open a normal page, there is no need to pay via mollie to get this error message

The package will not call Mollie's API without being triggered by your app. So make sure you know what is triggering these calls when you're not preparing a payment.

Also, for security reasons, consider updating your Laravel installation. Laravel v5.2 went out of security support a long time ago.

ruteeb commented 4 years ago

there is no trigger when I open home page for example so I am really confused about that

ruteeb commented 4 years ago

I hope that you can help me in that

sandervanhooft commented 4 years ago

The 35 OPEN SSL error is usually caused by an outdated cURL installation. Can you update cURL?

ruteeb commented 4 years ago

I did not understand you totally, would you please give me a reference how to update curl?

ruteeb commented 4 years ago

I did search using google but i did not find how to update it

ruteeb commented 4 years ago

yes thank you I have a solution

sandervanhooft commented 4 years ago

Great, enjoy!