metaregistrar / php-epp-client

Object-oriented PHP EPP Client
https://www.metaregistrar.com/docs/
MIT License
213 stars 156 forks source link

eppException: Unexpected closed connection by remote host... #94

Closed jvsplunder closed 7 years ago

jvsplunder commented 7 years ago
$conn = new eppConnection();
$conn->setHostname('ssl://eppltest1.metaregistrar.com');
$conn->setPort(7000);
$conn->setUsername('');
$conn->setPassword('');
$conn->login();

I am using the following code, it throws an exception on the login function. I tried using a username and password from metaregistrar epp users, but gave the same result as not using any password.

metaregistrar commented 7 years ago

Hello Jesse,

Can you try $conn->connect(); before $conn->login() to see if the connection works?

jvsplunder commented 7 years ago

Then it fails at $conn->connect();

metaregistrar commented 7 years ago

Hello Jesse,

I have tried to recreate your problem and found that you must not use ssl:// in case of the test services. I will modify the documentation on this point.

$conn = new eppConnection(); $conn->setHostname('eppltest1.metaregistrar.com'); $conn->setPort(7000); $conn->setUsername(''); $conn->setPassword(''); $conn->login();

jvsplunder commented 7 years ago

I still have the problem, but this time it does check with username and password. so I guess I am using the wrong credentials? Can I contact you for more support about the epp? I am a customer of metaregistrar.

metaregistrar commented 7 years ago

Please mail for support to support@metaregistrar.com

albarranaufala commented 9 months ago

Can I know how finally you solve this problem? @jvsplunder @metaregistrar