Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command syntax error #20

Open
Riz350 opened this issue Jun 16, 2024 · 4 comments
Open

Command syntax error #20

Riz350 opened this issue Jun 16, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Riz350
Copy link

Riz350 commented Jun 16, 2024

Any ideas on how to solve this issue
Command syntax error Element '{urn:ietf:params:xml:ns:epp-1.0}extension': This element is not expected. (<string>, line 0)
for DomainCreateDNSSEC.php

Thank you.

@getpinga
Copy link
Owner

Can you post the logs here? Also which registry you use? Generic EPP or some specific?

@getpinga
Copy link
Owner

Logs are in logs directory

@Riz350
Copy link
Author

Riz350 commented Jun 17, 2024

[2024-06-18 01:32:56] Tembo.INFO: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <greeting> <svID>my EPP Server - ote</svID> <svDate>2024-06-17T17:32:56.048Z</svDate> <svcMenu> <version>1.0</version> <lang>en</lang> <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> <svcExtension> <extURI>urn:ietf:params:xml:ns:secDNS-1.1</extURI> <extURI>urn:ietf:params:xml:ns:rgp-1.0</extURI> <extURI>urn:ietf:params:xml:ns:idn-1.0</extURI> <extURI>urn:ietf:params:xml:ns:fee-0.7</extURI> <extURI>urn:ietf:params:xml:ns:launch-1.0</extURI> </svcExtension> </svcMenu> <dcp> <access> <all/> </access> <statement> <purpose> <admin/> <prov/> </purpose> <recipient> <ours/> <public/> </recipient> <retention> <stated/> </retention> </statement> </dcp> </greeting> </epp> [] []
[2024-06-18 01:32:56] Tembo.INFO: <?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>     <login>       <clID>datakl_a</clID>       <pw><![CDATA[887a750ba816429b]]></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>         <svcExtension>           <extURI>urn:ietf:params:xml:ns:secDNS-1.1</extURI>         </svcExtension>       </svcs>     </login>     <clTRID>tembo-login-1718645576162</clTRID>   </command> </epp> [] []
[2024-06-18 01:32:56] Tembo.INFO: <?xml version='1.0' encoding='UTF-8'?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <response> <result code="1000"> <msg>Command completed successfully</msg> </result> <trID> <clTRID>tembo-login-1718645576162</clTRID> <svTRID>5cd66ccf-746b-448e-b964-cdc05de7c014</svTRID> </trID> </response> </epp> [] []
[2024-06-18 01:32:56] Tembo.INFO: <?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">         <domain:name>redacted.my</domain:name>         <domain:period unit="y">1</domain:period>         <domain:ns>           <domain:hostObj>ns1.google.com</domain:hostObj> <domain:hostObj>ns2.google.com</domain:hostObj>          </domain:ns>         <domain:registrant>tembo007</domain:registrant>         <domain:contact type="admin">tembo007</domain:contact> <domain:contact type="tech">tembo007</domain:contact> <domain:contact type="billing">tembo007</domain:contact>          <domain:authInfo>           <domain:pw>Domainpw123@</domain:pw>         </domain:authInfo>       </domain:create>     <extension>       <secDNS:create xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1">         <secDNS:add>           <secDNS:dsData>             <secDNS:keyTag>33409</secDNS:keyTag>             <secDNS:alg>8</secDNS:alg>             <secDNS:digestType>1</secDNS:digestType>             <secDNS:digest>F4D6E26B3483C3D7B3EE17799B0570497FAF33BCB12B9B9CE573DDB491E16948</secDNS:digest>           </secDNS:dsData>           <secDNS:dsData>             <secDNS:keyTag>43409</secDNS:keyTag>             <secDNS:alg>8</secDNS:alg>             <secDNS:digestType>2</secDNS:digestType>             <secDNS:digest>F3D6E26B3483C3D7B3EE17799B0570497FAF33BCB12B9B9CE573DDB491E16564</secDNS:digest>           </secDNS:dsData>         </secDNS:add>       </secDNS:create>     </extension>     </create>     <clTRID>tembo-domain-createDNSSEC-1718645576407</clTRID>   </command> </epp> [] []
[2024-06-18 01:32:56] Tembo.INFO: <?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> <value> <msg>Element '{urn:ietf:params:xml:ns:epp-1.0}extension': This element is not expected. (&lt;string&gt;, line 0)</msg> </value> </result> <trID> <svTRID>b0f07be6-6cb4-40f9-95a6-4b4d9676cbe2</svTRID> </trID> </response> </epp> [] []
[2024-06-18 01:32:56] Tembo.INFO: <?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>     <logout/>     <clTRID>tembo-logout-1718645576632</clTRID>   </command> </epp> [] []
[2024-06-18 01:32:56] Tembo.INFO: <?xml version='1.0' encoding='UTF-8'?> <epp xmlns="urn:ietf:params:xml:ns:epp-1.0"> <response> <result code="1500"> <msg>Command completed successfully; ending session</msg> </result> <trID> <clTRID>tembo-logout-1718645576632</clTRID> <svTRID>e0b0846d-ec98-49f7-9dba-3b7335e9c4fb</svTRID> </trID> </response> </epp> [] []

I am using .my registry. Thanks.

@getpinga
Copy link
Owner

I noticed a bug exactly with this command. Please update to v0.9.2 and try again.

@getpinga getpinga self-assigned this Jun 18, 2024
@getpinga getpinga added the bug Something isn't working label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants