|
发表于 2018-11-1 11:32:53
|
显示全部楼层
天猫精灵docker 的日志应该是这个吧
2018-11-01 03:30:05 stdout }" while reading response header from upstream, client: 172.17.0.1, server: _, request: "POST /gate.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "nas.redlucky.net:7443"
2018-11-01 03:30:05 stdout }
2018-11-01 03:30:05 stdout "deviceId":"light.xiaomi_philips_light"
2018-11-01 03:30:05 stdout "payload":{
2018-11-01 03:30:05 stdout },
2018-11-01 03:30:05 stdout "payLoadVersion":1
2018-11-01 03:30:05 stdout "messageId":"7b8c-1b0c-0552-530a05b074d8",
2018-11-01 03:30:05 stdout "name":"SetBrightnessResponse",
2018-11-01 03:30:05 stdout "namespace":"AliGenie.Iot.Device.Control",
2018-11-01 03:30:05 stdout "header":{
2018-11-01 03:30:05 stdout PHP message: {
2018-11-01 03:30:05 stdout PHP message: ----reseponse---
2018-11-01 03:30:05 stdout in /data/tmall-bot-x1/aligenies_request.php on line 600
2018-11-01 03:30:05 stdout PHP message: PHP Warning: file_get_contents(http://192.168.123.8:8123/api/services/light/turn_on): failed to open stream: HTTP request failed! HTTP/1.0 401 Unauthorized
2018-11-01 03:30:05 stdout PHP message: http://192.168.123.8:8123/api/services/light/turn_on
2018-11-01 03:30:05 stdout PHP message: {"entity_id":"light.xiaomi_philips_light","brightness_pct":50}
2018-11-01 03:30:05 stdout PHP message: user001
2018-11-01 03:30:05 stdout PHP message: {"header":{"messageId":"ad46a727-4886-4424-bb49-9e679058189a","name":"SetBrightness","namespace":"AliGenie.Iot.Device.Control","payLoadVersion":1},"payload":{"accessToken":"6370fbbf98bdbbcfd91c78609953a4643156bc7e","attribute":"brightness","deviceId":"light.xiaomi_philips_light","deviceType":"light","extensions":{"extension1":"","extension2":""},"value":"50"}}
2018-11-01 03:30:05 stdout PHP message: ----get-request---
2018-11-01 03:30:05 stdout PHP message: -------
2018-11-01 03:30:05 stdout PHP message: user001
2018-11-01 03:30:05 stdout 2018/11/01 11:30:04 [error] 294#294: *70 FastCGI sent in stderr: "PHP message: 6370fbbf98bdbbcfd91c78609953a4643156bc7e |
|