XML RPC changes between 3.7 and 3.9 yield 401 http error

lucas lucas at bourneuf.net
Wed Feb 24 17:05:51 EST 2021


On 24/02/2021 20:21, Chris Angelico wrote:
> On Thu, Feb 25, 2021 at 6:14 AM lucas <lucas at bourneuf.net> wrote:
>> I tested from the windows computer (Python 3.8, it appears, not 3.7 as i
>> thought), and got the following nginx log:
>>
>> [LAPTOP IP] - - [24/Feb/2021:20:06:42 +0100] "POST
>> /lib/exe/xmlrpc.php?u=[user]&p=[password] HTTP/1.1" 200 209 "-"
>> "DokuWikiXMLRPC  1.0  for testing windows"
>>
>> That other laptop also had an ubuntu installed, with python 3.6.9, so i
>> ran the program and got the expected output, and the following nginx log:
>> [LAPTOP IP] - - [24/Feb/2021:20:04:04 +0100] "POST
>> /lib/exe/xmlrpc.php?u=[user]&p=[password] HTTP/1.1" 200 209 "-"
>> "DokuWikiXMLRPC  1.0  for testing ubuntu"
>>
>> Both accessed correctly the dokuwiki version. Unless this is a platform
>> specific problem, it seems to narrow it to 3.9.
>>
> 
> Curious.
> 
> I think, at this point, we need a repeatable test case. Wonder how
> hard it would be to make a single Python script that has a tiny server
> and a tiny client, and tries to connect them.
> 
> ChrisA
> 
I will work on that tomorrow.

Thanks for your guidance, i will come back with a repeatable test case.

Best regards,
--lucas


More information about the Python-list mailing list