GVKun编程网logo

Error: Error SSL Required Code: 403

9

在这里,我们将给大家分享关于Error:ErrorSSLRequiredCode:403的知识,同时也会涉及到如何更有效地ChromeDriverERR_SSL_PROTOCOL_ERROR尽管--i

在这里,我们将给大家分享关于Error: Error SSL Required Code: 403的知识,同时也会涉及到如何更有效地ChromeDriver ERR_SSL_PROTOCOL_ERROR尽管--ignore-certificate-errors、ClientError:(,DeserializationError('以下字段是required:detail',))、CodeSign error: code signing is required for pr...、CodeSign error: code signing is required for produ的内容。

本文目录一览:

Error: Error SSL Required Code: 403

Error: Error SSL Required Code: 403

Error: Error SSL Required Code: 403

Error Message

If the ''services'' Web directory for ArcGIS is set to ''Require Encrypted Web Access'', the following error message is returned:

"Error
SSL Required
Code: 403".

Cause

The ''services'' Web directory for ArcGIS Server has been set to ''Require Encryped Web Access''.

Solution or Workaround

 

  1. Open ArcGIS Server Manager, which is located at http://<HOSTNAME>:<PORT>/<ArcGIS Instance Name>/Manager.
  2. Open the ''Services'' tab.
  3. Click ''Manage Services''.
  4. Click Properties.
  5. Uncheck ''Require Encrypted Web Access''.
  6. Click OK.
  7. Re-start Internet Information Services. 
    ▪ Click Start.
    ▪ Click Run.
    ▪ Type iisreset into the Run text field.
    ▪ Either press Enter or click OK.

 

Last Modified:  5/5/2016
Article ID: 000010555
Software: ArcGIS Server (10.0 and prior) 9.3, 9.3.1

ChromeDriver ERR_SSL_PROTOCOL_ERROR尽管--ignore-certificate-errors

ChromeDriver ERR_SSL_PROTOCOL_ERROR尽管--ignore-certificate-errors

我正在尝试使用带有硒和ChromeDriver的本地主机(没有HTTPS)上的集成测试。

