Topic on Project:Support desk

Summary by MacFan4000

Created phabricator task.

2002:43F4:3186:1234:918D:6407:AB9E:810D (talkcontribs)

I installed pywikibot on my Mac running macOS 10.12.4. But when I run a script, I get the following errors:

WARNING: Http response status 302

WARNING: Non-JSON response received from server testwiki:en; the server may be down.

WARNING: Waiting 5 seconds before retrying.

WARNING: Http response status 302

WARNING: Non-JSON response received from server testwiki:en; the server may be down.

WARNING: Waiting 10 seconds before retrying.

(and so on and so on)

I am running Python version 2.7.13

any help would be great thanks.

67.244.49.134 (talkcontribs)

my wiki is running MediaWiki 1.28.2 on Debian 8. https is forced.

2002:43F4:3186:1234:6089:7C4D:BC05:8B44 (talkcontribs)

I really need help

TheDJ (talkcontribs)

Sounds like the API of your server is throwing errors. Have you checked the API is actually working ? Can you visit it's api.php endpoints ?

24.39.1.139 (talkcontribs)

Yes. mydomain.com/api.php brings up the standard API help page.

24.39.1.139 (talkcontribs)

I can alternately say that it works because Parsoid works, and if the API wasn't working than neither would VisualEditor.

2002:43F4:3186:1234:518C:9EC1:BD96:344C (talkcontribs)

I really would like to have this working ASAP.

XXN (talkcontribs)

If it's a private wiki, check if the configuration is set correctly for it - family file, etc. Don't forget also about user-config.py

24.39.1.139 (talkcontribs)

It's not private, it's public.

TheDJ (talkcontribs)
This post was hidden by 2002:43F4:3186:1234:710F:E53E:B40B:1404 (history)
This post was hidden by 2002:43F4:3186:1234:710F:E53E:B40B:1404 (history)