text:
Issue while generating report

Using zap-cli but not able to generate report in html format. Zap-cli not accepting the arguments may be there is some mistake
zap-cli --zap-path zap.sh --api-key 12345 quick-scan -l Informational --self-contained -o '-config api.key=12345' --spider  http://testhtml5.vulnweb.com/ report -o /report.html -f html
suggestions needed.

Hi! The quick-scan and report commands are separate. We could consider adding the report as an output option for the quick-scan command, but for now you would run these commands to do this (with your path and api key params set):
zap-cli start  -o '-config api.key=12345'
zap-cli quick-scan -l Informational --spider http://testhtml5.vulnweb.com/
zap-cli report -o /report.html -f html
zap-cli shutdown

You could of course chain these together with &&. It probably makes sense to add the HTML, XML, and MD reports as an optional output to quick-scan though, so I can look at adding that soon.

I have tried the way u said by chain these with && and with out but still no result no report is generating and simply zap-cli taking the report parameters as URL and breaking in the end.

simply zap-cli taking the report parameters as URL and breaking in the end.

Can you explain this a little more? Is there any error or warning output? What if you add -v to the commands, does it say they worked? i.e.
zap-cli -v start  -o '-config api.key=12345'
zap-cli -v quick-scan -l Informational --spider http://testhtml5.vulnweb.com/
zap-cli -v report -o /report.html -f html
zap-cli -v shutdown

sorry for the delay i try this and got an issue
[DEBUG]           Starting ZAP process with command: /home/ZAP_D-2018-03-05/zap.sh -daemon -port 8030 -config api.key=12345.
[DEBUG]           Logging to /home/ZAP_D-2018-03-05/zap.log
[DEBUG]           ZAP started successfully.
[INFO]            Running a quick scan for http://testhtml5.vulnweb.com/
[DEBUG]           Spidering target http://testhtml5.vulnweb.com/...
Traceback (most recent call last):
  File "/usr/local/bin/zap-cli", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 26, in new_func
    return ctx.invoke(f, ctx.obj, *args[1:], **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/zapcli/cli.py", line 225, in quick_scan
    zap_helper.run_spider(url, options['context_name'], options['user_name'])
  File "/usr/local/lib/python2.7/dist-packages/zapcli/zap_helper.py", line 146, in run_spider
    scan_id = self.zap.spider.scan(target_url, apikey=self.api_key)
  File "/usr/local/lib/python2.7/dist-packages/zapv2/spider.py", line 189, in scan
    return six.next(six.itervalues(self.zap._request(self.zap.base + 'spider/action/scan/', params)))
  File "/usr/local/lib/python2.7/dist-packages/zapv2/__init__.py", line 159, in _request
    data = self._request_api(url, get)
  File "/usr/local/lib/python2.7/dist-packages/zapv2/__init__.py", line 149, in _request_api
    return self.session.get(url, params=query, proxies=self.__proxies, verify=False)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 473, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))
[DEBUG]           Generating HTML report
Traceback (most recent call last):
  File "/usr/local/bin/zap-cli", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 26, in new_func
    return ctx.invoke(f, ctx.obj, *args[1:], **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/zapcli/cli.py", line 263, in report
    zap_helper.html_report(output)
  File "/usr/local/lib/python2.7/dist-packages/zapcli/zap_helper.py", line 405, in html_report
    report = self.zap.core.htmlreport(apikey=self.api_key)
  File "/usr/local/lib/python2.7/dist-packages/zapv2/core.py", line 438, in htmlreport
    return (self.zap._request_other(self.zap.base_other + 'core/other/htmlreport/', {'apikey': apikey}))
  File "/usr/local/lib/python2.7/dist-packages/zapv2/__init__.py", line 170, in _request_other
    data = self._request_api(url, get)
  File "/usr/local/lib/python2.7/dist-packages/zapv2/__init__.py", line 149, in _request_api
    return self.session.get(url, params=query, proxies=self.__proxies, verify=False)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 473, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))
