Menu

#88 (500) Internal Server Error when logging in

closed-fixed
nobody
None
2012-06-03
2012-04-24
Fraser
No

When creating a new instance of the Site class for http://en.wikipedia.org, the following error occurs:

The remote server returned an error: (500) Internal Server Error. Retrying in 60 seconds.

Perhaps something to do with the recent 1.20wmf1 deployment? See https://www.mediawiki.org/wiki/MediaWiki_1.20/wmf1/overview#API_and_bot-facing_changes

Discussion

  • Fraser

    Fraser - 2012-04-24

    Having done some more poking around, this seems to be a result of trying to access http://en.wikipedia.org/w/query.php? at the end of the GetInfo() function.

     
  • CodeDriller

    CodeDriller - 2012-04-24
    • status: open --> closed-fixed
     
  • CodeDriller

    CodeDriller - 2012-04-24

    Yes, I see, thanks for reporting that.

    The problem is bigger. MediaWiki API versioning system is broken in English Wikipedia: when http://en.wikipedia.org/w/api.php?version is called, no version numbers are shown, just $Id$.

    Temporary solution applied in version 2.100.

     
  • GanZ

    GanZ - 2012-05-02

    Looks like related problem (so, I didn't start the new bug): bot can't get large categories with at least 200 items - it gets only first 200 items.

     
  • CodeDriller

    CodeDriller - 2012-05-02
    • status: closed-fixed --> open-postponed
     
  • CodeDriller

    CodeDriller - 2012-06-03

    Fixed in version 2.101. Changes were made to accommodate to broken MediaWiki bot interface versioning system.

     
  • CodeDriller

    CodeDriller - 2012-06-03
    • status: open-postponed --> closed-fixed
     
  • GanZ

    GanZ - 2012-08-07

    Well, now it happened again: bot doesn't get api version and doesn't obtain large categories.

     
  • CodeDriller

    CodeDriller - 2012-08-07

    API version is no longer available, because API developers have discarded versioning system completely, at least for now.

    Large categories are obtained completely for me. Please provide some details: site, category, code...

     
  • GanZ

    GanZ - 2012-08-07

    I apologize for the anxiety - I used DotNetWikiBot version 2.100. 2.101 works fine.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.