Jump to content

[Module] Opensrs - Beta 1.0.8 Relesed :)


PauloV

Recommended Posts

After recording payment for a domain renewal today, the domain was not renewed and the following error was recorded in the logs for the opensrs module:

 

rr-n1-tor.opensrs.net

O:9:"provRenew":23:{s:22:"�provRenew�_dataObject";O:8:"stdClass":3:{s:4:"func";s:9:"provRenew";s:4:"data";O:8:"stdClass":5:{s:6:"domain";s:21:"[domain.com]";s:6:"handle";s:7:"process";s:6:"period";s:1:"1";s:10:"auto_renew";s:1:"0";s:21:"currentexpirationyear";b:0;}s:7:"connect";O:8:"stdClass":10:{s:13:"osrs_username";s:6:"[username]";s:13:"osrs_password";s:11:"placeholder";s:8:"osrs_key";s:112:"xxxx";s:16:"osrs_environment";s:4:"PROD";s:9:"osrs_host";s:21:"rr-n1-tor.opensrs.net";s:9:"osrs_port";s:5:"55000";s:12:"osrs_sslport";s:5:"55443";s:13:"osrs_protocol";s:3:"XCP";s:21:"osrs_baseclassversion";s:5:"2.8.0";s:12:"osrs_version";s:7:"XML:0.1";}}s:24:"�provRenew�_formatHolder";s:5:"array";s:13:"resultFullRaw";N;s:9:"resultRaw";N;s:19:"resultFullFormatted";N;s:15:"resultFormatted";N;s:16:"�*�osrs_username";s:6:"[username]";s:16:"�*�osrs_password";s:11:"placeholder";s:11:"�*�osrs_key";s:112:"xxxx";s:19:"�*�osrs_environment";s:4:"PROD";s:16:"�*�osrs_protocol";s:3:"XCP";s:12:"�*�osrs_host";s:21:"rr-n1-tor.opensrs.net";s:12:"�*�osrs_port";s:5:"55000";s:15:"�*�osrs_sslPort";s:5:"55443";s:24:"�*�osrs_baseClassVersion";s:5:"2.8.0";s:15:"�*�osrs_version";s:7:"XML:0.1";s:13:"�*�crypt_type";s:3:"ssl";s:21:"�openSRS_base�_socket";b:0;s:29:"�openSRS_base�_socketErrorNum";b:0;s:29:"�openSRS_base�_socketErrorMsg";b:0;s:28:"�openSRS_base�_socketTimeout";i:120;s:32:"�openSRS_base�_socketReadTimeout";i:120;s:14:"�*�_opsHandler";O:11:"openSRS_ops":11:{s:12:"_OPS_VERSION";s:3:"0.9";s:4:"_OPT";s:0:"";s:7:"_SPACER";s:1:" ";s:5:"_CRLF";s:1:"

";s:12:"_MSGTYPE_STD";s:8:"standard";s:7:"_SESSID";i:3187;s:7:"_MSGCNT";i:0;s:4:"CRLF";s:2:"

";s:5:"_data";N;s:9:"_pointers";N;s:20:"_last_was_data_block";N;}}

 

Please advise.

 

 

Hello,

 

Sorry about the late reply, I was very sick for the last month and was half working in my company :)

 

For wat I see there was no error from OpenSRS, can you confirm with AopenSRS tecnitions, sending that log, what happend? maybe was some temporary problem on OpenSRS servers because there was no response form there servers.

 

Regards,

PV

Link to comment
Share on other sites

The error is consistent any time a renewal is attempted, and I have tried many different times.  Updating whois information, changing lock status, and changing nameservers all work fine with no error, so it does not seem to be a problem with opensrs servers.  Comparing the Output for a successful lock change request and the Output for a failed renewal, they are quite similar (including the references to _socketTimeout and _socketReadTimeout), except the failed renewal output has no response data on the last line between 's:5:"_data";' and 's:9:"_pointers";N;s:20:"_last_was_data_block";N;}}'.  Does the Input request look correct?

rr-n1-tor.opensrs.net
a:3:{s:4:"func";s:9:"provRenew";s:4:"data";a:5:{s:6:"domain";s:24:"[domain.com]";s:6:"handle";s:7:"process";s:6:"period";s:1:"1";s:10:"auto_renew";s:1:"0";s:21:"currentexpirationyear";b:0;}s:7:"connect";a:10:{s:13:"osrs_username";s:6:"[username]";s:13:"osrs_password";s:11:"placeholder";s:8:"osrs_key";s:4:"xxxx";s:16:"osrs_environment";s:4:"PROD";s:9:"osrs_host";s:21:"rr-n1-tor.opensrs.net";s:9:"osrs_port";s:5:"55000";s:12:"osrs_sslPort";s:5:"55443";s:13:"osrs_protocol";s:3:"XCP";s:21:"osrs_baseClassVersion";s:5:"2.8.0";s:12:"osrs_version";s:7:"XML:0.1";}}

Thanks for your help.

Link to comment
Share on other sites

The error is consistent any time a renewal is attempted, and I have tried many different times.  Updating whois information, changing lock status, and changing nameservers all work fine with no error, so it does not seem to be a problem with opensrs servers.  Comparing the Output for a successful lock change request and the Output for a failed renewal, they are quite similar (including the references to _socketTimeout and _socketReadTimeout), except the failed renewal output has no response data on the last line between 's:5:"_data";' and 's:9:"_pointers";N;s:20:"_last_was_data_block";N;}}'.  Does the Input request look correct?

rr-n1-tor.opensrs.net
a:3:{s:4:"func";s:9:"provRenew";s:4:"data";a:5:{s:6:"domain";s:24:"[domain.com]";s:6:"handle";s:7:"process";s:6:"period";s:1:"1";s:10:"auto_renew";s:1:"0";s:21:"currentexpirationyear";b:0;}s:7:"connect";a:10:{s:13:"osrs_username";s:6:"[username]";s:13:"osrs_password";s:11:"placeholder";s:8:"osrs_key";s:4:"xxxx";s:16:"osrs_environment";s:4:"PROD";s:9:"osrs_host";s:21:"rr-n1-tor.opensrs.net";s:9:"osrs_port";s:5:"55000";s:12:"osrs_sslPort";s:5:"55443";s:13:"osrs_protocol";s:3:"XCP";s:21:"osrs_baseClassVersion";s:5:"2.8.0";s:12:"osrs_version";s:7:"XML:0.1";}}
Thanks for your help.

Hello :)

