On 3/31/20 12:25 PM, Diyawary wrote:
> I am sending some 4500 lines data from Ansible to snow table via uri module.
> however 4100 records updated to snow table
> rest of the data did not updated this job runs around 122 or 123 sec and
> throw below error. less amount of data is
> updated properly .
> *
> *
> *Status code was -1 and not [200]: Connection failure: connection was closed
> before a valid response was received: ''*
>
> In my code I have already increased the timeout value- to 500 sec
> url:
> method: POST
> user: "{{ snow_username }}"
> password: "{{ snow_password }}"
> body: '{"List":{{list_item}}, "Region": X - DEV " }'
> body_format: json
> force_basic_auth: yes
> status_code: 200
> timeout: 500
> Please suggest how can resolved this issue asap.
> Appriciate your help in adavance
My interpretation of the error message would be that the URL endpoint closed
the connection, so increasing the
timeout on Ansible's side doesn't help.
It is likely that the URL endpoint ran into a timeout. Maybe you could
breakdown the data in several batches.
Regards
Racke
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
> [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/388ee9c3-f95d-42ad-9efc-a5feff13f7cc%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/388ee9c3-f95d-42ad-9efc-a5feff13f7cc%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/7279d023-c2f3-d19f-584a-b113b1b9e513%40linuxia.de.
signature.asc
Description: OpenPGP digital signature
