Hi Racke, I have already increase the timeout but still getting the same error. "Status code was -1 and not [200]: 'The read operation timed out'"
On Wednesday, 20 May 2020 07:35:52 UTC-5, Stefan Hornburg (Racke) wrote: > > On 5/20/20 9:57 AM, Diyawary wrote: > > Hi Team, > > > > I am sending data from ansible to service now using uri, data is passing > to snow table but job status is not showing > > successful. > > I am getting "The read operation timed out" error ,Please suggest me how > this can be resolved > > - name: Passing Data to Snow > > uri: > > url: " > https://test.service-now.com/api/eplc/table_update_integration/create" > > method: POST > > Headers: "application/json" > > body: '{"List":{{EPG_all}}, "Region":"NA " }' > > body_format: json > > user: "{{ snow_username }}" > > password: "{{ snow_password }}" > > force_basic_auth: yes > > status_code: 200 > > timeout: 10 > > > > It certainly doesn't help that you reduce the timeout to 10 seconds. Also > please post complete error message (without > the credentials). > > 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] <javascript:> <mailto: > [email protected] <javascript:>>. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/ansible-project/eca3e85e-fbd2-4375-8a80-0649e4aa7103%40googlegroups.com > > > < > https://groups.google.com/d/msgid/ansible-project/eca3e85e-fbd2-4375-8a80-0649e4aa7103%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/aff8cde3-cbd2-4cfb-b838-28fc713fda58%40googlegroups.com.
