简体   繁体   English

Incapsula 阻止了我的移动应用请求,我该如何绕过?

[英]Incapsula blocking my mobile app requests, how do I bypass this?

we are using Incapsula for web security in our application.我们在我们的应用程序中使用 Incapsula 来确保网络安全。 It works fine for web.它适用于网络。

However, Incapsula blocks all mobile application requests (iOS:Swift, Android:Java) ;但是,Incapsula 会阻止所有移动应用程序请求(iOS:Swift、Android:Java); and classifies them as DDOS and CAPTCHA (Fail) with status messages:并将它们分类为DDOSCAPTCHA (Fail)并带有状态消息:

Client was sent a JavaScript security check, request was suspended

or或者

Client was sent a CAPTCHA security check, request was suspended . Client was sent a CAPTCHA security check, request was suspended

How do I bypass this?我如何绕过这个?

I am using Asynchronous Http Client for Android, Alamofire for iOS.我在 Android 上使用异步 Http 客户端,在 iOS 上使用Alamofire

There could be a few reasons you are getting this response.您收到此回复可能有几个原因。 The most likely is that you have enabled a CAPTCHA check for Suspected Bots.最有可能的是您已启用对可疑机器人的验证码检查。 Under your site that is being affected, navigate to Settings -> Security and make sure the "Require all other Suspected Bots to pass a CAPTCHA test" is unchecked.在您受到影响的站点下,导航到设置 -> 安全并确保取消选中“要求所有其他可疑机器人通过 CAPTCHA 测试”。

Other reasons you could be seeing this are:您可能会看到这种情况的其他原因是:

  • You have a custom IncapRule defined for this site that has an action of "Require JavaScript" or "Require CAPTCHA"您为此站点定义了一个自定义 IncapRule,其操作为“需要 JavaScript”或“需要验证码”
  • Under the Settings -> WAF -> DDoS section the DDoS setting is set to "On" as opposed to "Automatic" and under the Advanced section the Challenge Unknown Clients setting is set to either "JavaScript" or "CAPTCHA".在设置 -> WAF -> DDoS 部分下,DDoS 设置设置为“开”而不是“自动”,在高级部分下,挑战未知客户端设置设置为“JavaScript”或“验证码”。

Hope that helps.希望有帮助。 If you're still having trouble their Support team should be able to lend a hand.如果您仍然遇到问题,他们的支持团队应该可以伸出援手。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM