HTTP POST Returns Error: 417 “Expectation Failed.”

后端 未结 10 928
离开以前
离开以前 2020-11-28 18:04

When I try to POST to a URL it results in the following exception:

The remote server returned an error: (417) Expectation Failed.

10条回答
  •  北荒
    北荒 (楼主)
    2020-11-28 18:28

    In my situation, this error seems to occur only if my client's computer has a strict firewall policy, which prevents my program from communicating with the web service.

    So only solution I could find is to catch the error and inform user about changing the firewall settings manually.

提交回复
热议问题