Created
July 31, 2017 17:28
-
-
Save rickhernandezio/c7b72f853b98cf283a76d13391147b5f to your computer and use it in GitHub Desktop.
Bug Note
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+// Bug Note: | |
+// The following calls caused the log explosion detected on 4/13/2017. | |
+// The logs indicated that "failed to open stream: HTTP request failed!" | |
+// Specifically, this is a url that was not working: | |
+// http://data.iutahepscor.org/RedButteCreekWOF/REST/waterml_1_1.svc/datavalues?location=iutah:RB_RBG_BA&variable=iutah:ODO_Sat/methodCode=60/sourceCode=1/qualityControlLevelCode=0&startDate=2017-03-27T04:15:01&endDate= | |
+// This was to update RB_RBG_BA's ODO_Sat series | |
+// The series hadn't updated successfully since 3/27/2017, 17 days. | |
+// I attemped a manual update by accessing this URL, which worked without issue: | |
+// https://iutah.nhmu.utah.edu/sites/RB_RBG_BA/ODO_Sat/update | |
+// I then updated all other series for this site using the same method, clicking update at: | |
+// https://iutah.nhmu.utah.edu/sites/RB_RBG_BA | |
+// All these manual updates worked without issue. | |
+// When accessing some of the URLs from the logs directly, I would occasionally get this message from the iutahepscor.com server: | |
+// Error Status Code: 'InternalServerError' | |
+// Details: The server encountered an error processing the request. Please see the server logs for more details. | |
+// It seems that the iutahepscor.com server is erroring out on occasion | |
+// this is likely with specific date combinations, as I could change the date in the URL and it would work. | |
+// To resolve log generation, I suppressed errors with '@' prepended to simplexml_load_file call, and checked $xml for false state. | |
+// This will not resolve communication with iutahepscor.com, but that seems like a problem on the iutahepscor.com end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment