bobinou / iss-domo

Convert ISS Imperihome to Domoticz / Freebox / XBMC / Jeedom
https://plus.google.com/communities/113236981415459933411
9 stars 4 forks source link

Error iss-domo display devices #7

Closed bran2000 closed 9 years ago

bran2000 commented 9 years ago

Hi,

Sorry after installed is-domo on my raspberry i've got this error when i go to this URL (ip is-domo:port/devices) : Guzzle \ Http \ Exception \ ClientErrorResponseException Client error response [status code] 401 [reason phrase] Unauthorized [url] http://localhost:8097/json.htm?type=plans

It can't display my devices, any idea ?

Thanks

bran2000 commented 9 years ago

This is the logs :

Guzzle \ Http \ Exception \ ClientErrorResponseException Client error response [status code] 401 [reason phrase] Unauthorized [url] http://localhost:8097/json.htm?type=plans Open: /var/www/iss-domo/vendor/guzzle/http/Guzzle/Http/Exception/BadResponseException.php

    $message = $label . PHP_EOL . implode(PHP_EOL, array(
        '[status code] ' . $response->getStatusCode(),
        '[reason phrase] ' . $response->getReasonPhrase(),
        '[url] ' . $request->getUrl(),
    ));

    $e = new $class($message);
    $e->setResponse($response);
    $e->setRequest($request);

Server/Request Data DOCUMENT_ROOT /var/www/iss-domo/public REMOTE_ADDR 192.168.0.8 REMOTE_PORT 56044 SERVER_SOFTWARE PHP 5.4.44-0+deb7u1 Development Server SERVER_PROTOCOL HTTP/1.1 SERVER_NAME 192.168.0.38 SERVER_PORT 8000 REQUEST_URI /devices REQUEST_METHOD GET SCRIPT_NAME /index.php SCRIPT_FILENAME /var/www/iss-domo/public/index.php PATH_INFO /devices PHP_SELF /index.php/devices HTTP_HOST 192.168.0.38:8000 HTTPACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,/_;q=0.8 HTTP_COOKIE laravel_session=eyJpdiI6Ijg4SUFoYUlcL1Y5WnpsTm11OUJjcUJRPT0iLCJ2YWx1ZSI6IkZxcWtIdkVKbmFDdDQ3OTNMUXZZSytcL2tEczAzNGxPNVRmbjhtSDdlME91YXM2TmtQdDVlb29QSjducFU5clJNMHJBY1ZvZGszNVFcL1FRTHhNMHFIVGc9PSIsIm1hYyI6ImYzNzM5M2Q4M2JlMDhjODEzNDQwYWZlOGU3NWU5NjAxODUxNmU4MTU3ZWU5NTlmODQ4ZTM5NmY3ZTM5ZmZmMDkifQ%3D%3D HTTP_USER_AGENT Mozilla/5.0 (iPhone; CPU iPhone OS 9_0 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13A4325c Safari/601.1 HTTP_ACCEPT_LANGUAGE fr-fr HTTP_ACCEPT_ENCODING gzip, deflate HTTP_CONNECTION keep-alive REQUEST_TIME_FLOAT 1440827773.4988 REQUEST_TIME 1440827773

bran2000 commented 9 years ago

Just for information, i have a Domoticz system

bran2000 commented 9 years ago

If i type this URL, it's working : domoticzip:8097/json.htm?type=plans I see my plans