spinto / secp Goto Github PK
View Code? Open in Web Editor NEWAn utility to access EO data from multiple repositories
License: GNU General Public License v3.0
An utility to access EO data from multiple repositories
License: GNU General Public License v3.0
Much like #2, secp
stopped working for us a couple weeks ago. Is there another update needed to make the login flow work?
We are using 3.2.4
[INFO ][secp] spawing worker #4 for url 'https://smos-diss.eo.esa.int/oads/data/SMOS_Open_V7/SM_OPER_MIR_SMUDP2_20230424T010036_20230424T015349_700_001_1.nc' > local '/smos/temp/'
[INFO ][secp] input URL list terminated. Waiting current worker to complete.'
[INFO ][secp][starting] url 'https://smos-diss.eo.esa.int/oads/data/SMOS_Open_V7/SM_OPER_MIR_SMUDP2_20230424T010036_20230424T015349_700_001_1.nc' > local '/smos/temp/'
[INFO ][secp][auth] EO IAM login page detected. Logging in and re-downloading the file...
[ERROR ][secp][auth] EO IAM page invalid. Missing idp address.
[INFO ][secp] worker 4 stopped'
when I installed the bash,encountered the following problems:
$ ./secp
./secp: line 1: syntax error near unexpected token <' ./secp: line 1:
You are being redirected.'
It seems the recent authentication updates have broken secp
. We run it like so:
secp -U -P 4 -C xxx:xxx -F L2_nc
and get a log like so:
[INFO ][secp][success] got URIs from 'L2_nc'
[INFO ][secp] spawing worker #4 for url 'https://smos-diss.eo.esa.int/oads/data/SMOS_Open/SM_OPER_MIR_SMUDP2_20201215T003720_20201215T013032_650_001_1.nc' > local '/tmp/'
[INFO ][secp] input URL list terminated. Waiting current worker to complete.'
[INFO ][secp][starting] url 'https://smos-diss.eo.esa.int/oads/data/SMOS_Open/SM_OPER_MIR_SMUDP2_20201215T003720_20201215T013032_650_001_1.nc' > local '/tmp/'
[INFO ][secp][auth] EO IAM login page detected. Logging in and re-downloading the file...
gawk: cmd. line:1: (FILENAME=/tmp/SM_OPER_MIR_SMUDP2_20201215T003720_20201215T013032_650_001_1.nc FNR=18) fatal: not enough arguments to satisfy format string
`RelayState=https%3A%2F%2Fsmos%2Ddiss%2Eeo%2Eesa%2Eint%2Foads%2Fdata%2FSMOS%5FOpen%2FSM%5FOPER%5FMIR%5FSMUDP2%5F20201215T003720%5F20201215T013032%5F650%5F001%5F1%2Enc'
^ ran out for this one
[ERROR ][secp][auth] Failed to login into EO IAM. Invalid response received.
[INFO ][secp] worker 4 stopped'
[INFO ][secp] Download completed.'
with /tmp/SM_OPER_MIR_SMUDP2_20201215T003720_20201215T013032_650_001_1.nc
containing
<!--
Variables https://smos-diss.eo.esa.int/oads/Shibboleth.sso/SAML2/POST, $response, $relayState and $additionalParams will be replaced by the corrosponding values
-->
<html>
<body>
<p>You are now redirected back to https://smos-diss.eo.esa.int/oads/Shibboleth.sso/SAML2/POST
If the redirection fails, please click the post button.</p>
<form method='post' action='https://smos-diss.eo.esa.int/oads/Shibboleth.sso/SAML2/POST'>
<p>
<!--$params-->
<input type='hidden' name='RelayState' value='https://smos-diss.eo.esa.int/oads/data/SMOS_Open/SM_OPER_MIR_SMUDP2_20201215T003720_20201215T013032_650_001_1.nc'/>
<input type='hidden' name='SAMLResponse' value='..snipped..'>
<!--$additionalParams-->
<button type='submit'>POST</button>
</p>
</form>
<script type='text/javascript'>
document.forms[0].submit();
</script>
</body>
</html>
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.