[EPP-discuss] poll requests and matching orders

From: Peter Larsen <peter.larsen_at_larsendata.dk>
Date: Thu, 7 Nov 2013 16:00:34 +0100

I have noted that i'm not able to make two domain creates for the same domain with two sessions, the second one is always rejected with "Domain already exists"


eg:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd"><response> <result code="2302"> <msg>Domain already exists</msg> </result> <trID><clTRID>0d31517270b0c1bae01a5dd7dc8cf2c7e330409f</clTRID><svTRID>3BB1C894-47BB-11E3-AC6B-0E232EEF2C3B</svTRID> </trID>
</response></epp>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

is this per registrar or for all registrars this feature, since it's per say not yet created but only queued?


or is it a feature since there is no tracking number from the create session in the Poll message (this is my first delayed response EPP system, so i'm not aware if this is a design feature or by accident)?

as we did mention on one of the meetings it's not very unusually to get a few domains every day that a few registrars try to register at the same time, sometime, more than one customer within the same hour for a domain, so if the poll message is never going to be with a unique identifier (in the email form we have our own orderid, here in EPP it could be my very unique clTRID you return in my poll message), you must make sure that there will never exist more than one of the same domain per registrar in queue, otherwise we properly would have issues figuring out who of the customer that "won".

make sure it's a unittest... it must never happend.. :)



>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0
     epp-1.0.xsd">
  <command>
    <create>
      <domain:create
       xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"
       xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0
       domain-1.0.xsd">
        <domain:name>perkølleogmadsbrydeandersenergud.dk</domain:name>
        <domain:period unit="y">1</domain:period>
  <domain:ns>
              <domain:hostObj>ns1.gratisdns.dk</domain:hostObj>
           <domain:hostObj>ns2.gratisdns.dk</domain:hostObj>
           <domain:hostObj>ns3.gratisdns.dk</domain:hostObj>
           <domain:hostObj>ns4.gratisdns.dk</domain:hostObj>
           <domain:hostObj>ns5.gratisdns.dk</domain:hostObj>
          </domain:ns>
        <domain:registrant>LDA386-DK</domain:registrant>
         
        <domain:authInfo>
          <domain:pw></domain:pw>
        </domain:authInfo>
      </domain:create>
    </create>
 <clTRID>d16ef1d3ac7c794389c698f55b51f8a1cc510c1d</clTRID>
  </command>
</epp>

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<?xml version="1.0" encoding="UTF-8" standalone="no"?><epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd"><response> <result code="1001"> <msg>Create domain pending for perkølleogmadsbrydeandersenergud.dk</msg> </result> <msgQ count="5" id="3559"><msg>Created domain for xxxxxxx.dk has been approved</msg> </msgQ> <extension> <dkhm:trackingNo xmlns:dkhm='urn:dkhm:params:xml:ns:dkhm-1.0'>2013110700165</dkhm:trackingNo> </extension> <trID><clTRID>d16ef1d3ac7c794389c698f55b51f8a1cc510c1d</clTRID><svTRID>D9F499CE-4792-11E3-9FEC-611E2EEF2C3B-2013110700165</svTRID> </trID>
</response></epp>

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
  <command>
              <poll op="req" />
               
    <clTRID>ABC-12345</clTRID>
  </command>
</epp>

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<?xml version="1.0" encoding="UTF-8" standalone="no"?><epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd"><response>
   <result code="1000"><msg>Poll message</msg> </result> <msgQ count="8" id="9126"><msg>Create domain pending for perkølleogmadsbrydeandersenergud.dk</msg> </msgQ> <trID><clTRID>ABC-12345</clTRID><svTRID>E2955B46-47B9-11E3-A6D9-0E232EEF2C3B</svTRID> </trID>
</response></epp>
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<











regards, Peter Larsen - ICANN Accredited registrar

My info: http://larsen.tel
Company info: http://larsendata.tel


Received on Thu Nov 07 2013 - 16:00:34 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 06 2015 - 11:39:19 CET