From Austin.Shen at csiro.au Fri Nov 29 09:52:45 2024 From: Austin.Shen at csiro.au (Shen, Austin (S&A, Kensington WA)) Date: Fri, 29 Nov 2024 08:52:45 +0000 Subject: [Dachs-support] Protecting TAP service against usage Message-ID: Hello, I am trying to password protect my TAP service and have been following the instructions here: http://docs.g-vo.org/DaCHS/howDoI.html#protect-my-tap-service-against-usage. An issue that I am having is that once I create my local copy of the userconfig.rd (following instructions here: http://docs.g-vo.org/DaCHS/tutorial.html#the-userconfig-rdI), I cannot find a service element with . Instead, I have a . Then, when I add the line tapusers and run ?dachs serve exp //tap?, I get the following error message: *** Error: expireRDs needs [web]adminpasswd config item. Does anybody know how I go about fixing this issue? Cheers, Austin -------------- next part -------------- An HTML attachment was scrubbed... URL: From msdemlei at ari.uni-heidelberg.de Fri Nov 29 10:29:37 2024 From: msdemlei at ari.uni-heidelberg.de (Markus Demleitner) Date: Fri, 29 Nov 2024 10:29:37 +0100 Subject: [Dachs-support] Protecting TAP service against usage In-Reply-To: References: Message-ID: <20241129092937.3za2zsh7v5gqt4kt@victor> Hi Austin, On Fri, Nov 29, 2024 at 08:52:45AM +0000, Shen, Austin (S&A, Kensington WA) wrote: > I am trying to password protect my TAP service and have been > following the instructions here: > http://docs.g-vo.org/DaCHS/howDoI.html#protect-my-tap-service-against-usage. > > An issue that I am having is that once I create my local copy of > the userconfig.rd (following instructions here: > http://docs.g-vo.org/DaCHS/tutorial.html#the-userconfig-rdI), I > cannot find a service element with . > Instead, I have a . Then, when I add Oh, sorry. That's a documentation bug, and the NXSTREAM is what I meant. I'll fix the doc; thanks for the report. In case anyone is wondering: STREAMs expand macros while they are being replayed, NXSTREAM-s don't and it's the latter you want in this particular case because only then will macros within tapdescription be expanded be expanded when it's reasonable. But that's tangential here. > the line tapusers and run ?dachs serve exp > //tap?, I get the following error message: > > *** Error: expireRDs needs [web]adminpasswd config item. > > Does anybody know how I go about fixing this issue? You can just as well restart the server and be done with it. *If* you set the admin password , you can save on these restarts. The howdoI item should admittedly make it clearer that the expire part is optional as long as you don't mind restarting the server. Thanks, Markus