I will talk tomorow with an opensra tecnition to help me on this because I cant detectar the problem to fix it :)

I will reply again as soon as i detectar PR the opensra replies to me :)

Regards,

PV

Link to comment
Share on other sites

  • 1 month later...
  • 11 months later...
  • 5 months later...
On 04/03/2018 at 2:51 AM, espservices said:

Hi @PauloV

Is this fully working with Blesta v4.2.2 + PHP 7.1 + MariaDB 10.1? 

Also I see you return back to the forum recently, so I just wanted to know if you are planing any update on this plugin? If yes, any timeframe?

Thanks and keep up the good work!

Hello :)

Didnt test but im going to update also :)

Regards,

Link to comment
Share on other sites

  • 1 year later...
  • 2 months later...
  • 3 months later...
  • 3 months later...

Hi ?,

I've got everything working wel now except one problem I have and I don't know what it is.

I try to transfer a (.be) domain from client side and try to activate it in admin, but I get a Invalid Domain error. The domain is ready for transfer.

The transfer code is build like this for example: 123-456-678-912-345

I tested it with a (.nl) transfer code and that works perfect, but is a different code build. I am using latest blesta version.

The error log is this:

rr-n1-tor.opensrs.net
O:14:"provSWregister":23:{s:27:"�provSWregister�_dataObject";O:8:"stdClass":4:{s:4:"func";s:14:"provSWregister";s:4:"data";O:8:"stdClass":11:
{s:6:"domain";s:15:"domain.be";s:13:"f_lock_domain";s:1:"1";s:18:"custom_nameservers";s:1:"1";s:12:"reg_username";s:14:"XXX";s:12:
"reg_password";s:19:"a123456dfdfd12";s:6:"period";s:1:"1";s:6:"handle";s:7:"process";s:8:"reg_type";s:8:"transfer";s:9:
"auth_info";s:19:"123-456-678-912-345";s:19:"custom_tech_contact";s:1:"0";s:15:"f_whois_privacy";s:1:"0";}s:7:"connect";O:8:"stdClass":10:
{s:13:"osrs_username";s:8:"XXX";s:13:"osrs_password";s:11:"placeholder";s:8:"osrs_key";s:112:"xxxx";s:16:"osrs_environment";
s:4:"PROD";s:9:"osrs_host";s:21:"rr-n1-tor.opensrs.net";s:9:"osrs_port";s:5:"55000";s:12:"osrs_sslport";s:5:"55443";
s:13:"osrs_protocol";s:3:"XCP";s:21:"osrs_baseclassversion";s:5:"2.8.0";s:12:"osrs_version";s:7:"XML:0.1";}s:5:
"owner";O:8:"stdClass":15:{s:10:"first_name";s:8:"First-name";s:9:"last_name";s:8:"Last-Name";s:8:"org_name";s:4:"Company-name";
s:8:"address1";s:9:"Adress 1";s:8:"address2";s:2:"Number of address";s:8:"address3";s:0:"";s:4:"city";s:7:"City";s:5:"state";
s:7:"City";s:11:"postal_code";s:4:"9000";s:7:"country";s:2:"BE";s:5:"email";s:30:"myemail@domain.com";s:5:"phone";s:14:"+32.0123456789";
s:3:"fax";s:0:"";s:3:"url";s:0:"";s:9:"lang_pref";s:2:"EN";}}s:29:"�provSWregister�_formatHolder";s:5:"array";s:13:"resultFullRaw";
N;s:9:"resultRaw";N;s:19:"resultFullFormatted";N;s:15:"resultFormatted";N;s:16:"�*�osrs_username";s:8:"XXX";s:16:"�*�osrs_password";
s:11:"placeholder";s:11:"�*�osrs_key";s:112:"xxxx";s:19:"�*�osrs_environment";s:4:"PROD";
s:16:"�*�osrs_protocol";s:3:"XCP";s:12:"�*�osrs_host";s:21:"rr-n1-tor.opensrs.net";
s:12:"�*�osrs_port";s:5:"55000";s:15:"�*�osrs_sslPort";s:5:"55443";s:24:"�*�osrs_baseClassVersion";s:5:"2.8.0";s:15:"�*�osrs_version";
s:7:"XML:0.1";s:13:"�*�crypt_type";s:3:"ssl";s:21:"�openSRS_base�_socket";
b:0;s:29:"�openSRS_base�_socketErrorNum";b:0;s:29:"�openSRS_base�_socketErrorMsg";
b:0;s:28:"�openSRS_base�_socketTimeout";i:120;s:32:"�openSRS_base�_socketReadTimeout";
i:120;s:14:"�*�_opsHandler";O:11:"openSRS_ops":11:{s:12:"_OPS_VERSION";s:3:"0.9";s:4:"_OPT";s:0:"";s:7:"_SPACER";s:1:" ";s:5:"_CRLF";s:1:"
";s:12:"_MSGTYPE_STD";s:8:"standard";s:7:"_SESSID";N;s:7:"_MSGCNT";N;s:4:"CRLF";s:2:"
";s:5:"_data";N;s:9:"_pointers";N;s:20:"_last_was_data_block";N;}}

I can't seem to figure out why the domain can't be transfer. Other domains work (no .be domains), but this one not?

Do you have an idea why this could happen?

Regards,

Nathan

Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...

Blesta 4.12 Beta Also What about HashKey Its giving me Error

$LIVE_host = "resellers.resellone.net";
$LIVE_port = 52000;
$LIVE_sslport = 52443;
$TEST_host = "horizon.opensrs.net";
$TEST_port = 55000;
$TEST_sslport = 55443;
I have Changed your File Still not working 

            $connectData["osrs_username"] = $user;
            $connectData["osrs_password"] = "placeholder";
            $connectData["osrs_key"] = $key;
            $connectData["osrs_environment"] = "PROD";
            $connectData["osrs_host"] = "resellers.resellone.net";
            $connectData["osrs_port"] = "52000";
            $connectData["osrs_sslPort"] = "52443";

Link to comment
Share on other sites

On 8/15/2020 at 6:43 PM, domaingood said:

Is this fully working with blesta v4.11.1 + PHP 7.4 + MYSQL 8? 
We are using Redhat 8 

Best Regards,
 

Hello Domaingood :)

Sorry for the late replies to all on Blesta Foruns and Discord :(

 

It should work in v4.X > + PHP 7.X > + MySql/MariaDB 8 >
 

1 hour ago, domaingood said:

Blesta 4.12 Beta Also What about HashKey Its giving me Error

$LIVE_host = "resellers.resellone.net";
$LIVE_port = 52000;
$LIVE_sslport = 52443;
$TEST_host = "horizon.opensrs.net";
$TEST_port = 55000;
$TEST_sslport = 55443;
I have Changed your File Still not working 

            $connectData["osrs_username"] = $user;
            $connectData["osrs_password"] = "placeholder";
            $connectData["osrs_key"] = $key;
            $connectData["osrs_environment"] = "PROD";
            $connectData["osrs_host"] = "resellers.resellone.net";
            $connectData["osrs_port"] = "52000";
            $connectData["osrs_sslPort"] = "52443";

Can you send me the error module log to see?

Regards,
PV

Link to comment
Share on other sites

resellers.resellone.net
a:3:{s:4:"func";s:12:"lookupDomain";s:4:"data";a:4:{s:6:"domain";s:7:"opensrs";s:7:"maximum";s:1:"1";s:8:"selected";s:4:".com";s:10:"defaulttld";s:4:".com";}s:7:"connect";a:10:{s:13:"osrs_username";s:5:"tuhin";s:13:"osrs_password";s:11:"placeholder";s:8:"osrs_key";s:4:"xxxx";s:16:"osrs_environment";s:4:"PROD";s:9:"osrs_host";s:23:"resellers.resellone.net";s:9:"osrs_port";s:5:"52000";s:12:"osrs_sslPort";s:5:"52443";s:13:"osrs_protocol";s:3:"XCP";s:21:"osrs_baseClassVersion";s:5:"2.8.0";s:12:"osrs_version";s:7:"XML:0.1";}}


 

Output

resellers.resellone.net
O:12:"lookupDomain":24:{s:21:"�lookupDomain�_domain";s:0:"";s:25:"�lookupDomain�_dataObject";O:8:"stdClass":3:{s:4:"func";s:12:"lookupDomain";s:4:"data";O:8:"stdClass":4:{s:6:"domain";s:7:"opensrs";s:7:"maximum";s:1:"1";s:8:"selected";s:4:".com";s:10:"defaulttld";s:4:".com";}s:7:"connect";O:8:"stdClass":10:{s:13:"osrs_username";s:5:"tuhin";s:13:"osrs_password";s:11:"placeholder";s:8:"osrs_key";s:112:"xxxx";s:16:"osrs_environment";s:4:"PROD";s:9:"osrs_host";s:23:"resellers.resellone.net";s:9:"osrs_port";s:5:"52000";s:12:"osrs_sslport";s:5:"52443";s:13:"osrs_protocol";s:3:"XCP";s:21:"osrs_baseclassversion";s:5:"2.8.0";s:12:"osrs_version";s:7:"XML:0.1";}}s:27:"�lookupDomain�_formatHolder";s:5:"array";s:13:"resultFullRaw";a:9:{s:12:"_OPS_version";s:3:"0.9";s:8:"protocol";s:3:"XCP";s:21:"request_response_time";s:5:"0.226";s:13:"response_text";s:30:"Command completed successfully";s:13:"response_code";s:3:"200";s:10:"attributes";a:1:{s:6:"lookup";a:5:{s:5:"items";a:1:{i:0;a:2:{s:6:"domain";s:11:"opensrs.com";s:6:"status";s:5:"taken";}}s:5:"count";s:1:"1";s:10:"is_success";s:1:"1";s:13:"response_code";s:3:"200";s:13:"response_text";s:31:"Command completed successfully.";}}s:19:"is_search_completed";s:1:"1";s:6:"action";s:5:"REPLY";s:10:"is_success";s:1:"1";}s:9:"resultRaw";a:1:{i:0;a:2:{s:6:"domain";s:11:"opensrs.com";s:6:"status";s:5:"taken";}}s:19:"resultFullFormatted";s:0:"";s:15:"resultFormatted";s:0:"";s:16:"�*�osrs_username";s:5:"tuhin";s:16:"�*�osrs_password";s:11:"placeholder";s:11:"�*�osrs_key";s:112:"xxxx";s:19:"�*�osrs_environment";s:4:"PROD";s:16:"�*�osrs_protocol";s:3:"XCP";s:12:"�*�osrs_host";s:23:"resellers.resellone.net";s:12:"�*�osrs_port";s:5:"52000";s:15:"�*�osrs_sslPort";s:5:"52443";s:24:"�*�osrs_baseClassVersion";s:5:"2.8.0";s:15:"�*�osrs_version";s:7:"XML:0.1";s:13:"�*�crypt_type";s:3:"ssl";s:21:"�openSRS_base�_socket";i:0;s:29:"�openSRS_base�_socketErrorNum";i:0;s:29:"�openSRS_base�_socketErrorMsg";s:0:"";s:28:"�openSRS_base�_socketTimeout";i:120;s:32:"�openSRS_base�_socketReadTimeout";i:120;s:14:"�*�_opsHandler";O:11:"openSRS_ops":11:{s:12:"_OPS_VERSION";s:3:"0.9";s:4:"_OPT";s:0:"";s:7:"_SPACER";s:1:";s:5:"_CRLF";s:1:"
";s:12:"_MSGTYPE_STD";s:8:"standard";s:7:"_SESSID";N;s:7:"_MSGCNT";i:1;s:4:"CRLF";s:2:"
";s:5:"_data";a:9:{s:12:"_OPS_version";s:3:"0.9";s:8:"protocol";s:3:"XCP";s:21:"request_response_time";s:5:"0.226";s:13:"response_text";s:30:"Command completed successfully";s:13:"response_code";s:3:"200";s:10:"attributes";a:1:{s:6:"lookup";a:5:{s:5:"items";a:1:{i:0;a:2:{s:6:"domain";s:11:"opensrs.com";s:6:"status";s:5:"taken";}}s:5:"count";s:1:"1";s:10:"is_success";s:1:"1";s:13:"response_code";s:3:"200";s:13:"response_text";s:31:"Command completed successfully.";}}s:19:"is_search_completed";s:1:"1";s:6:"action";s:5:"REPLY";s:10:"is_success";s:1:"1";}s:9:"_pointers";N;s:20:"_last_was_data_block";N;}}

 

Link to comment
Share on other sites

2 hours ago, domaingood said:

resellers.resellone.net
a:3:{s:4:"func";s:12:"lookupDomain";s:4:"data";a:4:{s:6:"domain";s:7:"opensrs";s:7:"maximum";s:1:"1";s:8:"selected";s:4:".com";s:10:"defaulttld";s:4:".com";}s:7:"connect";a:10:{s:13:"osrs_username";s:5:"tuhin";s:13:"osrs_password";s:11:"placeholder";s:8:"osrs_key";s:4:"xxxx";s:16:"osrs_environment";s:4:"PROD";s:9:"osrs_host";s:23:"resellers.resellone.net";s:9:"osrs_port";s:5:"52000";s:12:"osrs_sslPort";s:5:"52443";s:13:"osrs_protocol";s:3:"XCP";s:21:"osrs_baseClassVersion";s:5:"2.8.0";s:12:"osrs_version";s:7:"XML:0.1";}}


 

Output


resellers.resellone.net
O:12:"lookupDomain":24:{s:21:"�lookupDomain�_domain";s:0:"";s:25:"�lookupDomain�_dataObject";O:8:"stdClass":3:{s:4:"func";s:12:"lookupDomain";s:4:"data";O:8:"stdClass":4:{s:6:"domain";s:7:"opensrs";s:7:"maximum";s:1:"1";s:8:"selected";s:4:".com";s:10:"defaulttld";s:4:".com";}s:7:"connect";O:8:"stdClass":10:{s:13:"osrs_username";s:5:"tuhin";s:13:"osrs_password";s:11:"placeholder";s:8:"osrs_key";s:112:"xxxx";s:16:"osrs_environment";s:4:"PROD";s:9:"osrs_host";s:23:"resellers.resellone.net";s:9:"osrs_port";s:5:"52000";s:12:"osrs_sslport";s:5:"52443";s:13:"osrs_protocol";s:3:"XCP";s:21:"osrs_baseclassversion";s:5:"2.8.0";s:12:"osrs_version";s:7:"XML:0.1";}}s:27:"�lookupDomain�_formatHolder";s:5:"array";s:13:"resultFullRaw";a:9:{s:12:"_OPS_version";s:3:"0.9";s:8:"protocol";s:3:"XCP";s:21:"request_response_time";s:5:"0.226";s:13:"response_text";s:30:"Command completed successfully";s:13:"response_code";s:3:"200";s:10:"attributes";a:1:{s:6:"lookup";a:5:{s:5:"items";a:1:{i:0;a:2:{s:6:"domain";s:11:"opensrs.com";s:6:"status";s:5:"taken";}}s:5:"count";s:1:"1";s:10:"is_success";s:1:"1";s:13:"response_code";s:3:"200";s:13:"response_text";s:31:"Command completed successfully.";}}s:19:"is_search_completed";s:1:"1";s:6:"action";s:5:"REPLY";s:10:"is_success";s:1:"1";}s:9:"resultRaw";a:1:{i:0;a:2:{s:6:"domain";s:11:"opensrs.com";s:6:"status";s:5:"taken";}}s:19:"resultFullFormatted";s:0:"";s:15:"resultFormatted";s:0:"";s:16:"�*�osrs_username";s:5:"tuhin";s:16:"�*�osrs_password";s:11:"placeholder";s:11:"�*�osrs_key";s:112:"xxxx";s:19:"�*�osrs_environment";s:4:"PROD";s:16:"�*�osrs_protocol";s:3:"XCP";s:12:"�*�osrs_host";s:23:"resellers.resellone.net";s:12:"�*�osrs_port";s:5:"52000";s:15:"�*�osrs_sslPort";s:5:"52443";s:24:"�*�osrs_baseClassVersion";s:5:"2.8.0";s:15:"�*�osrs_version";s:7:"XML:0.1";s:13:"�*�crypt_type";s:3:"ssl";s:21:"�openSRS_base�_socket";i:0;s:29:"�openSRS_base�_socketErrorNum";i:0;s:29:"�openSRS_base�_socketErrorMsg";s:0:"";s:28:"�openSRS_base�_socketTimeout";i:120;s:32:"�openSRS_base�_socketReadTimeout";i:120;s:14:"�*�_opsHandler";O:11:"openSRS_ops":11:{s:12:"_OPS_VERSION";s:3:"0.9";s:4:"_OPT";s:0:"";s:7:"_SPACER";s:1:";s:5:"_CRLF";s:1:"
";s:12:"_MSGTYPE_STD";s:8:"standard";s:7:"_SESSID";N;s:7:"_MSGCNT";i:1;s:4:"CRLF";s:2:"
";s:5:"_data";a:9:{s:12:"_OPS_version";s:3:"0.9";s:8:"protocol";s:3:"XCP";s:21:"request_response_time";s:5:"0.226";s:13:"response_text";s:30:"Command completed successfully";s:13:"response_code";s:3:"200";s:10:"attributes";a:1:{s:6:"lookup";a:5:{s:5:"items";a:1:{i:0;a:2:{s:6:"domain";s:11:"opensrs.com";s:6:"status";s:5:"taken";}}s:5:"count";s:1:"1";s:10:"is_success";s:1:"1";s:13:"response_code";s:3:"200";s:13:"response_text";s:31:"Command completed successfully.";}}s:19:"is_search_completed";s:1:"1";s:6:"action";s:5:"REPLY";s:10:"is_success";s:1:"1";}s:9:"_pointers";N;s:20:"_last_was_data_block";N;}}

 

Hello :)

On your logs the comand is completed sucessfully :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...