Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command "reload" broken due to HTTPS #20

Closed
Krinkle opened this issue Sep 6, 2015 · 2 comments
Closed

Command "reload" broken due to HTTPS #20

Krinkle opened this issue Sep 6, 2015 · 2 comments
Assignees
Milestone

Comments

@Krinkle
Copy link
Member

Krinkle commented Sep 6, 2015

Since HTTPS is enforced on Wikimedia wikis, the reload command seems to be broken.

For example:

<Krinkle> CVNBot8 reload wuu.wikipedia
<CVNBot8> Unable to reload: Unable to retrieve http://wuu.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces&format=xml from server. Error was: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
@Krinkle Krinkle self-assigned this Sep 6, 2015
Krinkle added a commit that referenced this issue Sep 6, 2015
@Krinkle Krinkle closed this as completed in 5dc7069 Sep 7, 2015
@Krinkle
Copy link
Member Author

Krinkle commented Sep 7, 2015

Looks like 5dc7069 didn't actually fix it.

However running mozroots --import --sync on the cvn-app servers and re-compiling the app with xbuild did fix it (even without that patch, following the redirect).

@Krinkle
Copy link
Member Author

Krinkle commented Sep 7, 2015

This command populates ~/.config/.mono/ for the current user (e.g. you, or root). Since countervandalism runs bot under a service account (cvn.cvnservice) which doesn't have a home directory, we need to populate the machine default at /usr/share/.mono/ instead, using:
sudo mozroots --import --sync --machine

Krinkle added a commit that referenced this issue Sep 7, 2015
@Krinkle Krinkle added this to the 1.22 milestone Dec 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant