Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Romaryo
Collaborator
Jump to solution

R81.20 "HTTP parsing error occurred" / body filter failed in response

Hello everyone!
We’ve encountered the following phenomenon: many websites don’t fully load when opened (for example, Reddit, GitHub, etc.). In the logs, we see the following events (see attached screenshots). At the same time, we notice HTTP parser errors, and despite the fact that we have the Allow Fail-Open mode enabled and the traffic is allowed, the sites still don’t work. In the browser’s debug console, we can see that connections for fetching *.js files are being reset.
Does anyone have any ideas about this?
Thanks in advance!

0 Kudos
65 Replies
the_rock
MVP Diamond
MVP Diamond

Now that you said web proxy, Im 99.99% sure thats EXACTLY what your issue is. I had a customer with this problem while ago and thats what was the cause. As soon as I saw it, I remembered.

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos
Romaryo
Collaborator

Today I tried disabling HTTP/2 in Firefox settings (unfortunately, I haven’t been able to test this in Chrome yet — I couldn’t figure out how to disable HTTP/2 there), and lo and behold — everything started working correctly!
This answers the question of why it worked with curl (it uses HTTP/1.1 by default),

 

wget https://www.gesetze-im-internet.de/kaeano/KAEAnO.pdf


StatusCode : 200
StatusDescription : OK
Content : {37, 80, 68, 70...}
RawContent : HTTP/1.1 200 OK
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
X-XSS-Protection: 1; mode=block
Keep-Alive: timeout=5, max=10
Connection: Keep-Alive
Content-Disposition: inline; file...
Headers : {[X-Content-Type-Options, nosniff], [X-Frame-Options, sameorigin], [X-XSS-Protection, 1;
mode=block], [Keep-Alive, timeout=5, max=10]...}
RawContentLength : 132767

 

but it doesn’t answer the question of why it works through the tunnel even when HTTP/2 is enabled in the browser.

0 Kudos
the_rock
MVP Diamond
MVP Diamond

I still have a gut feeling its a proxy issue...

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos
Romaryo
Collaborator

We do not have a proxy activated at CP GW.

0 Kudos
the_rock
MVP Diamond
MVP Diamond

You mentioned last night about web proxy.

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos
Romaryo
Collaborator

Yes, we are currently using an explicit web proxy from Broadcom, but we want to switch so that all clients access the Internet directly through the Check Point firewall.

0 Kudos
the_rock
MVP Diamond
MVP Diamond

Right...thats why I said thats most likely the issue.

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos
PhoneBoy
Admin
Admin

Are you sure HTTPS Inspection is actually occurring on traffic inside the VPN tunnel?
There should be logs to that affect.

the_rock
MVP Diamond
MVP Diamond

Based on all I understood, sounds like it would be, since its random sites having the issue, but I agree, logs would 100% confirm that.

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos
Romaryo
Collaborator

yes... I have a feeling that the issue might be related to HTTP/2

0 Kudos
the_rock
MVP Diamond
MVP Diamond

Did it work on all browsers or not tested yet?

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos
Romaryo
Collaborator

Firefox works when HTTP/2 is disabled. However, I can’t disable HTTP/2 in Chrome – the parameter chrome.exe --disable-http2 has no effect, and the browser still uses HTTP/2.

0 Kudos
the_rock
MVP Diamond
MVP Diamond

As a test, you can try disable quic in chrome.

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos
Romaryo
Collaborator

QUIC is already disabled, but it didn’t make any difference. 

Best regards,

Roman

0 Kudos
the_rock
MVP Diamond
MVP Diamond

K, in that case, maybe it is related to http2 then...

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos
Romaryo
Collaborator

Yes, the problem is definitely with HTTP/2. Confirmed in Chrome (I had to completely clear the browser cache and launch chrome.exe --disable-http2) and Firefox. In both browsers, all the sites that previously had issues started working normally after downgrading to HTTP/1.1 — although noticeably slower…
The question is: is this a bug or a feature???
And why does everything work fine over a tunnel even with HTTP/2?

 

best regards,

Roman

0 Kudos
the_rock
MVP Diamond
MVP Diamond

What versions are gateways? Let me see if I can find related sk for this, I had case with T3 in DTAC and I know he gave me an article that has to do with this.

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos
Romaryo
Collaborator

Hi! R81.20 JHF118

 

best regards,

Roman

0 Kudos
the_rock
MVP Diamond
MVP Diamond

Here you go...just follow this sk, Im sure it will fix the issue. Needs short maintenance window, since it involves cprestart, but if its a cluster, you are good.

sk116022 - Check Point inspection of HTTP/2 protocol (RFC 7540)

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos
Romaryo
Collaborator

Okay, thanks! Yesterday evening I also came across this SK. I’ll check what value this parameter has on our gateway. Yes, we have a cluster, but I’ll still need to coordinate the test time 🙂

 

best regards,

Roman

0 Kudos
Romaryo
Collaborator

[Expert@fw01:0]# ckp_regedit SOFTWARE\\CheckPoint\\FW1 IGNORE_ALPN_EXTENSION
rc=-10 line=180
[Expert@fw01:0]#

What does that mean? The parameter is not defined?

0 Kudos
Romaryo
Collaborator

[strict_hold_configuration]
strict_hold_enable=1
enable_on_background_mode=0
min_size_to_upload=0
# when tex_over_te enabled - perform sending TEX extracted file to client without waiting for TE full emulation verdict.
tex_over_te=1
max_size_to_upload=100000000
flexible_hold_precent_to_send=50
flexible_hold_total_time_to_trickle_in_minutes=5

0 Kudos
the_rock
MVP Diamond
MVP Diamond

Correct.

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos
Romaryo
Collaborator

Did I understand correctly that I need to disable HTTP2? 

 

To disable the HTTP/2 inspection on the Security Gateway:

-> 3. Set the value 1 for the parameter "IGNORE_ALPN_EXTENSION":
ckp_regedit -a SOFTWARE\\CheckPoint\\FW1 IGNORE_ALPN_EXTENSION 1

 

best regards,

Roman

0 Kudos
the_rock
MVP Diamond
MVP Diamond

Yes.

Best,
Andy
"Have a great day and if its not, change it"
the_rock
MVP Diamond
MVP Diamond

I really hope it works!

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos
Romaryo
Collaborator

Me too 🙂 We've got a maintenance window for tomorrow, we'll test it and I'll report the results.

 

best regards,

Roman

the_rock
MVP Diamond
MVP Diamond

Im hopeful!

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos
Romaryo
Collaborator

Vielen Dank!

 

the_rock
MVP Diamond
MVP Diamond

Glad we can help you.

Best,
Andy
"Have a great day and if its not, change it"
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events