-
Notifications
You must be signed in to change notification settings - Fork 14
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
Error Code is sometimes 4294967295 #18
Comments
In this case, it seems to be caused by the following line:
I guess if you try to make an HTTP request with a malformed URL, it returns a negative httpCode; this negative httpCode gets stored as an unsigned integer, and we end up with a ridiculous huge number. There are, however, other cases where we're getting this error with good URLs. I'll look at the logs and see if I can understand anything. |
I found roughly 20 instances of this happening in our logs from roughly a dozen different devices. There doesn't seem to be much explanation as to why this happens, so the only way I can imagine I'll learn anything is by hooking the device up via serial and logging the filtered output into a file. It may be that some part of the URL other than the base URL is being malformed, but it isn't immediately obvious how that might be happening. |
I've found that this happens much, much more frequently on some devices than on others. Also, I got the following debug information over serial:
There was some other stuff, but this seemed to be most relevant. |
Is it possible that the problem occurs when the web resource takes too long to create the archive? |
I think it's possible that that could trigger the error, but I don't think it's the problem in my case. We have roughly 50 of these things running right now, and one of them gets this error more often than all the rest combined - about a dozen times per day. I switched it to the static images plugin to test this though; I'll get back to you tomorrow, if I remember. |
For you... i've implemented an own version of the "image" server (php with laravel -> inspired by https://github.com/bajensen/wall-ink-php) so that the ical data for the calendars are prefiltered & cached by a cronjob. during my work on the server, i found out, that the ical files are quite big, as the ical file contains all the calendar data, even the data in the past. In my case, I had a high-traffic meeting room, where many meetings have already taken place. The ICal File has about 1,8mb (!!). I download the file in advance and save the filtered version of the data so that I only have to handle the data of "today", when the wall-inks connects to download the image-archive. |
Sometimes, the error code is listed as 4294967295. I have no idea why.
This happened once when the base url was mis-entered as http://wallink/.groups.et.byu.net/get_image.php.
The text was updated successfully, but these errors were encountered: