Author Topic: We have a problem with our web site and OPTIONS + HTTPS + SPDY  (Read 2497 times)

0 Members and 1 Guest are viewing this topic.

REDACTED

  • Guest
Hi all,

We are developing a store web site, and we use CORS preflight (http://www.w3.org/TR/cors/#resource-preflight-requests) technology to communicate with our API using HTTPS+SPDY.

To sum up what we are doing is sending a PUT request to our REST API, and this force the browser to send an OPTIONS request before the PUT request.
This is where we have an issue since the last avast update : this OPTIONS request seems to be discarded when the Avast Web agent is enabled.
The problem is this request is used by browser to check if the server is allowed to do the preflight request, so it make our PUT request fails.

We tested various solutions (chaning OPTIONS to return 200 OK instead of 204 No content, removing headers, etc) and just found a workaround by disabling SPDY, but we cannot disable SPDY on all out site just to fix this issue.

So it seems to be that avast is blocking or discarding HTTPS requests with OPTIONS and SPDY.

So in conclusion:
- The site is working when disabling the Web Agent.
- The site was working just fine with previous version of Avast.
- The site is working when disabling SPDY on our nginx server
- Only the OPTIONS request is discarded, all other requests are OK.
- No popup is displayed, we are not sure why the request is discarded.

Is someone has information about the lastest Avast update, is this a new feature ? Is there anyway to have more logs and have info why our request was discarded ?

Thanks

Offline Eddy

  • Avast Evangelist
  • Maybe Bot
  • ***
  • Posts: 31079
  • Watching (over?) you
    • Malware removal, Biljart and other things.
Re: We have a problem with our web site and OPTIONS + HTTPS + SPDY
« Reply #1 on: July 15, 2015, 05:34:00 PM »
Check the server logs files and avast log files.
They may tell you more about what is going on.

Offline Para-Noid

  • Avast Evangelist
  • Starting Graphoman
  • ***
  • Posts: 6700
  • Trust only what you test yourself!
Re: We have a problem with our web site and OPTIONS + HTTPS + SPDY
« Reply #2 on: July 16, 2015, 07:47:10 PM »
What version of avast?
Do you have HTTPS scanning enabled?
Dell Inspiron, Win10x64--HP Envy Win10x64--Both systems Avast Free v17.9.2322, Comodo Firewall v8.2 w/D+, MalwareBytes v3.0, OpenDNS, Super Anti-Spyware, Spyware Blaster, MCShield, Unchecky, Vivaldi Browser and, various browser security tools.

"Look before you leap!" Use online scanners before you click on any link.