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

<url> malformed 500 Internal Server Error - ClientException #68

Open
lucasaguilar opened this issue Mar 21, 2014 · 1 comment
Open

<url> malformed 500 Internal Server Error - ClientException #68

lucasaguilar opened this issue Mar 21, 2014 · 1 comment

Comments

@lucasaguilar
Copy link

Dear, I have the following configuration:

"require" : {
    "php" : ">=5.3.3",
    "symfony/symfony" : "2.3.*",
    "doctrine/orm" : ">=2.2.3,<2.4-dev",
    "doctrine/doctrine-bundle" : "1.2.*",
    "twig/extensions" : "1.0.*",
    "symfony/assetic-bundle" : "2.3.*",
    "symfony/swiftmailer-bundle" : "2.3.*",
    "symfony/monolog-bundle" : "2.3.*",
    "sensio/distribution-bundle" : "2.3.*",
    "sensio/framework-extra-bundle" : "2.3.*",
    "sensio/generator-bundle" : "2.3.*",
    "incenteev/composer-parameter-handler" : "~2.0",
    "besimple/sso-auth-bundle" : "1.0.*@dev"
},

"config.yml"

be_simple_sso_auth:
admin_sso:
protocol:
id: cas
version: 2
server:
id: cas
login_url: https://{dominioServerCAS}/service-auth/login #https://cas.server.tld/login
logout_url: https://{dominioServerCAS}/service-auth/logout #https://cas.server.tld/logout
#validation_url: #https://cas.server.tld/serviceValidate

"security"

intranet:
pattern: ^/cas/.*$
trusted_sso:
manager: admin_sso
login_action: false #BeSimpleSsoAuthBundle:TrustedSso:login
logout_action: false #BeSimpleSsoAuthBundle:TrustedSso:logout
login_path: /cas/login
check_path: /cas/login_check
#create_users: true
#created_users_roles: [ROLE_USER, ROLE_ADMIN]

"parameters.yml"
.
.
be_simple.sso_auth.client.option.curlopt_ssl_verifypeer.value: false

The system redirects me correctly to the CAS server and when I returned and I authenticate my application (with the correct ticket cas), I get the following error:

malformed
500 Internal Server Error - ClientException

"Stack Trace"

in C:\devweb\wamp\www\symfony\path\vendor\kriswallsmith\buzz\lib\Buzz\Client\Curl.php at line 29 -

            $errorMsg = curl_error($this->lastCurl);
            $errorNo  = curl_errno($this->lastCurl);
            throw new ClientException($errorMsg, $errorNo);
        }
        static::populateResponse($this->lastCurl, $data, $response);

"Logs"

CRITICAL - Uncaught PHP Exception Buzz\Exception\ClientException: " malformed" at C:\devweb\wamp\www\symfony\path\vendor\kriswallsmith\buzz\lib\Buzz\Client\Curl.php line 29

I hope your help, but I think it is a bug in the bundle

Lucas.-

@mbayou
Copy link

mbayou commented Nov 12, 2015

Did you find a solution ?

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

2 participants