Giter VIP home page Giter VIP logo

secp's People

Contributors

spinto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

secp's Issues

secp EO IAM page invalid. Missing idp address

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'

issues when install

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.'

Is secp known to currently work?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.