I might need more information here... such as, what's the actual domain
name?  Are you registering this on live or test?  Is the order pended, or
did it process properly?

If the domain is not actually registered (API says ok, but if you have
"Process Orders Immediately" set to NO, it doesn't actually process) then
you cannot set the cookie :)

Charles Daminato
OpenSRS Product Manager
Tucows Inc. - [EMAIL PROTECTED]

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of klaus rubba
> Sent: January 30, 2002 1:13 PM
> To: [EMAIL PROTECTED]
> Subject: set_cookie authentication error
>
>
> Not sure if I'm missing something here: i use exact same
> username/password/registrantIP to register a domain and then try to set a
> cookie for that domain. The registration works fine, but
> set_cookie returns
> 'Authentication Error'. Any ideas? I've attached the xml passed to server
> for both requests (truncated contact_set for brevity).
>
> Thanks!!
>
> Attempt registration of domain somedomain.net
> ...
> <?xml version='1.0' encoding="UTF-8" standalone="no" ?>
> <!DOCTYPE OPS_envelope SYSTEM "ops.dtd"><OPS_envelope
> <header><version>0.9</version><msg_id>999</msg_id><msg_type>standa
> rd</msg_type></header>
> <body><data_block><dt_assoc>
> <item key="attributes"><dt_assoc>
> <item key="domain">somedomain.net</item>
> <item key="reg_type">new</item>
> <item key="reg_username">blahblah</item>
> <item key="reg_password">blahhalb</item>
> <item key="registrant_ip">123.123.123.123</item>
> <item key="affiliate_id">12345</item>
> <item key="period">0</item>
> <item key="bulk_order">0</item>
> <item key="link_domains">0</item>
> <item key="auto_renew">0</item>
> <item key="handle">process</item>
> <item key="email_bundle">0</item>
> <item key="custom_nameservers">0</item>
> <item key="custom_tech_contact">0</item>
>            <item key="contact_set">....</item></dt_assoc></item>
> <item key="protocol">XCP</item>
> <item key="action">SW_REGISTER</item>
> <item key="object">DOMAIN</item>
> </dt_assoc></data_block></body></OPS_envelope>
>
> Registration successful
>
> Set Cookie
> ...
> <?xml version='1.0' encoding="UTF-8" standalone="no" ?>
> <!DOCTYPE OPS_envelope SYSTEM "ops.dtd"><OPS_envelope>
> <header><version>0.9</version><msg_id>999</msg_id><msg_type>standa
> rd</msg_type></header>
> <body><data_block><dt_assoc><item key="attributes"><dt_assoc>
> <item key="reseller">54321</item>
> <item key="reseller_ip">111.111.111.111</item>
> <item key="domain">somedomain.net</item>
> <item key="reg_username">blahblah</item>
> <item key="reg_password">blahhalb</item>
> </dt_assoc></item>
> <item key="protocol">XCP</item>
> <item key="action">SET</item>
> <item key="object">COOKIE</item>
> <item key="registrant_ip">123.123.123.123</item>
> </dt_assoc></data_block></body></OPS_envelope>
>
> Server Response:
> ...
> <?xml version='1.0' encoding="UTF-8" standalone="no" ?>
> <!DOCTYPE OPS_envelope SYSTEM "ops.dtd"><OPS_envelope>
> <header><version>0.9</version></header>
> <body><data_block><dt_assoc>
> <item key="object">SET</item>
> <item key="response_text">Authentication Error</item>
> <item key="is_success">0</item>
> <item key="response_code">415</item>
> <item key="protocol">XCP</item>
> <item key="action">REPLY</item>
> </dt_assoc></data_block></body></OPS_envelope>
>
> Authentication Error
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>

Reply via email to