Computer Blocking CORS OPTIONS Request

前端 未结 2 1671
攒了一身酷
攒了一身酷 2021-02-20 11:23

This is driving me crazy! I\'m trying to work with Amazon S3 CORS requests and they are not working on my computer. It seems that my computer is blocking or ignoring the OPTIONS

相关标签:
2条回答
  • 2021-02-20 12:01

    More specifically, the problem seems to be in the Web Security module of AnyConnect. I was able to fix the problem by uninstalling and reinstalling AnyConnect with the Web Security option unchecked; or, just by running the websecurity_uninstall.sh script. (This was with AnyConnect 3.1.04074.)

    Thanks to the @user3021922 and others for identifying the issue - this was driving me crazy too.

    0 讨论(0)
  • 2021-02-20 12:02

    The problem is the Web Security module of Cisco AnyConnect. In our case, we cannot uninstall AnyConnect or make any changes to it (large corporate setting where the change would be really expensive/time consuming). Fortunately, there seem to be two solutions that do work.

    1. Cisco only blocks ports 80 and 8080 (other ports seem fine).
    2. Cisco allows secure https requests.

    So, if you have control over the server, either put it on a different port or use https and your users will be alright.

    0 讨论(0)
提交回复
热议问题