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

Mwoffliner fails always with mwurl is not valid #2099

Open
nish2482 opened this issue Nov 7, 2024 · 0 comments
Open

Mwoffliner fails always with mwurl is not valid #2099

nish2482 opened this issue Nov 7, 2024 · 0 comments

Comments

@nish2482
Copy link

nish2482 commented Nov 7, 2024

I am trying to run my mwoffliner for my wiki at path http://10.156.40.44/vascular_wiki and i get the error mwurl is invalid , even though i am able view my wiki at http://10.156.40.44/vascular_wiki .

attaching the output logs

docker run --volume=$(pwd)/out:/out -ti ghcr.io/openzim/mwoffliner:dev mwoffliner --mwUrl=http://10.156.40.44 --adminEmail=[email protected] --mwWikiPath=/vascular_wiki --insecure --mwActionApiPath=http://10.156.40.44/vascular_wiki/api.php

starting redis-server in the background…
[error] [2024-11-07T04:44:23.130Z] Failed to run mwoffliner after [0s]: {
"stack": "Error: mwUrl [http://10.156.40.44] is not valid.\n at file:///tmp/mwoffliner/lib/sanitize-argument.js:134:15\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async sanitize_mwUrl (file:///tmp/mwoffliner/lib/sanitize-argument.js:133:5)\n at async sanitize_all (file:///tmp/mwoffliner/lib/sanitize-argument.js:55:5)",
"message": "mwUrl [http://10.156.40.44] is not valid."
}
[error] [2024-11-07T04:44:23.132Z]

Also tried this way as well

[iresolve@iresolve-app1-us-east-1 ~]$ sudo docker run --volume=$(pwd)/out:/out -ti ghcr.io/openzim/mwoffliner mwoffliner --mwUrl=https://10.156.40.44 --adminEmail=[email protected] --mwWikiPath=/vascular_wiki --mwApiPath=https://10.156.40.44/vascular_wiki/api.php
starting redis-server in the background…
(node:13) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use node --trace-warnings ... to show where the warning was created)
[error] [2024-11-07T04:52:37.332Z] Failed to run mwoffliner after [0s]: {
"stack": "Error: mwUrl [https://10.156.40.44] is not valid.\n at file:///tmp/mwoffliner/lib/sanitize-argument.js:103:15\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async sanitize_mwUrl (file:///tmp/mwoffliner/lib/sanitize-argument.js:102:5)\n at async sanitize_all (file:///tmp/mwoffliner/lib/sanitize-argument.js:54:5)",
"message": "mwUrl [https://10.156.40.44] is not valid."
}
[error] [2024-11-07T04:52:37.333Z]


mwUrl [https://10.156.40.44] is not valid.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant