Home Forum Software Force accept invalid header HTTP Gets

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #901
    uRADMonitor
    Keymaster

    There is an issue affecting two devices in the network:

    [Solved] Unit won’t connect from 4G network

    Their data reports can be found in server’s access log, but they are marked as HTTP 400. Further debugging shows a problem with their headers: Request header field is missing ‘:’ separator: \x01\xff\xff\xff [error] [client 72.47.*.*] request failed: error reading the headers

    Apparently something along the way compromises the header info. Anyone knows if it’s possible to force Apache to take these and how? The HTTP Get URL (and all important parameters) are all there (see the access log screenshot in the other post).

    #921
    Andromedan
    Participant

    I doubt it’s possible to force Apache to accept invalid headers.
    I did some reading, the only thing I could find that allows header modification is mod_headers, but I don’t think even that will allow accepting invalid ones.

    #927
    uRADMonitor
    Keymaster

    Hi Ben,

    You are right. I tried mod_headers and it does a good job, but only on valid headers.

    For the 400 ones, the log is the last place where I get to see them, every attempt to handle them fails.

    @Sigitas had the idea of using a proxy between the Apache and the Internet, to filter traffic and intercept the invalid requests in an attempt to fix them.
    I find this very time consuming and I see it as a workaround for the real problem. Yet, I don’t see any other solution.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.