Open bitozoid opened 3 months ago
This is my setup:
(setq dokuwiki-xml-rpc-url "http://my.server/foo/bar/lib/exe/xmlrpc.php") (setq dokuwiki-login-user-name "my-username") (setq url-proxy-services '(("no_proxy" . "^\\(localhost\\|127\\.0\\.0\\.1\\)") ("http" . "a.proxy.server:3128") ("https" . "a.proxy.server:3128")))
Then I have shortcuts for the following two functions (just the functions are shown, not the full setup of the keys).
(lambda() (interactive) (if (fboundp 'dokuwiki-list-pages-cached) (dokuwiki-list-pages-cached) (dokuwiki-login)))
(lambda() (interactive) (dokuwiki-save-page) (kill-current-buffer))
On first time login, everything works fine. Both shortcuts/functions work as expected.
However, after a period of inactivity (say a couple of hours), when I try to open a new page:
the page list is shown and I select a page,
I am asked for username like this (with the wrong default username):
Username [for http://my.server/foo/bar/lib/exe/xmlrpc.php]: bitozoid
I type the right username,
I am asked for the password,
I type the password, and then
I get Error during request: 401.
Error during request: 401
Btw, I have also setup an ~/.authinfo file that seems to be always ignored.
~/.authinfo
Using last commits:
I forgot to mention.
If I try again to dokuwiki-login I get:
dokuwiki-login
Login unsuccessful! Check if your dokuwiki-xml-rpc-url or login credentials are correct!
If I restart Emacs, it works again as expected.
This is my setup:
Then I have shortcuts for the following two functions (just the functions are shown, not the full setup of the keys).
On first time login, everything works fine. Both shortcuts/functions work as expected.
However, after a period of inactivity (say a couple of hours), when I try to open a new page:
the page list is shown and I select a page,
I am asked for username like this (with the wrong default username):
I type the right username,
I am asked for the password,
I type the password, and then
I get
Error during request: 401
.Btw, I have also setup an
~/.authinfo
file that seems to be always ignored.Using last commits: