hjoon0510 / SmartSecretary

:partly_sunny: [KOI 2018] SmartSecretary tells users current weather and important schedule in front of door as a secretary.
Other
2 stars 1 forks source link

[완료, Dust API Server] Error with failed to open stream: HTTP request failed! HTTP/1.1 503 Service Temporarily Unavailable #13

Open hjoon0510 opened 6 years ago

hjoon0510 commented 6 years ago

Sometimes, API Server of fine dust doe not report normal messages.


Warning: file_get_contents(http://openapi.airkorea.or.kr/openapi/services/rest/ArpltnInforInqireSvc/getCtprvnRltmMesureDnsty?sidoName=서울&pageNo=1&numOfRows=30&ServiceKey=nVZ4Etly2opoB1u%2B8Y%2BuV3wcGlm75tl3BzC2%2FqUiGzFEnKuVV21oa%2FdYm%2BbI6o0oeeMzn5kuqtRhaxbaz5R4zg%3D%3D&ver=1.3): failed to open stream: HTTP request failed! HTTP/1.1 503 Service Temporarily Unavailable in /var/www/SmartSecretary/webpage/include/api-fine-dust.php on line 40

Notice: Trying to get property of non-object in /var/www/SmartSecretary/webpage/include/api-fine-dust.php on line 42

Notice: Trying to get property of non-object in /var/www/SmartSecretary/webpage/include/api-fine-dust.php on line 42

[DEBUG] Response of API Server (http://openapi.airkorea.or.kr):

Notice: Trying to get property of non-object in /var/www/SmartSecretary/webpage/include/api-fine-dust.php on line 48

Notice: Trying to get property of non-object in /var/www/SmartSecretary/webpage/include/api-fine-dust.php on line 48 [DEBUG]

Notice: Undefined variable: value in /var/www/SmartSecretary/webpage/include/api-weather.php on line 110

Notice: Trying to get property of non-object in /var/www/SmartSecretary/webpage/include/api-weather.php on line 110 [DEBUG] There are not any bad conditions. So current weather and fine dust are good. Smart Secretary user1 1 user2 2 user3 3

Current: Haze

City: Seoul Time: June-24-2018 3:24 PM Temperature: 28.5°C (25~32°C ) FineDust: Notice: Undefined variable: value in /var/www/SmartSecretary/webpage/include/part3.php on line 22

Notice: Trying to get property of non-object in /var/www/SmartSecretary/webpage/include/part3.php on line 22

Notice: Undefined variable: value in /var/www/SmartSecretary/webpage/include/part3.php on line 24

Notice: Trying to get property of non-object in /var/www/SmartSecretary/webpage/include/part3.php on line 24

Notice: Undefined variable: value in /var/www/SmartSecretary/webpage/include/part3.php on line 26

Notice: Trying to get property of non-object in /var/www/SmartSecretary/webpage/include/part3.php on line 26

Notice: Undefined variable: value in /var/www/SmartSecretary/webpage/include/part3.php on line 28

Notice: Trying to get property of non-object in /var/www/SmartSecretary/webpage/include/part3.php on line 28 Error


lsy0314 commented 6 years ago
서비스 일시중지!

관리 작업이나 용량 문제로 서버가 잠시동안 요청을 처리할 수 없습니다. 
나중에 다시 시도해주시기 바랍니다.

만약 이것이 서버 오류라고 생각되면, 웹 관리자에게 연락하시기 바랍니다.
Error 503
openapi.airkorea.or.kr

check out Airkorea OpenAPI Status 
hjoon0510 commented 6 years ago

we added debug function.

image