Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page is not redirecting correctly #12

Open
Segredo12 opened this issue Apr 15, 2019 · 1 comment
Open

Page is not redirecting correctly #12

Segredo12 opened this issue Apr 15, 2019 · 1 comment

Comments

@Segredo12
Copy link

Hey

I'm having a problem, I login with my CAS and my browser says "Page is not redirecting correctly".. I tried alot of things, but can't find the problem..

My Log:
020E .START (2019-04-15 16:14:36) XISCONNECT WCAS-1.3.6+ ****************** [CAS.php:475]
6B56 .START (2019-04-15 16:14:41) XISCONNECT WCAS-1.3.6+ ****************** [CAS.php:475]
1F45 .START (2019-04-15 16:14:41) XISCONNECT WCAS-1.3.6+ ****************** [CAS.php:475]
585A .START (2019-04-15 16:14:41) XISCONNECT WCAS-1.3.6+ ****************** [CAS.php:475]
9B6F .START (2019-04-15 16:14:41) XISCONNECT WCAS-1.3.6+ ****************** [CAS.php:475]
BC9A .START (2019-04-15 16:14:41) XISCONNECT WCAS-1.3.6+ ****************** [CAS.php:475]
E7C4 .START (2019-04-15 16:14:42) XISCONNECT WCAS-1.3.6+ ****************** [CAS.php:475]
01D3 .START (2019-04-15 16:14:42) XISCONNECT WCAS-1.3.6+ ****************** [CAS.php:475]
D24B .START (2019-04-15 16:14:42) XISCONNECT WCAS-1.3.6+ ****************** [CAS.php:475]
8430 .START (2019-04-15 16:14:42) XISCONNECT WCAS-1.3.6+ ****************** [CAS.php:475]
DE55 .START (2019-04-15 16:14:42) XISCONNECT WCAS-1.3.6+ ****************** [CAS.php:475]

I see no errors in there, so I'm wondering what the hell is wrong here, there's something you can do to help me ?

Cumpz,
Segredo12.

@Segredo12
Copy link
Author

I solve that. Now i'm having another issue..
3FE6 .START (2019-04-16 08:47:02) XISCONNECT WCAS-1.3.6+ ****************** [CAS.php:475]
3FE6 .Executing xisconnect wpcas_login_url function.. [xisconnect.php:169]
3FE6 .Service url: http://localhost/wordpress/wp-login.php [xisconnect.php:173]
3FE6 .Redirecting to http://localhost/wordpress/wp-login.php [xisconnect.php:183]
3FE6 .URL created, with service and redirect.. [xisconnect.php:187]
3FE6 .URL: http://localhost/wordpress/wp-login.php?redirect_to=http://localhost/wordpress/wp-login.php [xisconnect.php:188]
D25B .START (2019-04-16 08:47:13) XISCONNECT WCAS-1.3.6+ ****************** [CAS.php:475]
D25B .Executing xisconnect wpcas_login_url function.. [xisconnect.php:169]
D25B .Service url: http://localhost/wordpress/wp-login.php [xisconnect.php:173]
D25B .Redirecting to http://localhost/wordpress/wp-login.php [xisconnect.php:183]
D25B .URL created, with service and redirect.. [xisconnect.php:187]
D25B .URL: http://localhost/wordpress/wp-login.php?redirect_to=http://localhost/wordpress/wp-login.php [xisconnect.php:188]
D25B .Executing xisconnect bypass_login function.. [xisconnect.php:155]
D25B .=> phpCAS::isAuthenticated() [xisconnect.php:156]
D25B .| => CAS_Client::isAuthenticated() [CAS.php:1167]
D25B .| | => CAS_Client::_wasPreviouslyAuthenticated() [Client.php:1387]
D25B .| | | no user found [Client.php:1629]
D25B .| | <= false
D25B .| | SAML 1.1 ticket `ST-10-OhsK5ulWracayQIYcam1-xis-mine' is present [Client.php:1469]
D25B .| | => CAS_Client::validateSA('', NULL, NULL, false) [Client.php:1472]
D25B .| | | => CAS_Client::getServerSamlValidateURL() [Client.php:2061]
D25B .| | | | => CAS_Client::getURL() [Client.php:477]
D25B .| | | | | Final URI: http://localhost/wordpress/wp-login.php?redirect_to=http://localhost/wordpress/wp-login.php [Client.php:3528]
D25B .| | | | <= 'http://localhost/wordpress/wp-login.php?redirect_to=http://localhost/wordpress/wp-login.php'
D25B .| | | <= 'https://localhost:8081/xisCloud-CAS/samlValidate?TARGET=http%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php%3Fredirect_to%3Dhttp%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php'
D25B .| | | => CAS_Client::_readURL('https://localhost:8081/xisCloud-CAS/samlValidate?TARGET=http%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php%3Fredirect_to%3Dhttp%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php', NULL, NULL, NULL) [Client.php:2069]
D25B .| | | | => CAS_Client::_buildSAMLPayload() [Client.php:2810]
D25B .| | | | <= '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">SOAP-ENV:Header/SOAP-ENV:Body<samlp:Request xmlns:samlp="urn:oasis:names:tc:SAML:1.0:protocol" MajorVersion="1" MinorVersion="1" RequestID="_192.168.16.51.1024506224022" IssueInstant="2002-06-19T17:03:44.022Z">samlp:AssertionArtifactST-10-OhsK5ulWracayQIYcam1-xis-mine</samlp:AssertionArtifact></samlp:Request></SOAP-ENV:Body></SOAP-ENV:Envelope>'
D25B .| | | | => CAS_Request_CurlRequest::sendRequest() [AbstractRequest.php:242]
5502 .| | | | | curl_exec() failed [CurlRequest.php:77]
5502 .| | | | <= false
5502 .| | | <= false
5502 .| | | could not open URL 'https://localhost:8081/xisCloud-CAS/samlValidate?TARGET=http%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php%3Fredirect_to%3Dhttp%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php' to validate (CURL error #35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to localhost:8081 ) [Client.php:2071]
5502 .| | | => CAS_AuthenticationException::__construct(CAS_Client, 'SA not validated', 'https://localhost:8081/xisCloud-CAS/samlValidate?TARGET=http%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php%3Fredirect_to%3Dhttp%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php', true) [Client.php:2074]
5502 .| | | | => CAS_Client::getURL() [AuthenticationException.php:77]
5502 .| | | | <= 'http://localhost/wordpress/wp-login.php?redirect_to=http://localhost/wordpress/wp-login.php'
5502 .| | | | CAS URL: https://localhost:8081/xisCloud-CAS/samlValidate?TARGET=http%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php%3Fredirect_to%3Dhttp%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php [AuthenticationException.php:80]
5502 .| | | | Authentication failure: SA not validated [AuthenticationException.php:81]
5502 .| | | | Reason: no response from the CAS server [AuthenticationException.php:83]
5502 .| | | | exit()
5502 .| | | | -
5502 .| | | -
5502 .| | -
5502 .| -
3C0E .| | | | | curl_exec() failed [CurlRequest.php:77]
3C0E .| | | | <= false
3C0E .| | | <= false
3C0E .| | | could not open URL 'https://localhost:8081/xisCloud-CAS/samlValidate?TARGET=http%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php%3Fredirect_to%3Dhttp%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php' to validate (CURL error #35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to localhost:8081 ) [Client.php:2071]
3C0E .| | | => CAS_AuthenticationException::__construct(CAS_Client, 'SA not validated', 'https://localhost:8081/xisCloud-CAS/samlValidate?TARGET=http%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php%3Fredirect_to%3Dhttp%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php', true) [Client.php:2074]
3C0E .| | | | => CAS_Client::getURL() [AuthenticationException.php:77]
3C0E .| | | | <= 'http://localhost/wordpress/wp-login.php?redirect_to=http://localhost/wordpress/wp-login.php'
3C0E .| | | | CAS URL: https://localhost:8081/xisCloud-CAS/samlValidate?TARGET=http%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php%3Fredirect_to%3Dhttp%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php [AuthenticationException.php:80]
3C0E .| | | | Authentication failure: SA not validated [AuthenticationException.php:81]
3C0E .| | | | Reason: no response from the CAS server [AuthenticationException.php:83]
3C0E .| | | | exit()
3C0E .| | | | -
3C0E .| | | -
3C0E .| | -
3C0E .| -
D25B .| | | | | curl_exec() failed [CurlRequest.php:77]
D25B .| | | | <= false
D25B .| | | <= false
D25B .| | | could not open URL 'https://localhost:8081/xisCloud-CAS/samlValidate?TARGET=http%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php%3Fredirect_to%3Dhttp%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php' to validate (CURL error #35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to localhost:8081 ) [Client.php:2071]
D25B .| | | => CAS_AuthenticationException::__construct(CAS_Client, 'SA not validated', 'https://localhost:8081/xisCloud-CAS/samlValidate?TARGET=http%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php%3Fredirect_to%3Dhttp%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php', true) [Client.php:2074]
D25B .| | | | => CAS_Client::getURL() [AuthenticationException.php:77]
D25B .| | | | <= 'http://localhost/wordpress/wp-login.php?redirect_to=http://localhost/wordpress/wp-login.php'
D25B .| | | | CAS URL: https://localhost:8081/xisCloud-CAS/samlValidate?TARGET=http%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php%3Fredirect_to%3Dhttp%3A%2F%2Flocalhost%2Fwordpress%2Fwp-login.php [AuthenticationException.php:80]
D25B .| | | | Authentication failure: SA not validated [AuthenticationException.php:81]
D25B .| | | | Reason: no response from the CAS server [AuthenticationException.php:83]
D25B .| | | | exit()
D25B .| | | | -
D25B .| | | -
D25B .| | -
D25B .| -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant