Hi :)
We are experiencing a strange bug in 7.8.1
After installing and before changing the admin password is everything ok (client connexion, rest and restxq connexions, webdav connexion...)
But as soon as we change the admin password (best practice ? :p), the webdav connexion becomes impossible, and so the restxq connexion with a 404, while the rest connexion remains ok, like the client one.
WEBDAV example :
With the admin/admin password : mingarao@l100318:~$ cadaver http://localhost:8984/webdav Authentication required for BaseX on server `localhost': Username: admin Password: dav:/webdav/> ls Listing collection `/webdav/': succeeded. Coll: input 0 avril 1 16:49 Coll: my 0 avril 1 16:50 Coll: test 0 avril 1 16:49 dav:/webdav/>
After changing the admin password mingarao@l100318:~$ cadaver http://localhost:8984/webdav Could not open collection:*-> doesn't even ask for a login/password* Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/? ls The `ls' command can only be used when connected to the server. Try running `open' first (see `help open' for more details). dav:/webdav/? open http://localhost:8984/webdav Could not open collection: Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/?
Thanks a lot :) Maud
Hi Maud,
But as soon as we change the admin password (best practice ? :p), the webdav connexion becomes impossible, and so the restxq connexion with a 404, while the rest connexion remains ok, like the client one.
Yes, it's absolutely recommendable to change the admin password ;) Some questions in advance:
* How do you start the server (via "basexhttp", or by directly starting Jetty or Tomcat)? * How did you change the password? * Do you have some password data in your web.xml file, which may not match the new credentials?
Salutations, Christian
On Tue, Apr 1, 2014 at 5:11 PM, Maud Ingarao maud.ingarao@ens-lyon.fr wrote:
Hi :)
We are experiencing a strange bug in 7.8.1
After installing and before changing the admin password is everything ok (client connexion, rest and restxq connexions, webdav connexion...)
But as soon as we change the admin password (best practice ? :p), the webdav connexion becomes impossible, and so the restxq connexion with a 404, while the rest connexion remains ok, like the client one.
WEBDAV example :
With the admin/admin password : mingarao@l100318:~$ cadaver http://localhost:8984/webdav Authentication required for BaseX on server `localhost': Username: admin Password: dav:/webdav/> ls Listing collection `/webdav/': succeeded. Coll: input 0 avril 1 16:49 Coll: my 0 avril 1 16:50 Coll: test 0 avril 1 16:49 dav:/webdav/>
After changing the admin password mingarao@l100318:~$ cadaver http://localhost:8984/webdav Could not open collection: -> doesn't even ask for a login/password Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/? ls The `ls' command can only be used when connected to the server. Try running `open' first (see `help open' for more details). dav:/webdav/? open http://localhost:8984/webdav Could not open collection: Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/?
Thanks a lot :) Maud
--
<< Ne travaillez jamais >>
Maud Ingarao IHPC (UMR 5037) Institut d'histoire de la pensée classique, de l'Humanisme aux Lumières Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07 +33 4 37 37 65 79 - maud.ingarao@ens-lyon.fr
Je suis absente le vendredi | Out of office on Fridays
http://pensee-classique.ens-lyon.fr | http://institutdesanti.ens-lyon.fr http://ahn.ens-lyon.fr | http://forge.cbp.ens-lyon.fr/ http://www.mutec.huma-num.fr | http://www.projet-plume.org http://www.cahier.paris-sorbonne.fr/
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi christian Thanks for answering so quickly, wie immer :)
Yes, it's absolutely recommendable to change the admin password ;) Some questions in advance:
:)
- How do you start the server (via "basexhttp", or by directly
starting Jetty or Tomcat)?
basexhttp
- How did you change the password?
via the client, command PASSWORD
- Do you have some password data in your web.xml file, which may not
match the new credentials?
No, this happends before even editing the web.xml
Salutations, Christian
Bonne soirée :) Maud
On Tue, Apr 1, 2014 at 5:11 PM, Maud Ingarao maud.ingarao@ens-lyon.fr wrote:
Hi :)
We are experiencing a strange bug in 7.8.1
After installing and before changing the admin password is everything ok (client connexion, rest and restxq connexions, webdav connexion...)
But as soon as we change the admin password (best practice ? :p), the webdav connexion becomes impossible, and so the restxq connexion with a 404, while the rest connexion remains ok, like the client one.
WEBDAV example :
With the admin/admin password : mingarao@l100318:~$ cadaver http://localhost:8984/webdav Authentication required for BaseX on server `localhost': Username: admin Password: dav:/webdav/> ls Listing collection `/webdav/': succeeded. Coll: input 0 avril 1 16:49 Coll: my 0 avril 1 16:50 Coll: test 0 avril 1 16:49 dav:/webdav/>
After changing the admin password mingarao@l100318:~$ cadaver http://localhost:8984/webdav Could not open collection: *-> doesn't even ask for a login/password* Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/? ls The `ls' command can only be used when connected to the server. Try running `open' first (see `help open' for more details). dav:/webdav/? open http://localhost:8984/webdav Could not open collection: Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/?
Thanks a lot :) Maud
--
<< Ne travaillez jamais >>
Maud Ingarao IHPC (UMR 5037) Institut d'histoire de la pensée classique, de l'Humanisme aux Lumières Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07 +33 4 37 37 65 79 - maud.ingarao@ens-lyon.fr
Je suis absente le vendredi | Out of office on Fridays
http://pensee-classique.ens-lyon.fr | http://institutdesanti.ens-lyon.fr http://ahn.ens-lyon.fr | http://forge.cbp.ens-lyon.fr/ http://www.mutec.huma-num.fr | http://www.projet-plume.org http://www.cahier.paris-sorbonne.fr/
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi Maud,
merci pour les réponses. I installed cadaver, and I could easily reproduce this behavior.
The authentication will work as expected if you update the admin password in the webapp/WEB-INF/web.xml file [1]. But it's supposed to also function if the credentials are removed from the web.xml file. Beside that, I was surprised that you had to enter credentials with the default password at all! I will check if this issue is specific to the cadaver WebDAV client and give you an update soon.
Cheers, Christian
[1] http://docs.basex.org/wiki/Web_Application#Configuration
- How do you start the server (via "basexhttp", or by directly
starting Jetty or Tomcat)?
basexhttp
- How did you change the password?
via the client, command PASSWORD
- Do you have some password data in your web.xml file, which may not
match the new credentials?
No, this happends before even editing the web.xml
Salutations, Christian
Bonne soirée :) Maud
On Tue, Apr 1, 2014 at 5:11 PM, Maud Ingarao maud.ingarao@ens-lyon.fr wrote:
Hi :)
We are experiencing a strange bug in 7.8.1
After installing and before changing the admin password is everything ok (client connexion, rest and restxq connexions, webdav connexion...)
But as soon as we change the admin password (best practice ? :p), the webdav connexion becomes impossible, and so the restxq connexion with a 404, while the rest connexion remains ok, like the client one.
WEBDAV example :
With the admin/admin password : mingarao@l100318:~$ cadaver http://localhost:8984/webdav Authentication required for BaseX on server `localhost': Username: admin Password: dav:/webdav/> ls Listing collection `/webdav/': succeeded. Coll: input 0 avril 1 16:49 Coll: my 0 avril 1 16:50 Coll: test 0 avril 1 16:49 dav:/webdav/>
After changing the admin password mingarao@l100318:~$ cadaver http://localhost:8984/webdav Could not open collection: -> doesn't even ask for a login/password Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/? ls The `ls' command can only be used when connected to the server. Try running `open' first (see `help open' for more details). dav:/webdav/? open http://localhost:8984/webdav Could not open collection: Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/?
Thanks a lot :) Maud
--
<< Ne travaillez jamais >>
Maud Ingarao IHPC (UMR 5037) Institut d'histoire de la pensée classique, de l'Humanisme aux Lumières Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07 +33 4 37 37 65 79 - maud.ingarao@ens-lyon.fr
Je suis absente le vendredi | Out of office on Fridays
http://pensee-classique.ens-lyon.fr | http://institutdesanti.ens-lyon.fr http://ahn.ens-lyon.fr | http://forge.cbp.ens-lyon.fr/ http://www.mutec.huma-num.fr | http://www.projet-plume.org http://www.cahier.paris-sorbonne.fr/
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
I wonder if this is related? It seems to me that the port and host do not get picked up from the system properties in WEB_INF/jetty.xml.
<Set name="host"><SystemProperty name="org.basex.serverhost" default="0.0.0.0"/></Set> <Set name="port"><SystemProperty name="org.basex.serverport" default="8984"/></Set>
That is: In the following instructions step 3 should not be required. http://cubeb.blogspot.co.uk/2014/03/a-very-rough-guide-to-running-basex-on.h... I have never gotten around to investigating this further.
/Andy
On Tue, Apr 1, 2014 at 9:55 PM, Christian Grün christian.gruen@gmail.comwrote:
Hi Maud,
merci pour les réponses. I installed cadaver, and I could easily reproduce this behavior.
The authentication will work as expected if you update the admin password in the webapp/WEB-INF/web.xml file [1]. But it's supposed to also function if the credentials are removed from the web.xml file. Beside that, I was surprised that you had to enter credentials with the default password at all! I will check if this issue is specific to the cadaver WebDAV client and give you an update soon.
Cheers, Christian
[1] http://docs.basex.org/wiki/Web_Application#Configuration
- How do you start the server (via "basexhttp", or by directly
starting Jetty or Tomcat)?
basexhttp
- How did you change the password?
via the client, command PASSWORD
- Do you have some password data in your web.xml file, which may not
match the new credentials?
No, this happends before even editing the web.xml
Salutations, Christian
Bonne soirée :) Maud
On Tue, Apr 1, 2014 at 5:11 PM, Maud Ingarao maud.ingarao@ens-lyon.fr
wrote:
Hi :)
We are experiencing a strange bug in 7.8.1
After installing and before changing the admin password is everything ok (client connexion, rest and restxq connexions, webdav connexion...)
But as soon as we change the admin password (best practice ? :p), the
webdav
connexion becomes impossible, and so the restxq connexion with a 404,
while
the rest connexion remains ok, like the client one.
WEBDAV example :
With the admin/admin password : mingarao@l100318:~$ cadaver http://localhost:8984/webdav Authentication required for BaseX on server `localhost': Username: admin Password: dav:/webdav/> ls Listing collection `/webdav/': succeeded. Coll: input 0 avril 1 16:49 Coll: my 0 avril 1 16:50 Coll: test 0 avril 1 16:49 dav:/webdav/>
After changing the admin password mingarao@l100318:~$ cadaver http://localhost:8984/webdav Could not open collection: -> doesn't even ask for a login/password Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/? ls The `ls' command can only be used when connected to the server. Try running `open' first (see `help open' for more details). dav:/webdav/? open http://localhost:8984/webdav Could not open collection: Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/?
Thanks a lot :) Maud
--
<< Ne travaillez jamais >>
Maud Ingarao IHPC (UMR 5037) Institut d'histoire de la pensée classique, de l'Humanisme aux Lumières Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07 +33 4 37 37 65 79 - maud.ingarao@ens-lyon.fr
Je suis absente le vendredi | Out of office on Fridays
http://pensee-classique.ens-lyon.fr | http://institutdesanti.ens-lyon.fr http://ahn.ens-lyon.fr | http://forge.cbp.ens-lyon.fr/ http://www.mutec.huma-num.fr | http://www.projet-plume.org http://www.cahier.paris-sorbonne.fr/
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Hi Maud,
I found out that the authentication problem was specific to cadaver, and maybe some other WebDAV clients. The problem is fixed in the latest 8.0 snapshot [1]. This or next week, we are going release BaseX 7.8.2, which will also include this and some other fixes.
Bonne nuit, Christian
[1] http://files.basex.org/releases/latest/
On Tue, Apr 1, 2014 at 11:37 PM, Andy Bunce bunce.andy@gmail.com wrote:
I wonder if this is related? It seems to me that the port and host do not get picked up from the system properties in WEB_INF/jetty.xml.
<Set name="host"><SystemProperty name="org.basex.serverhost" default="0.0.0.0"/></Set> <Set name="port"><SystemProperty name="org.basex.serverport" default="8984"/></Set>
That is: In the following instructions step 3 should not be required. http://cubeb.blogspot.co.uk/2014/03/a-very-rough-guide-to-running-basex-on.h... I have never gotten around to investigating this further.
/Andy
On Tue, Apr 1, 2014 at 9:55 PM, Christian Grün christian.gruen@gmail.com wrote:
Hi Maud,
merci pour les réponses. I installed cadaver, and I could easily reproduce this behavior.
The authentication will work as expected if you update the admin password in the webapp/WEB-INF/web.xml file [1]. But it's supposed to also function if the credentials are removed from the web.xml file. Beside that, I was surprised that you had to enter credentials with the default password at all! I will check if this issue is specific to the cadaver WebDAV client and give you an update soon.
Cheers, Christian
[1] http://docs.basex.org/wiki/Web_Application#Configuration
- How do you start the server (via "basexhttp", or by directly
starting Jetty or Tomcat)?
basexhttp
- How did you change the password?
via the client, command PASSWORD
- Do you have some password data in your web.xml file, which may not
match the new credentials?
No, this happends before even editing the web.xml
Salutations, Christian
Bonne soirée :) Maud
On Tue, Apr 1, 2014 at 5:11 PM, Maud Ingarao maud.ingarao@ens-lyon.fr wrote:
Hi :)
We are experiencing a strange bug in 7.8.1
After installing and before changing the admin password is everything ok (client connexion, rest and restxq connexions, webdav connexion...)
But as soon as we change the admin password (best practice ? :p), the webdav connexion becomes impossible, and so the restxq connexion with a 404, while the rest connexion remains ok, like the client one.
WEBDAV example :
With the admin/admin password : mingarao@l100318:~$ cadaver http://localhost:8984/webdav Authentication required for BaseX on server `localhost': Username: admin Password: dav:/webdav/> ls Listing collection `/webdav/': succeeded. Coll: input 0 avril 1 16:49 Coll: my 0 avril 1 16:50 Coll: test 0 avril 1 16:49 dav:/webdav/>
After changing the admin password mingarao@l100318:~$ cadaver http://localhost:8984/webdav Could not open collection: -> doesn't even ask for a login/password Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/? ls The `ls' command can only be used when connected to the server. Try running `open' first (see `help open' for more details). dav:/webdav/? open http://localhost:8984/webdav Could not open collection: Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/?
Thanks a lot :) Maud
--
<< Ne travaillez jamais >>
Maud Ingarao IHPC (UMR 5037) Institut d'histoire de la pensée classique, de l'Humanisme aux Lumières Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07 +33 4 37 37 65 79 - maud.ingarao@ens-lyon.fr
Je suis absente le vendredi | Out of office on Fridays
http://pensee-classique.ens-lyon.fr | http://institutdesanti.ens-lyon.fr http://ahn.ens-lyon.fr | http://forge.cbp.ens-lyon.fr/ http://www.mutec.huma-num.fr | http://www.projet-plume.org http://www.cahier.paris-sorbonne.fr/
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Wonderful !! Thanks ;) (I forgot to tell you that this 401 authorization problem was occuring using oXygen for the webdav connexion as well)
--- Maud
Am 02.04.2014 um 00:07 schrieb Christian Grün christian.gruen@gmail.com:
Hi Maud,
I found out that the authentication problem was specific to cadaver, and maybe some other WebDAV clients. The problem is fixed in the latest 8.0 snapshot [1]. This or next week, we are going release BaseX 7.8.2, which will also include this and some other fixes.
Bonne nuit, Christian
[1] http://files.basex.org/releases/latest/
On Tue, Apr 1, 2014 at 11:37 PM, Andy Bunce bunce.andy@gmail.com wrote:
I wonder if this is related? It seems to me that the port and host do not get picked up from the system properties in WEB_INF/jetty.xml.
<Set name="host"><SystemProperty name="org.basex.serverhost" default="0.0.0.0"/></Set> <Set name="port"><SystemProperty name="org.basex.serverport" default="8984"/></Set>
That is: In the following instructions step 3 should not be required. http://cubeb.blogspot.co.uk/2014/03/a-very-rough-guide-to-running-basex-on.h... I have never gotten around to investigating this further.
/Andy
On Tue, Apr 1, 2014 at 9:55 PM, Christian Grün <christian.gruen@gmail.co m> wrote:
Hi Maud,
merci pour les réponses. I installed cadaver, and I could easily reproduce this behavior.
The authentication will work as expected if you update the admin password in the webapp/WEB-INF/web.xml file [1]. But it's supposed to also function if the credentials are removed from the web.xml file. Beside that, I was surprised that you had to enter credentials with the default password at all! I will check if this issue is specific to the cadaver WebDAV client and give you an update soon.
Cheers, Christian
[1] http://docs.basex.org/wiki/Web_Application#Configuration
- How do you start the server (via "basexhttp", or by directly
starting Jetty or Tomcat)?
basexhttp
- How did you change the password?
via the client, command PASSWORD
- Do you have some password data in your web.xml file, which may
not match the new credentials?
No, this happends before even editing the web.xml
Salutations, Christian
Bonne soirée :) Maud
On Tue, Apr 1, 2014 at 5:11 PM, Maud Ingarao <maud.ingarao@ens-lyon.fr
wrote:
Hi :)
We are experiencing a strange bug in 7.8.1
After installing and before changing the admin password is everything ok (client connexion, rest and restxq connexions, webdav connexion...)
But as soon as we change the admin password (best practice ? :p), the webdav connexion becomes impossible, and so the restxq connexion with a 404, while the rest connexion remains ok, like the client one.
WEBDAV example :
With the admin/admin password : mingarao@l100318:~$ cadaver http://localhost:8984/webdav Authentication required for BaseX on server `localhost': Username: admin Password: dav:/webdav/> ls Listing collection `/webdav/': succeeded. Coll: input 0 avril 1 16:49 Coll: my 0 avril 1 16:50 Coll: test 0 avril 1 16:49 dav:/webdav/>
After changing the admin password mingarao@l100318:~$ cadaver http://localhost:8984/webdav Could not open collection: -> doesn't even ask for a login/password Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/? ls The `ls' command can only be used when connected to the server. Try running `open' first (see `help open' for more details). dav:/webdav/? open http://localhost:8984/webdav Could not open collection: Impossible de s'authentifier auprès du serveur: missing realm in Basic challenge dav:/webdav/?
Thanks a lot :) Maud
--
<< Ne travaillez jamais >>
Maud Ingarao IHPC (UMR 5037) Institut d'histoire de la pensée classique, de l'Humanisme aux Lumières Ecole Normale Supérieure de Lyon - Site Descartes - Bureau R322 15 Parvis René Descartes - BP7000 - 69342 Lyon CEDEX 07 +33 4 37 37 65 79 - maud.ingarao@ens-lyon.fr
Je suis absente le vendredi | Out of office on Fridays
http://pensee-classique.ens-lyon.fr | http://institutdesanti.ens-lyon.fr http://ahn.ens-lyon.fr | http://forge.cbp.ens-lyon.fr/ http://www.mutec.huma-num.fr | http://www.projet-plume.org http://www.cahier.paris-sorbonne.fr/
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de