-
Notifications
You must be signed in to change notification settings - Fork 165
Closed
Description
Hi, by every request I get Error 2001, what I'm doing wrong?
# php infodomain.php "test.nl"
Retrieving info on test.nl
ERROR: Error 2001: Command syntax error
==== LOG ====
-----CONNECT-----2017-02-23 13:12:44-----
Connection made
-----END-----2017-02-23 13:12:44-----
-----WRITE-----2017-02-23 13:12:44-----
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns:host="urn:ietf:params:xml:ns:host-1.0">
<command>
<login>
<clID>XXX</clID>
<pw><![CDATA[XXX]]></pw>
<options>
<version>1.0</version>
<lang>en</lang>
</options>
<svcs>
<objURI>urn:ietf:params:xml:ns:domain-1.0</objURI>
<objURI>urn:ietf:params:xml:ns:contact-1.0</objURI>
<objURI>urn:ietf:params:xml:ns:host-1.0</objURI>
</svcs>
</login>
<clTRID>XXX</clTRID>
</command>
</epp>
-----END-----2017-02-23 13:12:44-----
-----READ-----2017-02-23 13:12:44-----
<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
<response>
<result code="2001">
<msg>Command syntax error</msg>
</result>
<trID>
<clTRID>XXX</clTRID>
<svTRID>SIDN</svTRID>
</trID>
</response>
</epp>
-----END-----2017-02-23 13:12:44-----
-----DISCONNECT-----2017-02-23 13:12:44-----
Disconnected
-----END-----2017-02-23 13:12:44-----
infodomain.php (only changed/added the following from example):
[...]
new Metaregistrar\EPP\sidnEppConnection();
[...]
$conn = eppConnection::create('settings.ini', true)
[...]
settings.ini:
interface=eppConnection
hostname=ssl://drs.domain-registry.nl
port=700
userid=XXX
password=XXX
Metadata
Metadata
Assignees
Labels
No labels