[INFO]            Shutting down ZAP daemon
[DEBUG]           Shutting down ZAP.
Traceback (most recent call last):
  File "/usr/local/bin/zap-cli", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 26, in new_func
    return ctx.invoke(f, ctx.obj, *args[1:], **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/zapcli/cli.py", line 64, in shutdown_zap_daemon
    zap_helper.shutdown()
  File "/usr/local/lib/python2.7/dist-packages/zapcli/zap_helper.py", line 100, in shutdown
    self.zap.core.shutdown(apikey=self.api_key)
  File "/usr/local/lib/python2.7/dist-packages/zapv2/core.py", line 239, in shutdown
    return six.next(six.itervalues(self.zap._request(self.zap.base + 'core/action/shutdown/', {'apikey': apikey})))
  File "/usr/local/lib/python2.7/dist-packages/zapv2/__init__.py", line 159, in _request
    data = self._request_api(url, get)
  File "/usr/local/lib/python2.7/dist-packages/zapv2/__init__.py", line 149, in _request_api
    return self.session.get(url, params=query, proxies=self.__proxies, verify=False)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 473, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))```

update: By Setting up ZAP_PATH, ZAP_PORT & ZAP_API_KEY still facing the same issue.
[INFO]            Running a quick scan for http://testhtml5.vulnweb.com/
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connection.py", line 141, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/util/connection.py", line 83, in create_connection
    raise err
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/util/connection.py", line 73, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 356, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 964, in send
    self.connect()
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connection.py", line 166, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connection.py", line 150, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x7f6705f5b940>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/util/retry.py", line 376, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=8030): Max retries exceeded with url: http://testhtml5.vulnweb.com/ (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f6705f5b940>: Failed to establish a new connection: [Errno 111] Connection refused',)))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/zap-cli", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/decorators.py", line 26, in new_func
    return ctx.invoke(f, ctx.obj, *args[1:], **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/zapcli/cli.py", line 222, in quick_scan
    zap_helper.open_url(url)
  File "/usr/local/lib/python3.6/dist-packages/zapcli/zap_helper.py", line 132, in open_url
    self.zap.urlopen(url)
  File "/usr/local/lib/python3.6/dist-packages/zapv2/__init__.py", line 124, in urlopen
    return requests.get(url, proxies=self.__proxies, verify=False, *args, **kwargs).text
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 70, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 56, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 485, in send
    raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=8030): Max retries exceeded with url: http://testhtml5.vulnweb.com/ (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f6705f5b940>: Failed to establish a new connection: [Errno 111] Connection refused',)))
[DEBUG]           Generating HTML report
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connection.py", line 141, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/util/connection.py", line 83, in create_connection
    raise err
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/util/connection.py", line 73, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 356, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 964, in send
    self.connect()
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connection.py", line 166, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connection.py", line 150, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x7f303e28a9b0>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/util/retry.py", line 376, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=8030): Max retries exceeded with url: http://zap/OTHER/core/other/htmlreport/?apikey=j1kgkumpctfvi7vboaigtph7ec (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f303e28a9b0>: Failed to establish a new connection: [Errno 111] Connection refused',)))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/zap-cli", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/decorators.py", line 26, in new_func
    return ctx.invoke(f, ctx.obj, *args[1:], **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/zapcli/cli.py", line 263, in report
    zap_helper.html_report(output)
  File "/usr/local/lib/python3.6/dist-packages/zapcli/zap_helper.py", line 405, in html_report
    report = self.zap.core.htmlreport(apikey=self.api_key)
  File "/usr/local/lib/python3.6/dist-packages/zapv2/core.py", line 438, in htmlreport
    return (self.zap._request_other(self.zap.base_other + 'core/other/htmlreport/', {'apikey': apikey}))
  File "/usr/local/lib/python3.6/dist-packages/zapv2/__init__.py", line 170, in _request_other
    data = self._request_api(url, get)
  File "/usr/local/lib/python3.6/dist-packages/zapv2/__init__.py", line 149, in _request_api
    return self.session.get(url, params=query, proxies=self.__proxies, verify=False)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 485, in send
    raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=8030): Max retries exceeded with url: http://zap/OTHER/core/other/htmlreport/?apikey=j1kgkumpctfvi7vboaigtph7ec (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f303e28a9b0>: Failed to establish a new connection: [Errno 111] Connection refused',)))
[INFO]            Shutting down ZAP daemon
[WARNING]         ZAP is not running.

What happens if you start ZAP manually using the command in your output? i.e.
/home/ZAP_D-2018-03-05/zap.sh -daemon -port 8030 -config api.key=12345

On that last one, you're getting "ZAP is not running" which suggests it may not have actually started properly. Additionally, on the first output, the errors are often caused by a missing or incorrect API key (though it can be other reasons).
If you start the ZAP daemon manually using the above command, does it start properly? And if so, are you then able to view the ZAP API at http://127.0.0.1:8030 and query some of the API endpoints using your API key? Or are you able to proxy your browser through 127.0.0.1:8030?

Im able to proxy browser 127.0.0.1:8030 but by following this command
/home/ZAP_D-2018-03-05/zap.sh -daemon -port 8030 -config api.key=12345
im getting Error: no such option: -d

try to debug:
[INFO] Starting ZAP daemon
[INFO] Scanning Now--------- for http://testhtml5.vulnweb.com/
[INFO]            Starting ZAP daemon
[DEBUG]           Starting ZAP process with command: /home/ZAP_WEEKLY_D-2018-02-26/ZAP_D-2018-02-26/zap.sh -daemon -port 8030 -config api.key=12345.
[DEBUG]           Logging to /home/ZAP_WEEKLY_D-2018-02-26/ZAP_D-2018-02-26/zap.log
[DEBUG]           ZAP started successfully.
[INFO]            Running a quick scan for http://testhtml5.vulnweb.com/
[DEBUG]           Scanning target http://testhtml5.vulnweb.com/...
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 382, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.6/http/client.py", line 1331, in getresponse
    response.begin()
  File "/usr/lib/python3.6/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.6/http/client.py", line 266, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/util/retry.py", line 376, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=8030): Max retries exceeded with url: http://zap/JSON/ascan/action/scan/?apikey=j1kgkumpctfvi7vboaigtph7ec&url=http%3A%2F%2Ftesthtml5.vulnweb.com%2F&recurse=False (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response',)))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/zap-cli", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/decorators.py", line 26, in new_func
    return ctx.invoke(f, ctx.obj, *args[1:], **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/zapcli/cli.py", line 230, in quick_scan
    zap_helper.run_active_scan(url, options['recursive'], options['context_name'], options['user_name'])
  File "/usr/local/lib/python3.6/dist-packages/zapcli/zap_helper.py", line 171, in run_active_scan
    scan_id = self.zap.ascan.scan(target_url, recurse=recursive, apikey=self.api_key)
  File "/usr/local/lib/python3.6/dist-packages/zapv2/ascan.py", line 209, in scan
    return six.next(six.itervalues(self.zap._request(self.zap.base + 'ascan/action/scan/', params)))
  File "/usr/local/lib/python3.6/dist-packages/zapv2/__init__.py", line 159, in _request
    data = self._request_api(url, get)
  File "/usr/local/lib/python3.6/dist-packages/zapv2/__init__.py", line 149, in _request_api
    return self.session.get(url, params=query, proxies=self.__proxies, verify=False)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 485, in send
    raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=8030): Max retries exceeded with url: http://zap/JSON/ascan/action/scan/?apikey=j1kgkumpctfvi7vboaigtph7ec&url=http%3A%2F%2Ftesthtml5.vulnweb.com%2F&recurse=False (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response',)))
[DEBUG]           Generating HTML report
[INFO]            Report saved to "/home/reports/report.html"
[INFO]            Shutting down ZAP daemon
[DEBUG]           Shutting down ZAP.
[DEBUG]           ZAP shutdown successfully.

[INFO]            Starting ZAP daemon
[DEBUG]           Starting ZAP process with command: /home/ZAP_WEEKLY_D-2018-02-26/ZAP_D-2018-02-26/zap.sh -daemon -port 8030 -config api.key=12345.
[DEBUG]           Logging to /home/ZAP_WEEKLY_D-2018-02-26/ZAP_D-2018-02-26/zap.log
[DEBUG]           ZAP started successfully.
[INFO]            Running a quick scan for http://testasp.vulnweb.com/
[DEBUG]           Spidering target http://testasp.vulnweb.com/...
[DEBUG]           Started spider with ID 0...
[DEBUG]           Spider progress %: 0
[DEBUG]           Spider progress %: 47
[DEBUG]           Spider progress %: 65
[DEBUG]           Spider progress %: 75
[DEBUG]           Spider #0 completed
[DEBUG]           Scanning target http://testasp.vulnweb.com/...
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 382, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.6/http/client.py", line 1331, in getresponse
    response.begin()
  File "/usr/lib/python3.6/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.6/http/client.py", line 266, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/connectionpool.py", line 649, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.6/dist-packages/requests/packages/urllib3/util/retry.py", line 376, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=8030): Max retries exceeded with url: http://zap/JSON/ascan/action/scan/?apikey=12345&url=http%3A%2F%2Ftestasp.vulnweb.com%2F&recurse=False (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response',)))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/zap-cli", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/decorators.py", line 26, in new_func
    return ctx.invoke(f, ctx.obj, *args[1:], **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/zapcli/cli.py", line 230, in quick_scan
    zap_helper.run_active_scan(url, options['recursive'], options['context_name'], options['user_name'])
  File "/usr/local/lib/python3.6/dist-packages/zapcli/zap_helper.py", line 171, in run_active_scan
    scan_id = self.zap.ascan.scan(target_url, recurse=recursive, apikey=self.api_key)
  File "/usr/local/lib/python3.6/dist-packages/zapv2/ascan.py", line 209, in scan
    return six.next(six.itervalues(self.zap._request(self.zap.base + 'ascan/action/scan/', params)))
  File "/usr/local/lib/python3.6/dist-packages/zapv2/__init__.py", line 159, in _request
    data = self._request_api(url, get)
  File "/usr/local/lib/python3.6/dist-packages/zapv2/__init__.py", line 149, in _request_api
    return self.session.get(url, params=query, proxies=self.__proxies, verify=False)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 485, in send
    raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=8030): Max retries exceeded with url: http://zap/JSON/ascan/action/scan/?apikey=12345&url=http%3A%2F%2Ftestasp.vulnweb.com%2F&recurse=False (Caused by ProxyError('Cannot connect to proxy.', RemoteDisconnected('Remote end closed connection without response',)))
[DEBUG]           Generating HTML report
[INFO]            Report saved to "/home/reports/zaptry1-report.html"
[INFO]            Shutting down ZAP daemon
[DEBUG]           Shutting down ZAP.
[DEBUG]           ZAP shutdown successfully.

repo: Grunny/zap-cli

license: mit


text:
need help please

hi, @GuillaumeFalourd
I use this action for repo, but something wrong, can you teach me how to fix? thank you
https://github.com/smallprogram/OpenWrtAction/runs/8095631030?check_suite_focus=true

Hi @smallprogram , thank you for opening this issue! 🚀
For what I understand looking at the log, it seems your self-hosted runner doesn't have Docker installed.
It's mandatory to have Docker installed on the runner to use this action, as it's a Docker contain action.

Hi @smallprogram , thank you for opening this issue! 🚀
For what I understand looking at the log, it seems your self-hosted runner doesn't have Docker installed.
It's mandatory to have Docker installed on the runner to use this action, as it's a Docker contain action.

thank you, I will try

I am a Docker newbie, thank you for your reply, although there are still some questions, but I closed this issue first, thank you again

source: gharchive/issue

authors: GuillaumeFalourd smallprogram

repo: GuillaumeFalourd/open-issue-action

license_type: permissive

license_source: github-api


text:
Mark starting cell

Create very tiny white border around starting pixel. Just UI fix :)

I'm not totally sure that this is necessary. There are already game instructions that tell the user the game begins in the upper left hand corner of the board. IMHO a marker of some sort would be redundant.

authors: GunshipPenguin lenisko

license_source: bigquery


text:
Vertex Coloring Optimod

Why this Mod?
Graph problems are always nice and the picture for the gallery is already clear :)
The problem is easy to understand and well-known.
What will the API be?
It can be done similarly to the maximum bipartite matching problem using networkx, scipy, and pandas
As an example (for pandas): courses in university with information which of them are overlapping in time. Assign courses to rooms (colors) such that the number of rooms is minimal.

@simonbowly @Marika-K Isn't this the same as the chromatic number that is going to be handled in #69?

Hmm, good point. I had read #69 as computing those graph properties (or bounds on them) using only results from MWIS formulations. But was your plan there to add max clique, vertex colouring, etc formulations to the mod?

I am not sure how it is possible to find the graph properties below without solving optimization problems.

To find the chromatic number, we need to solve the vertex coloring problem. The chromatic number of a graph equals the minimum number of colors required to color the vertices such that no two adjacent vertices share the same color.
The clique number of a graph equals the maximum independent set (MIS) of its complement graph - We already have a formulation for the M(W)IS problem.
The clique cover number of a graph equals the chromatic number of its complement graph.
The stability number of a graph is exactly its MIS.

Of course, there are relationships between these properties. For example, the chromatic number of a graph is >= its clique number. Or the chromatic number of a graph divided by the graph number of vertices is <= its MIS (or stability number).
My understanding of the issue https://github.com/Gurobi/gurobi-optimods/issues/69 is to find the exact values for these properties via solving optimization problems because this is the main point of Optimod. These relationships are otherwise classical results and are well-known.
The idea was to rename this MWIS mod to something more general and include different methods which get the same input and calculate the above properties via solving a M(W)IS or a vertex coloring problem. This might have the disadvantage of mixing two different optimization problems together. Maybe the stability number and the clique number should be part of MWIS mod and the chromatic number and the clique cover number be part of the vertex coloring mod.

I will wait for issue #69 to be finished. We can then decide if something can be extended or if an additional optimod is of further value.

authors: Marika-K maliheha simonbowly

repo: Gurobi/gurobi-optimods


text:
Issue 195 integrate smac

Resolve #195

Codecov Report

Merging #198 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #198   +/-   ##
=======================================
  Coverage   96.21%   96.21%
=======================================
  Files          29       29
  Lines         792      792
=======================================
  Hits          762      762
  Misses         30       30

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8c0fbfb...6a521e7. Read the comment docs.

source: gharchive/pull-request

authors: codecov-commenter pvk-developer

repo: HDI-Project/BTB

license: MIT


text:
⚠ PrivateHD has degraded performance

In 78c59d9, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 2114 ms

Resolved: PrivateHD performance has improved in 0be8c8a.

repo: HDVinnie/TrackerHub


text:
⚠ DesiTorrents has degraded performance

In 37347f2, DesiTorrents ($DST) experienced degraded performance:

HTTP code: 200
Response time: 6230 ms

Resolved: DesiTorrents performance has improved in 60068b9.


text:
🛑 SkipTheTrailers is down

In 3d44cee, SkipTheTrailers ($STT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheTrailers is back up in 75b6bea.


text:
⚠ SceneTime has degraded performance

In df2d7b3, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1566 ms

Resolved: SceneTime performance has improved in c6fb309.


text:
🛑 SkipTheCommericals is down

In d460a43, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in dca6cdf.


text:
⚠ BeyondHD has degraded performance

In b540d56, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 1929 ms

Resolved: BeyondHD performance has improved in 9786771 after 10 minutes.


text:
⚠ AsianCinema has degraded performance

In 7a8999c, AsianCinema ($ACM) experienced degraded performance:

HTTP code: 200
Response time: 2259 ms

Resolved: AsianCinema performance has improved in 9d34fec after 14 minutes.


text:
⚠ SceneTime has degraded performance

In 52b2d16, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 3411 ms

Resolved: SceneTime performance has improved in 0f95ee6 after 8 minutes.


text:
⚠ SceneTime has degraded performance

In e5a3210, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 3542 ms

Resolved: SceneTime performance has improved in fcce87d after 7 minutes.


text:
⚠ Exoticaz has degraded performance

In f9d52e8, Exoticaz ($EZ) experienced degraded performance:

HTTP code: 200
Response time: 1014 ms

Resolved: Exoticaz performance has improved in 8fef97f.


text:
🛑 PassThePopcorn is down

In c53fe53, PassThePopcorn ($PTP) was down:

HTTP code: 0
Response time: 0 ms

Resolved: PassThePopcorn is back up in f413e63 after 9 minutes.


text:
🛑 Telly is down

In 98cd7a8, Telly ($TLY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Telly is back up in a912396.


text:
🛑 SkipTheTrailers is down

In 858ddc2, SkipTheTrailers ($STT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheTrailers is back up in 0dd9369.


text:
🛑 SkipTheCommericals is down

In cea53f9, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in 5f70611.


text:
Badge for ExpressJS updated

Issue that this pull request solves
This is a small tweak to the readme.md. I am under DWOC
Proposed changes
Brief description of what is fixed or changed
Added logo for expressJS in tech stack
Types of changes
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

Screenshots
Please attach the screenshots of the changes made in case of change in user interface
Updated badge for ExpressJS

Other information
Any other information that is important to this pull request

Hey @LeeRenJie can we please use some different background color as the express logo isn't clear currently

Hey @LeeRenJie can we please use some different background color as the express logo isn't clear currently

Sure, I'll do a quick fix.

Hey @LeeRenJie can we please use some different background color as the express logo isn't clear currently

authors: Kajol-Kumari LeeRenJie

repo: HITK-TECH-Community/Community-Website


text:
Made changes so auth on openapi schema works.

Now requests that require BE to check token will be sent with
Bearer JWT from FE as a token.

I think the idea is just to longterm drop the concept of claims and rely on the roles that we get from /users/:userID/role.
We can just add token as a string since it’s a jwt string

On Aug 26, 2020, at 5:11 PM, Thai notifications@github.com wrote:
@thaigillespie commented on this pull request.
In src/pages/App/index.js https://github.com/HKN-UCSD/hkn-member-portal/pull/143#discussion_r477740067:

@@ -42,7 +43,9 @@ class App extends React.Component {
firebase.auth().onAuthStateChanged(async user => {
if (user) {
const tokenResult = await user.getIdTokenResult();

   const { claims } = tokenResult;

   const { claims, token } = tokenResult;

   ApiConfigStore.setToken(token);

Should I put userToken into userClaims then, since it's an object? Also, if I were to call setToken in setClaims, do I just get the token from this.state.userClaims?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub https://github.com/HKN-UCSD/hkn-member-portal/pull/143#discussion_r477740067, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH25RGJKYKMOB4E5UJ2QHB3SCWQENANCNFSM4QML3ILA.

Okay so token will be its own state field then got it.

authors: godwinpang thaigillespie

repo: HKN-UCSD/hkn-member-portal