Connection aborted

(Deepchandna) #1

Hi ,

My automation runs stackstorm workflows twice in a minute. I get below error and now workflows are always in running state and few are failed with below error - Please suggest .

  "traceback": "  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/st2actions/container/\", line 119, in _do_run\n    (status, result, context) =\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/\", line 49, in wrapped_f\n    return Retrying(*dargs, **dkw).call(f, *args, **kw)\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/\", line 212, in call\n    raise attempt.get()\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/\", line 247, in get\n    six.reraise(self.value[0], self.value[1], self.value[2])\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/\", line 200, in call\n    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)\n  File \"/opt/stackstorm/runners/mistral_v2/mistral_v2/\", line 247, in run\n    result = self.start_workflow(action_parameters=action_parameters)\n  File \"/opt/stackstorm/runners/mistral_v2/mistral_v2/\", line 286, in start_workflow\n    self._save_workflow(action_ref, def_yaml_xformed)\n  File \"/opt/stackstorm/runners/mistral_v2/mistral_v2/\", line 134, in _save_workflow\n    wf = self._client.workflows.create(def_yaml)[0]\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/mistralclient/api/v2/\", line 42, in create\n    headers={'content-type': 'text/plain'}\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/mistralclient/api/\", line 54, in decorator\n    resp = func(self, *args, **kwargs)\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/mistralclient/api/\", line 120, in post\n    return + url, data=body, **options)\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/requests/\", line 565, in post\n    return self.request('POST', url, data=data, json=json, **kwargs)\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/requests/\", line 518, in request\n    resp = self.send(prep, **send_kwargs)\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/requests/\", line 639, in send\n    r = adapter.send(request, **kwargs)\n  File \"/opt/stackstorm/st2/lib/python2.7/site-packages/requests/\", line 488, in send\n    raise ConnectionError(err, request=request)\n",
  "error": "('Connection aborted.', BadStatusLine(\"''\",))"


Hey deepchandna, you’re a very active poster on these forums. We would be happy to help you with a support contract if you would like. I can put you in touch with our sales staff.