Chrome需要使用https证书,但是根据[这个](http://codingdict.com/questions/61436问题,我知道我可以使用arg来绕过它--ignore-certificate- errors

我还增加了自己的功能acceptInsecureCerts,因为这似乎是适当的做法(docs)

chromedriver的响应仍然不是我所期望的:

该网站无法提供安全的连接应用,但发送的响应无效。ERR_SSL_PROTOCOL_ERROR

我的代码如下:

from selenium import webdriver
from selenium.webdriver.chrome.options import Options

# make options (principally to ignore certificate)
options = webdriver.ChromeOptions()
options.add_argument('--ignore-certificate-errors')

# add acceptInsecureCerts
capabilities = options.to_capabilities()
capabilities['acceptInsecureCerts'] = True

print(capabilities) # see below

driver = webdriver.Remote(
    command_executor=SELENIUM_HUB,desired_capabilities=capabilities
)
print(driver.__dict__) # see further below

app_login_url = 'http://app:8000/accounts/login/'

driver.get(app_login_url)

我的能力:

{'acceptInsecureCerts': True,'browserName': 'chrome','goog:chromeOptions': {'args': ['--ignore-certificate-errors'],'extensions': []},'platform': 'ANY','version': ''}

这是我的驱动程序信息,似乎只acceptInsecureCerts考虑了arg:

{'_file_detector': <selenium.webdriver.remote.file_detector.LocalFileDetector object at 0x7fb42bde10f0>,'_is_remote': True,'_mobile': <selenium.webdriver.remote.mobile.Mobile object at 0x7fb42bb5e400>,'_switch_to': <selenium.webdriver.remote.switch_to.SwitchTo object at 0x7fb42bdd4898>,'capabilities': {'acceptInsecureCerts': True,'acceptSslCerts': True,'applicationCacheEnabled': False,'browserConnectionEnabled': False,'chrome': {'chromedriverVersion': '74.0.3729.6 '
                                                    '(255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29})','userDataDir': '/tmp/.com.google.Chrome.vc1ZvB'},'cssSelectorsEnabled': True,'databaseEnabled': False,'goog:chromeOptions': {'debuggerAddress': 'localhost:40815'},'handlesAlerts': True,'hasTouchScreen': False,'javascriptEnabled': True,'locationContextEnabled': True,'mobileEmulationEnabled': False,'nativeEvents': True,'networkConnectionEnabled': False,'pageLoadStrategy': 'normal','platform': 'Linux','proxy': {},'rotatable': False,'setWindowRect': True,'strictFileInteractability': False,'takesHeapSnapshot': True,'takesScreenshot': True,'timeouts': {'implicit': 0,'pageLoad': 300000,'script': 30000},'unexpectedAlertBehaviour': 'ignore','version': '74.0.3729.169','webStorageEnabled': True,'webdriver.remote.sessionid': '1cf77f237e966bac6ca15d4d9c107423'},'command_executor': <selenium.webdriver.remote.remote_connection.RemoteConnection object at 0x7fb42be0cf98>,'error_handler': <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7fb427d08a20>,'session_id': '1cf77f237e966bac6ca15d4d9c107423','w3c': False}

为什么我仍然看到ERR_SSL_PROTOCOL_ERROR

ClientError:(<Response >,DeserializationError('以下字段是required:detail',))

ClientError:(,DeserializationError('以下字段是required:detail',))

我正在为两个站点创build自己的SSL证书,使用certbot和letencrypt 。

我在Ubuntu 16.0.4 LTS上运行Nginx版本:Nginx / 1.10.0

我运行以下命令:

me@yourBox:~$ sudo letsencrypt certonly --webroot -w /path/to/www/foo -d foo.com -d www.foo.com -w /path/to/www/foobar -d foobar.com -d www.foobar.com

input我的电子邮件地址后,我收到以下错误消息:

Nginx的proxy_pass使certbot不起作用

Certbot不创build极致挑战文件夹

Certbot /.well-kNown/acme-challenge

Nginxconfiguration,文件夹权限和让我们encryption

在新的Ubuntu 16.04服务器上使用SSL脚本编写新的Nginx实例的正确方法是什么?

An unexpected error occurred: `ClientError: (<Response [500]>,DeserializationError(''The following field are required: detail'',)) Please see the logfiles in /var/log/letsencrypt for more details.`

这里是/var/log/letsencrypt/letsencrypt.log的内容:

2016-10-31 08:19:40,090:DEBUG:letsencrypt.cli:Root logging level set at 30 2016-10-31 08:19:40,092:INFO:letsencrypt.cli:Saving debug log to /var/log/letsencrypt/letsencrypt.log 2016-10-31 08:19:40,092:DEBUG:letsencrypt.cli:letsencrypt version: 0.4.1 2016-10-31 08:19:40,092:DEBUG:letsencrypt.cli:Arguments: [''--webroot'',''-w'',''/path/to/www/foo'',''-d'',''foo.com'',''www.foo.com'',''/path/to/www/foobar'',''foobar.com'',''www.foobar.com''] 2016-10-31 08:19:40,093:DEBUG:letsencrypt.cli:discovered plugins: PluginsRegistry(PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone) 2016-10-31 08:19:40,098:DEBUG:letsencrypt.cli:Requested authenticator webroot and installer None 2016-10-31 08:19:40,099:DEBUG:letsencrypt.plugins.webroot:Creating root challenges validation dir at /path/to/www/foo/.well-kNown/acme-challenge 2016-10-31 08:19:40,100:DEBUG:letsencrypt.plugins.webroot:Creating root challenges validation dir at /path/to/www/foo/.well-kNown/acme-challenge 2016-10-31 08:19:40,100:DEBUG:letsencrypt.plugins.webroot:Creating root challenges validation dir at /path/to/www/foobar/.well-kNown/acme-challenge 2016-10-31 08:19:40,100:DEBUG:letsencrypt.display.ops:Single candidate plugin: * webroot Description: Webroot Authenticator Interfaces: IAuthenticator,IPlugin Entry point: webroot = letsencrypt.plugins.webroot:Authenticator Initialized: <letsencrypt.plugins.webroot.Authenticator object at 0x7ff6a5901fd0> Prep: True 2016-10-31 08:19:40,101:DEBUG:letsencrypt.cli:Selected authenticator <letsencrypt.plugins.webroot.Authenticator object at 0x7ff6a5901fd0> and installer None 2016-10-31 08:19:51,133:DEBUG:root:Sending GET request to https://acme-v01.api.letsencrypt.org/directory. args: (),kwargs: {} 2016-10-31 08:19:51,138:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org 2016-10-31 08:19:51,227:DEBUG:requests.packages.urllib3.connectionpool:"GET /directory HTTP/1.1" 200 280 @

我没有findlogging的消息在解释如何解决这个问题非常有帮助。 有没有人真的明白发生了什么 – 更重要的是,如何解决这个问题?

这个响应[500]意味着让我们的加密服务器对500个内部服务器错误的API请求作出响应。 这是由于Let''s Encrypt的后端方面的错误。 等待片刻,重播请求,最终成功。

您可以在http://letsencrypt.status.io/查看Let''s Encrypt服务状态。

总结

以上是小编为你收集整理的,DeserializationError(''以下字段是required:detail'',))">ClientError:(<Response >,DeserializationError(''以下字段是required:detail'',))全部内容。

如果觉得小编网站内容还不错,欢迎将小编网站推荐给好友。

CodeSign error: code signing is required for pr...

CodeSign error: code signing is required for pr...


         Xcode5 真机测 iPhone5s出现的bug,求解决方案

CodeSign error: code signing is required for product type ''Application'' in SDK ''iOS 7.0''

CodeSign error: code signing is required for produ

CodeSign error: code signing is required for produ

今天关于Error: Error SSL Required Code: 403的讲解已经结束,谢谢您的阅读,如果想了解更多关于ChromeDriver ERR_SSL_PROTOCOL_ERROR尽管--ignore-certificate-errors、ClientError:(,DeserializationError('以下字段是required:detail',))、CodeSign error: code signing is required for pr...、CodeSign error: code signing is required for produ的相关知识,请在本站搜索。

本文标签: