Project

General

Profile

[error] "wthttp/proxy: error reading status line: End of file"

Added by Mark Petryk almost 4 years ago

Getting this error message. Not sure what causes it, not sure how to fix it. It seems to happen roughly in the same 'area' of the application, but is very random, occurring very seldom. It crashes the session, and has to reload.

Anyone have any clues?


Replies (2)

RE: [error] "wthttp/proxy: error reading status line: End of file" - Added by Bruce Toll almost 4 years ago

I suspect that this message may be the result of an application process failure, rather than the cause.

As a test (on a similarly configured test system), you can place an assert in your application in response to some signal (e.g. clicking a particular button). You can then press this button from a browser session to check whether the "wthttp/proxy: error reading status line..." message gets logged as part of the response to an application failure in your environment.

RE: [error] "wthttp/proxy: error reading status line: End of file" - Added by Mark Petryk over 3 years ago

I have an update to this issue, I think it's quite interesting, though I don't know what's going on yet.

This log I grabbed from a user that crashed. The user was just interacting normally with the site when it crashed - for no apparent reason.

I appear to have an issue in my "date-picker" as the site seems to crash right around the use of this tool. But it doesn't crash all the time - just occasionally (my favourite).

One question I have, however, is the PID number (881, 7441, 12929) is printed along with these messages, and the 'proxy' message ~seems~ to always be 7441. I have gone back through my trace logs, and this seems to be the common place where the crash occurs (around the date-picker) and the wthttp/proxy error always is printed with a PID of 7441... I find that very strange. Looking back on the Wt source, the LOG_ERROR is used for this message so my assumption is that it ~should~ print the proper PID... hmm...

[2020-Nov-13 11:05:35.472] 881 [src/AppBase.cpp:411] logs/Kris(11)/2020-11-13.log Kris(11) save saved:104365.40
[2020-Nov-13 11:05:38.527] 881 [src/Dbo/DatePicker.cpp:164] [Kris(11)] date picker do_clicked()
[2020-Nov-13 11:05:39.764] 881 [src/Dbo/DatePicker.cpp:314] [Kris(11)] calendar1-> clicked( date:11/23/2020 )
[2020-Nov-13 11:05:39.764] 881 [src/Dbo/DatePicker.cpp:157] [Kris(11)] date picker dialog deleted
[2020-Nov-13 11:05:39.772] 881 [src/AppBase.cpp:411] logs/Kris(11)/2020-11-13.log Kris(11) save saved:104365.42
[2020-Nov-13 17:05:40.310] 7441 - [error] "wthttp/proxy: error reading status line: End of file"
[2020-Nov-13 17:05:40.688] 12929 [src/main.cpp:57] ./cams-live v1.0.2 build:31801 -> 71.78.215.238
[2020-Nov-13 11:05:40.699] 12929 [src/AppBase.cpp:411] logs/Kris(11)/2020-11-13.log Kris(11) buildSite logon ip:71.78.215.238 w:1600 h:900 sid:AQS0G4PBTku3lv5j
[2020-Nov-13 11:05:47.048] 12929 [src/AppBase.cpp:411] logs/Kris(11)/2020-11-13.log Kris(11) setJobId 104365.43
[2020-Nov-13 11:05:49.253] 12929 [src/Dbo/DatePicker.cpp:164] [Kris(11)] date picker do_clicked()
[2020-Nov-13 11:05:50.949] 12929 [src/Dbo/DatePicker.cpp:314] [Kris(11)] calendar1-> clicked( date:11/25/2020 )
[2020-Nov-13 11:05:50.949] 12929 [src/Dbo/DatePicker.cpp:157] [Kris(11)] date picker dialog deleted
[2020-Nov-13 11:05:50.959] 12929 [src/AppBase.cpp:411] logs/Kris(11)/2020-11-13.log Kris(11) save saved:104365.45
[2020-Nov-13 11:05:54.882] 12929 [src/AppBase.cpp:411] logs/Kris(11)/2020-11-13.log Kris(11) save saved:104365.46
[2020-Nov-13 11:05:56.889] 12929 [src/AppBase.cpp:411] logs/Kris(11)/2020-11-13.log Kris(11) save saved:104365.47

    (1-2/2)