Not able to connect Blaze Meter using Taurus with corporate network,Could you please help how to connect? any Proxy setup or else?

242 views
Skip to first unread message

ilaiy...@gmail.com

unread,
May 11, 2018, 5:36:12 AM5/11/18
to codename-taurus
The following error occurred when using corporate network, if try to use my personal network it was working fine.

Error:
1:12:49 ERROR: ConnectionError: HTTPSConnectionPool(host='a.blazemeter.com', port=443): Max retries exceeded with url: /api/v4/web/version (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x0000021E73029A20>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',))
  File "C:\Program Files\Python35\lib\site-packages\bzt\cli.py", line 249, in perform
    self.engine.prepare()
  File "C:\Program Files\Python35\lib\site-packages\bzt\engine.py", line 169, in prepare
    self.__prepare_reporters()
  File "C:\Program Files\Python35\lib\site-packages\bzt\engine.py", line 535, in __prepare_reporters
    module.prepare()
  File "C:\Program Files\Python35\lib\site-packages\bzt\modules\blazemeter.py", line 253, in prepare
    self._user.ping()  # to check connectivity and auth
  File "C:\Program Files\Python35\lib\site-packages\bzt\bza.py", line 151, in ping
    self._request(self.address + '/api/v4/web/version')
  File "C:\Program Files\Python35\lib\site-packages\bzt\bza.py", line 89, in _request
    response = self.http_request(method=log_method, url=url, data=data, headers=headers, timeout=self.timeout)
  File "C:\Program Files\Python35\lib\site-packages\requests\sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "C:\Program Files\Python35\lib\site-packages\requests\sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "C:\Program Files\Python35\lib\site-packages\requests\adapters.py", line 508, in send
    raise ConnectionError(e, request=request)

Andrey Pokhilko

unread,
May 11, 2018, 7:39:52 AM5/11/18
to codenam...@googlegroups.com

Hi,

Try specifying proxy information, described here: http://gettaurus.org/docs/ConfigSyntax/#Top-Level-Settings

--

Andrey Pokhilko
Open Source Initiatives Leader
CA
          BlazeMeter

11.05.2018 12:36, ilaiy...@gmail.com пишет:
CAUTION: This email originated from outside of CA. Do not click links or open attachments unless you recognize the sender and know the content is safe.

--
You received this message because you are subscribed to the Google Groups "codename-taurus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codename-taur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codename-taurus/2e075ad9-0a4c-486d-95ce-335c9c50ea60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ilaiy...@gmail.com

unread,
May 15, 2018, 2:21:59 AM5/15/18
to codename-taurus
Hi Andrey,

I have tried with proxy setup but still same issue exists, any other specific setup is there? 

11:43:35 ERROR: ConnectionError: HTTPSConnectionPool(host='a.blazemeter.com', port=443): Max retries exceeded with url: /api/v4/web/version (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x000001F3736BA9E8>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',))
  File "C:\Program Files\Python35\lib\site-packages\bzt\cli.py", line 249, in perform
    self.engine.prepare()
  File "C:\Program Files\Python35\lib\site-packages\bzt\engine.py", line 169, in prepare
    self.__prepare_reporters()
  File "C:\Program Files\Python35\lib\site-packages\bzt\engine.py", line 535, in __prepare_reporters
    module.prepare()



ilaiy...@gmail.com

unread,
May 18, 2018, 5:48:59 AM5/18/18
to codename-taurus
Hi Andrey,
Any update?

Andrey Pokhilko

unread,
May 18, 2018, 5:58:12 AM5/18/18
to codenam...@googlegroups.com

Hi,

THis is network issue on your side. You need to find the right configuration of proxy settings. Please consult with your network administrator.

--

Andrey Pokhilko
Open Source Initiatives Leader
CA
          BlazeMeter

18.05.2018 12:48, ilaiy...@gmail.com пишет:

ilaiy...@gmail.com

unread,
May 21, 2018, 3:22:30 AM5/21/18
to codename-taurus
Hi Andrey,
Thanks for your update.
The below Syntax
settings:
  artifacts-dir: /tmp/%H%M%S # path where to save artifacts, default is %Y-%m-%d_%H-%M-%S.%f
  aggregator: consolidator
  default-executor: jmeter
  check-interval: 1
  proxy:  # custom proxy settings
    address: http://127.0.0.1:8080  # proxy server address
    username: user  # username and password used if authentication is configured on proxy server
    password: 12345


8080 Port where we need to setup?
In my environment i know proxy server but i dont know port number where we need to set?
Could you please help
Thanks
ilaiyaraja.s

Andrey Pokhilko

unread,
May 21, 2018, 4:06:49 AM5/21/18
to codenam...@googlegroups.com

Hi,

I don't know the proxy server that would not have a port. You need to contact proxy server administrator to ask what is the port number.

--

Andrey Pokhilko
Open Source Initiatives Leader
CA
          BlazeMeter

21.05.2018 10:22, ilaiy...@gmail.com пишет:

ilaiy...@gmail.com

unread,
May 21, 2018, 4:57:41 AM5/21/18
to codename-taurus
Hi Andrey,
Thanks for your quick replay., i will check.

Regards
ilaiyaraja.s
Reply all
Reply to author
Forward
0 new messages