Using Rexx and Python code I have been uploading generated indices to our Fancyclopedia.org WikiDot site pretty much from it's beginning. A couple of day ago I started getting Protocol Errors that I don't remember ever getting before. The code on my end had not changed in a number of years before the errors started the it has changed since to correct the problem by uploading the pages with errors individually. The following is part of today's run:
39 135915 index:alphanumeric-4
40 145493 index:alphanumeric-5
Traceback (most recent call last):
File "F:\TOOLS\PYTHON\PUTPAGES.PY", line 106, in <module>
page = s.pages.save_one({'site': 'fancyclopedia', 'page': fullname, 'title': title, 'content': content})
File "C:\Python27\lib\xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "C:\Python27\lib\xmlrpclib.py", line 1591, in __request
verbose=self.__verbose
File "C:\Python27\lib\xmlrpclib.py", line 1273, in request
return self.single_request(host, handler, request_body, verbose)
File "C:\Python27\lib\xmlrpclib.py", line 1321, in single_request
response.msg,
xmlrpclib.ProtocolError: <ProtocolError for fancyclopedia:wpm6QEghXqdTQHKFDdll8uQLQOHt1xMG@www.wikidot.com/xml-rpc-api.php: 500 Internal Server Error>
41 86823 index:alphanumeric-6
42 50152 index:fancy-names
43 21699 index:fanac-names
44 182380 index:people-1
45 141917 index:people-2
46 169604 index:people-3
47 199369 index:people-4
48 198411 index:people-5
38 164076 index:alphanumeric-3
40 145493 index:alphanumeric-5
As you can see the pages with "errors" uploaded cleanly when the where re uploaded…
Is this a API bug? Any help or an explanation would be greatly appreciated…
Unfortunately, "500 Internal Server Errors don't offer specifics. It's basically a "something went wrong" generic message. I've seen it when a server is under load or has a service/process stuck. Sometimes simply retying the same thing works, but if there really is a server issue, all you can hope for is that one of the devs will investigate.
https://www.lifewire.com/500-internal-server-error-explained-2622938
It looks like you may have exposed your API key when pasting in your error log. You should regenerate it if that's the case.
Community Admin
Ouch, yes I missed that. I’ll do that ASAP.
Thanks
Jack Weaver Fanac Fan History Project