Skip to content

SEVERE: Read timed out #2

Description

@roek5803

When i follow the demo example to just send a DomainCheckCommand (https://github.com/AusRegistry/ari-toolkit/blob/master/src/main/java/com/ausregistry/jtoolkit2/demo/DomainCheckDemo.java) it works to send the hello and greeting command and to perform the login with "manager.startup()". But when i send the DomainCheckCommand i get an "SEVERE: Read timed out"

This is the console output when i run the demo:

Apr 20, 2017 9:48:16 AM com.ausregistry.jtoolkit2.session.SessionManagerImpl doConfigure
INFO: Logging configured from file: null
Apr 20, 2017 9:48:16 AM com.ausregistry.jtoolkit2.session.SessionManagerImpl startup
INFO: Startup
Apr 20, 2017 9:48:16 AM com.ausregistry.jtoolkit2.xml.XMLWriter toXML
INFO: <?xml version="1.0" encoding="UTF-8"?><!--ari java toolkit v3.7.3--><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>.20170420.094816.0</clTRID></command></epp>
Apr 20, 2017 9:48:20 AM com.ausregistry.jtoolkit2.session.TLSSession read
INFO: <?xml version="1.0" encoding="utf-8"?>
<epp xmlns:host="urn:ietf:params:xml:ns:host-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns:obj="urn:ietf:params:xml:ns:obj-1.0" xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <greeting>
    <svID>Ficora EPP Server</svID>
    <svDate>2017-04-20T10:48:19.8293692+03:00</svDate>
    <svcMenu>
      <version>1.0</version>
      <lang>en</lang>
      <objURI>urn:ietf:params:xml:ns:contact-1.0</objURI>
      <objURI>urn:ietf:params:xml:ns:nsset-1.2</objURI>
      <objURI>urn:ietf:params:xml:ns:domain-1.0</objURI>
      <svcExtension>
        <extURI>urn:ietf:params:xml:ns:secDNS-1.1</extURI>
        <extURI>urn:ietf:params:xml:ns:domain-ext-1.0</extURI>
      </svcExtension>
    </svcMenu>
    <dcp>
      <access>
        <personal />
      </access>
      <statement>
        <purpose>
          <prov />
        </purpose>
        <recipient>
          <ours />
          <public />
        </recipient>
        <retention>
          <stated />
        </retention>
      </statement>
    </dcp>
  </greeting>
</epp>
Apr 20, 2017 9:48:20 AM com.ausregistry.jtoolkit2.xml.XMLWriter toXML
INFO: <?xml version="1.0" encoding="UTF-8"?><!--ari java toolkit v3.7.3--><epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:host="urn:ietf:params:xml:ns:host-1.0" xmlns:obj="urn:ietf:params:xml:ns:obj-1.0">
  <greeting>
    <svID>Ficora EPP Server</svID>
    <svDate>2017-04-20T10:48:19.8293692+03:00</svDate>
    <svcMenu>
      <version>1.0</version>
      <lang>en</lang>
      <objURI>urn:ietf:params:xml:ns:contact-1.0</objURI>
      <objURI>urn:ietf:params:xml:ns:nsset-1.2</objURI>
      <objURI>urn:ietf:params:xml:ns:domain-1.0</objURI>
      <svcExtension>
        <extURI>urn:ietf:params:xml:ns:secDNS-1.1</extURI>
        <extURI>urn:ietf:params:xml:ns:domain-ext-1.0</extURI>
      </svcExtension>
    </svcMenu>
    <dcp>
      <access>
        <personal/>
      </access>
      <statement>
        <purpose>
          <prov/>
        </purpose>
        <recipient>
          <ours/>
          <public/>
        </recipient>
        <retention>
          <stated/>
        </retention>
      </statement>
    </dcp>
  </greeting>
</epp>
Apr 20, 2017 9:48:20 AM com.ausregistry.jtoolkit2.se.Greeting fromXML
INFO: <?xml version="1.0" encoding="UTF-8"?><!--ari java toolkit v3.7.3--><epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:host="urn:ietf:params:xml:ns:host-1.0" xmlns:obj="urn:ietf:params:xml:ns:obj-1.0">
  <greeting>
    <svID>Ficora EPP Server</svID>
    <svDate>2017-04-20T10:48:19.8293692+03:00</svDate>
    <svcMenu>
      <version>1.0</version>
      <lang>en</lang>
      <objURI>urn:ietf:params:xml:ns:contact-1.0</objURI>
      <objURI>urn:ietf:params:xml:ns:nsset-1.2</objURI>
      <objURI>urn:ietf:params:xml:ns:domain-1.0</objURI>
      <svcExtension>
        <extURI>urn:ietf:params:xml:ns:secDNS-1.1</extURI>
        <extURI>urn:ietf:params:xml:ns:domain-ext-1.0</extURI>
      </svcExtension>
    </svcMenu>
    <dcp>
      <access>
        <personal/>
      </access>
      <statement>
        <purpose>
          <prov/>
        </purpose>
        <recipient>
          <ours/>
          <public/>
        </recipient>
        <retention>
          <stated/>
        </retention>
      </statement>
    </dcp>
  </greeting>
</epp>
Apr 20, 2017 9:48:20 AM com.ausregistry.jtoolkit2.se.Greeting fromXML
INFO: (svID = Ficora EPP Server)(svDate = java.util.GregorianCalendar[time=?,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="UTC",offset=0,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2017,MONTH=3,WEEK_OF_YEAR=1,WEEK_OF_MONTH=1,DAY_OF_MONTH=20,DAY_OF_YEAR=1,DAY_OF_WEEK=5,DAY_OF_WEEK_IN_MONTH=1,AM_PM=0,HOUR=0,HOUR_OF_DAY=10,MINUTE=48,SECOND=19,MILLISECOND=829,ZONE_OFFSET=10800000,DST_OFFSET=0])(versions = (1.0))(languages = (en))(objURIs = (urn:ietf:params:xml:ns:contact-1.0,urn:ietf:params:xml:ns:nsset-1.2,urn:ietf:params:xml:ns:domain-1.0))
Apr 20, 2017 9:48:20 AM com.ausregistry.jtoolkit2.xml.XMLWriter toXML
INFO: <?xml version="1.0" encoding="UTF-8"?><!--ari java toolkit v3.7.3--><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><login><clID>clID</clID><pw>password</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:host-1.0</objURI><objURI>urn:ietf:params:xml:ns:contact-1.0</objURI></svcs></login><clTRID>clID.20170420.094820.0</clTRID></command></epp>
Apr 20, 2017 9:48:24 AM com.ausregistry.jtoolkit2.session.TLSSession read
INFO: <?xml version="1.0" encoding="utf-8"?>
<epp xmlns:host="urn:ietf:params:xml:ns:host-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns:obj="urn:ietf:params:xml:ns:obj-1.0" xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <response>
    <result code="1000">
      <msg>Command completed successfully</msg>
    </result>
    <trID>
      <clTRID>clID.20170420.094820.0</clTRID>
      <svTRID>h0wpmaw</svTRID>
    </trID>
  </response>
</epp>
Apr 20, 2017 9:48:24 AM com.ausregistry.jtoolkit2.session.TLSSession recordResponseTime
INFO: Response time for transaction of type login [3991ms] (first use).
Apr 20, 2017 9:48:24 AM com.ausregistry.jtoolkit2.xml.XMLWriter toXML
INFO: <?xml version="1.0" encoding="UTF-8"?><!--ari java toolkit v3.7.3--><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><check><check xmlns="urn:ietf:params:xml:ns:domain-1.0" xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd"><name>test.fi</name></check></check><clTRID>clID.20170420.094824.1</clTRID></command></epp>
Apr 20, 2017 9:48:54 AM com.ausregistry.jtoolkit2.session.TLSSession read
SEVERE: Read timed out
Apr 20, 2017 9:48:54 AM com.ausregistry.jtoolkit2.session.TLSSession read
SEVERE: Socket timeout occurred while trying to read data from an EPP session.
Apr 20, 2017 9:48:54 AM com.ausregistry.jtoolkit2.session.SessionManagerImpl execute
WARNING: Read timed out
Apr 20, 2017 9:48:54 AM com.ausregistry.jtoolkit2.session.SessionManagerImpl execute
WARNING: net.socket.closed
Apr 20, 2017 9:48:54 AM com.ausregistry.jtoolkit2.xml.XMLWriter toXML
INFO: <?xml version="1.0" encoding="UTF-8"?><!--ari java toolkit v3.7.3--><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><logout/><clTRID>clID.20170420.094854.2</clTRID></command></epp>
Apr 20, 2017 9:49:24 AM com.ausregistry.jtoolkit2.session.TLSSession read
SEVERE: Read timed out
Apr 20, 2017 9:49:24 AM com.ausregistry.jtoolkit2.session.TLSSession read
SEVERE: Socket timeout occurred while trying to read data from an EPP session.
Apr 20, 2017 9:49:24 AM com.ausregistry.jtoolkit2.session.TLSSession close
INFO: Read timed out
Apr 20, 2017 9:49:24 AM com.ausregistry.jtoolkit2.session.TLSSession close
INFO: Failed to write to socket; already closed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions