metaregistrar / php-epp-client

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

Authentication error 2200 #87

Closed ankandc closed 7 years ago

ankandc commented 7 years ago

Now, while checking domain, it is showing the error "ERROR: Error 2200: Authentication error". This time hostname and port has been changed to: hostname=ssl://eppltest1.metaregistrar.com port=7000 Please tell us about the authentication error, where do we need to authenticate. Screenshot is attached. screenshot from 2017-02-16 18 01 14

ankandc commented 7 years ago

We think that there is a little problem. We have already white listed our IP address in SIDN. It would be very helpful if you could tell us about the problem or the places where we need to be authenticated to use your API successfully.

metaregistrar commented 7 years ago

Hello,

Do you have a login for our test website? https://eppltest1.metaregistrar.com/

You can only use our EPP service when you already have login to our systems.

whitelisting your IP address with SIDN has no use in this case, since you are not connecting to SIDN but to our services.

ankandc commented 7 years ago

Yes we do have a login for your test website https://eppltest1.metaregistrar.com/, our username is duc-ankan. We are able to manually check domains by logging in to your test website but when we are trying to check domain from your API it is showing "Error 2200: Authentication error". You can advice or ask anything if you think that might have been missed by us or done in a wrong way. Once again these are the contents of our settings.ini file which we have placed inside Examples folder of your API: interface=EppConnection hostname=ssl://eppltest1.metaregistrar.com port=7000 userid= (userid with which we are logging into your test site) password= (password with which we are logging into your test site).

metaregistrar commented 7 years ago

If you login to the site, on the menu left you have a menu item 'EPP' and 'Users'

There you see a username 'dualcube', you have to use this login. i don't know the password, but you can reset the password if you want .

ankandc commented 7 years ago

Thanks for the help, but since we are a registrar at SIDN so we are trying to connect to SIDN server using your API. We have modified your code a bit, we have created the connection as:

$conn = sidnEppConnection::create(ROOT.'/settings.ini')

For that we have also included:

use Metaregistrar\EPP\sidnEppConnection;

and in settings.ini file we have provided:

interface=EppConnection hostname=ssl://testdrs.domain-registry.nl port=700 userid= (login credentials of testdrs.domain-registry.nl) password=(login credentials of testdrs.domain-registry.nl)

That's it. Now, when we run the code we are getting error:

Checking 1 domain names ERROR: Error 2200: Authentication error

Can you please help?

Thanks in advance

Ankan Mondal

On Fri, Feb 17, 2017 at 3:45 PM, Ewout de Graaf notifications@github.com wrote:

If you login to the site, on the menu left you have a menu item 'EPP' and 'Users'

There you see a username 'dualcube', you have to use this login. i don't know the password, but you can reset the password if you want .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/metaregistrar/php-epp-client/issues/87#issuecomment-280611038, or mute the thread https://github.com/notifications/unsubscribe-auth/AYAE8RfT9hemKZY9nHqrFUjT6HMoATirks5rdXMpgaJpZM4MC-By .

metaregistrar commented 7 years ago

Can you try it like this:

so it is eppConnection::create()

and in the interface settings.ini you specify sidnEppConnection

In this way you can use the same code for various registries.

$conn = eppConnection::create(ROOT.'/settings.ini')

use Metaregistrar\EPP\eppConnection;

and in settings.ini file we have provided:

interface=sidnEppConnection hostname=ssl://testdrs.domain-registry.nl port=700 userid= (login credentials of testdrs.domain-registry.nl) password=(login credentials of testdrs.domain-registry.nl)

ankandc commented 7 years ago

We have got a new issue. Checking domains is now going smoothly. But while registering domains in https://eppltest1.metaregistrar.com we are getting an error "Error 2308: Validation of the transaction failed". It would be very helpful for us if you could give us any idea regarding the error and also tell us if is it possible or not to check demo registering of domains using test account.

metaregistrar commented 7 years ago

Hi,

Which domain name are you trying to register? Not all extensions will work on the test interface.

ankandc commented 7 years ago

We are trying to test register bol.nl. And we are getting the following response "Registering bol.nl ns1.metaregistrar.nl exists ns2.metaregistrar.nl exists Error 2308: Validation of the transaction failed".

ankandc commented 7 years ago

We have tried to register "bol.nl" and the response being "Registering bol.nl ns1.metaregistrar.nl exists ns2.metaregistrar.nl exists Error 2308: Validation of the transaction failed". So, are we trying something invalid? Can you provide any idea???

On Mon, Mar 6, 2017 at 8:21 PM, Ewout de Graaf notifications@github.com wrote:

Hi,

Which domain name are you trying to register? Not all extensions will work on the test interface.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/metaregistrar/php-epp-client/issues/87#issuecomment-284417381, or mute the thread https://github.com/notifications/unsubscribe-auth/AYAE8Vn8IiZx-IjgAOgfVb8pitSduxT6ks5rjB2KgaJpZM4MC-By .