Last modified: 2014-10-28 02:30:27 UTC
Created attachment 16910 [details] internal error I attempted to create a 2 question (multi option) global poll with approval voting. When I did so and pressed 'create poll' it hung for a while before going to an error page (see attached screen shot). It's possible this is happening for all polls but given the recent test polls created (but local only) I'm currently working under the assumption this is a global poll specific bug. The error gives the internal error screen and the message: Cannot contact the database server. Can't connect to MySQL server on '208.80.154.18' (4) (208.80.154.18))
This seems more like a database issue than a code issue, unless we're somehow deadlocking. Relevant messages from the logs appear to be these: dberror.log: Mon Oct 27 17:43:39 UTC 2014 mw1017 testwiki Error connecting to 208.80.154.18: Can't connect to MySQL server on '208.80.154.18' (4) Mon Oct 27 17:43:39 UTC 2014 mw1017 testwiki Connection error: Unknown error (208.80.154.18) I don't see anything relevant-looking in exception.log, fatal.log, hhvm.log, or hhvm-fatal.log.
Yeah, just for the record I was just able to create a local wiki election but this happened again when I tried to do a global one. It does appear I was able to create an enWiki one (though I haven't tried voting yet).
Looking at the config, it appears that the only wiki using '208.80.154.18' as a database is labswiki (https://wikitech.wikimedia.org).
Related to the wikitech migration last month. The xml dumps are also trying to connect from time to time. Need input from Andrew Bogott and Reedy who helped out with that migration iirc (cc'd them). Allowing external connectiosn to DB on 208.80.154.18 isn't necessarily what we want.