italia / spid-sp-test

SAML2 SPID/CIE Service Provider validation tool
European Union Public License 1.2
39 stars 17 forks source link

Conneccions Errors with .authn_request.SatosaSaml2Spid #176

Open MdreW opened 1 month ago

MdreW commented 1 month ago

Hi all, I have some problems testing satosa with its authn plugin. When I run tests spid-sp-test fails to connect to itself as IDP. I have this error in satosa test configuration, but also with a working production server.

I think satosa plugin in spid-sp-test does not open the port as IDP server, I try to search for the reason but I can't find it... can someone help me?

This is the command executed:

spid_sp_test --metadata-url https://localhost/spidSaml2/metadata --authn-url "http://localhost:8000/saml2/login/?idp=https://localhost/Saml2IDP/metadata&next=/saml2/echo_attributes&idphint=https://localhost:8080" -ap spid_sp_test.plugins.authn_request.SatosaSaml2Spid --extra -tr

This is the full error:

CRITICAL:__main__:Errors occourred during Check, <class 'spid_sp_test.authn_request_extra.SpidSpAuthnReqCheckExtra'>: 
HTTPSConnectionPool(host='localhost', port=8080): Max retries exceeded with url: 
/samlsso?SAMLRequest=lVfJkqNIEr3nV6SpjrJqsSPSumqMfRGBxC50YxOLEPsmvn5IZXVaVU93z8yNcNw9nru%2FeAS%2F%2F2u%2BF69j3HZZVX7bwL9Bm399f%2Fm98%2B9F%2FUYPfVoacTPEXf%2B6%2BpXdW9R926R9X7%2FtdtM0%2FTahv1VtskMgCNpB1G71ibos%2BbL54f2e5ttmaMu3yu%2By7q3073H31odvJg3UN%2BQ36M3vurjt171%2FDqn%2FOaZuq74Kq2LzKnPfNln0ddL0zMslgLWZuz%2FpcL15df6oaA1Y%2FbpuiOWy6%2F2yX00Qgn2Foa8wasHUGwS%2F4dhl88qtRWal3z%2Bj3kvs1hqLKvSLtOr6tz20h3bv4Lqu2rwKVRvGz%2FZ82%2FTtEG9eTz9AMVkZZWXyzxUEH07dm2RZp6%2Bno2ltXuk%2FOsFWZTfc49aM2zELY9tQ%2FwLPzlyhIDs%2F7Hb1utx8f47s7Vlo%2Bw7v7vf%2FjOHdsvbu%2BnR9i8s%2B6x%2Bb73%2B30T3u%2Fcj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bi2b2B41lW1bDxRhKe1DCQcSpySDFfnwKudkmUm3dzJw9GHqpJSsRFTpjMUtv5ozGQ4Hpjut7cOyZHfpQtYd10zvD2T4d1AgZ4rsE%2BJCVc1NTyNNQObncxovwDOmC0ghzSC2RI7tihZmzaTVcLEYQC7eCT%2FPil8nAVyFyYdbT1AJRKFsHB2kG7eTKCq1jCBvv9S1ShAImkqOwklndSl0PJ7BCkS8HTHfH%2F%2B2MEaNSwAAaTNl0eswPJrEzXmYKNal%2BeMP7ELUsRPuIkddjbQxQwRiTKEUildAKAvDBYj2ydf2myviXwc4ncEQWRSFWDNGcxwrRXYX4ilKDFh%2FxEUIVSm4LlCMSFgyX6tJRodK8%2B90cBwTtaT8EVa6qc2SzU3SK5ORUoXYRhrGTXS7NonWy%2Bi8HnPzEIhLv419G43SsvYeUf5W7hq6d6m18QA2yKRu06n2p%2BeCyl%2Bh0iqebRI 
(Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x78b39ef97190>: Failed to establish a new connection: [Errno 111] Connection refused'))
Spid QA: executed 156 tests, 0 failed. 0 warnings.