Using cookie from env variable `KM3NET_DB_COOKIE` does not seem to work
Trying to use the cookie from KM3NET_DB_COOKIE
I get the following error :
🐍km3net~$ mv .km3netdb_cookie .km3netdb_cookie.home
🐍km3net~$ export KM3NET_DB_COOKIE=$(cat $HOME/.km3netdb_cookie.home)
🐍km3net~$ detx 49
2023-06-21 15:33:42 ERROR ++ km3db: Access forbidden, your session has expired. Deleting the cookie (/Users/laurent/.km3netdb_cookie) and retrying once.
2023-06-21 15:33:43 ERROR ++ km3db: Access forbidden, your session has expired. Deleting the cookie (/Users/laurent/.km3netdb_cookie) and retrying once.
...
Note that the cookie itself is ok :
🐍km3net~$ mv .km3netdb_cookie.home .km3netdb_cookie
🐍km3net~$ unset KM3NET_DB_COOKIE
🐍km3net~$ detx 49 | wc -l
3461
Edited by Laurent Aphecetche