XMLRPC 'Authorization Failed'

Post Reply
dsanderson
New to forums
New to forums
Posts: 6
Joined: Sat Apr 02, 2011 4:16 pm

XMLRPC 'Authorization Failed'

Post by dsanderson » Sun Apr 03, 2011 4:08 pm

This is more directed at John/Founder as we disgussed this a bit and seems to know what he's talking about.

I have implemented the XMLRPC in .NET/C# and am at the point I am sending the MD5 authorization request. The server is responding "Authorization failed". I am sending the request as follows:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
    <methodName>authenticate 82DA4651DFD54D37149B626C38BDD5F0</methodName>
    <params />
</methodCall>
RConnect, the known program that is "said to work" with Crysis 2, also fails at this same step for me. So I know its not just me.

dsanderson
New to forums
New to forums
Posts: 6
Joined: Sat Apr 02, 2011 4:16 pm

Re: XMLRPC 'Authorization Failed'

Post by dsanderson » Sun Apr 03, 2011 4:14 pm

Nevermind, fixed.
The reason Rconnect doesnt work is it does not always compute the MD5 hash correctly.

User avatar
Edge100x
Founder
Founder
Posts: 12219
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: XMLRPC 'Authorization Failed'

Post by Edge100x » Sun Apr 03, 2011 4:16 pm

Is your hex string there the MD5 of $challengeresponse:$http_password ? $challengeresponse is the result of your first request to the server, calling the simple function "challenge".

Have you also tried with a lowercase MD5 hex string?

Are you certain that the password matches the one on your "Server control" page, and that the our tool also works with that password?

dsanderson
New to forums
New to forums
Posts: 6
Joined: Sat Apr 02, 2011 4:16 pm

Re: XMLRPC 'Authorization Failed'

Post by dsanderson » Sun Apr 03, 2011 5:11 pm

Image
Attachments
CrySAT.png
(38.5 KiB) Downloaded 106 times

dsanderson
New to forums
New to forums
Posts: 6
Joined: Sat Apr 02, 2011 4:16 pm

Re: XMLRPC 'Authorization Failed'

Post by dsanderson » Sun Apr 03, 2011 5:12 pm

By the way, Edge, you may not know but people cannot edit their own posts in the forums

User avatar
TimeX
Staff
Staff
Posts: 1387
Joined: Thu Jul 22, 2004 12:24 am
Location: Big Bear, CA

Re: XMLRPC 'Authorization Failed'

Post by TimeX » Sun Apr 03, 2011 5:31 pm

We actually had to disable that option. People editing their own posts was starting a number of issues, and in the end we decided that the benefit was not enough to offset the problems it was causing.
TimeX

Post Reply