Skip to content
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

Could not connect to host #2

Open
OGH2020 opened this issue Jul 26, 2020 · 1 comment
Open

Could not connect to host #2

OGH2020 opened this issue Jul 26, 2020 · 1 comment

Comments

@OGH2020
Copy link

OGH2020 commented Jul 26, 2020

Hello,

I was reading this: https://support.payline.com/hc/fr/articles/360013060220-XXXXX-Could-not-connect-to-host but i didn't find something helpful to resolve the problem.

TLS version: 1.3
PHP Version 7.4.4
I'm on localhost

I always get this error:

Array
(
    [result] => Array
        (
            [code] => XXXXX
            [longMessage] => Could not connect to host
            [shortMessage] => ERROR
            [partnerCode] => 
            [partnerCodeLabel] => 
        )

)

Any suggestion please?

Thanks

@neopheus
Copy link

disable proxy configuration
by default 127.0.0.1
port 5000

https://github.com/PaylineByMonext/payline-php-samples/blob/master/lib/CONFIG.php
$_SESSION['PROXY_HOST'] = '127.0.0.1'; $_SESSION['PROXY_PORT'] = '5000';

by

$_SESSION['PROXY_HOST'] = ''; $_SESSION['PROXY_PORT'] = '';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants