just_91
(just_91)
March 20, 2022, 9:40am
1
Here’s an outline with best practices for making your inquiry.
My question :
trying to run get request but having issue
but having this error
Could not send request Error: Request timed out
Details (like screenshots) :
curl request
curl --location --request GET ‘https://testapis.tawal.com.sa:9502/mobile_app_employee-camunda/api/empl/camunda/v1.0/mobile/my-group-tasks/9c4378db-b3fc-4de8-9bf6-8ea77f5fb1dc?start=0&pageSize=10&status=PENDING ’ \
–header ‘on-behalf-token: eyJ0eXAiOiJKV1QiLCJub25jZSI6InJSUWJGbV9FaUJVNWx6WnZpbW5wbVVJd0hpUHpETGFkU3Blb3FhNnVPazQiLCJhbGciOiJSUzI1NiIsIng1dCI6ImpTMVhvMU9XRGpfNTJ2YndHTmd2UU8yVnpNYyIsImtpZCI6ImpTMVhvMU9XRGpfNTJ2YndHTmd2UU8yVnpNYyJ9.eyJhdWQiOiIwMDAwMDAwMy0wMDAwLTAwMDAtYzAwMC0wMDAwMDAwMDAwMDAiLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC9mNDA5YTEzYy1iYzU2LTQ3NzktOGZkYi05NDg3NzNmMDU1NjQvIiwiaWF0IjoxNjQ3NzY2MDUzLCJuYmYiOjE2NDc3NjYwNTMsImV4cCI6MTY0Nzc3MDUwNSwiYWNjdCI6MCwiYWNyIjoiMSIsImFpbyI6IkUyWmdZTkNzdEZ6d3JVa3pzSXVWVzBvMi9NMm4zb2NhZDZVOVgrejY1bUZ4cXZqT3laVUEiLCJhbXIiOlsicHdkIl0sImFwcF9kaXNwbGF5bmFtZSI6ImVtcGxveWVlLXdlYiIsImFwcGlkIjoiNzhjMThhNTQtOGJlMS00ODA5LWI5ZDAtYTNhNjNjMmVlMTYyIiwiYXBwaWRhY3IiOiIwIiwiZ2l2ZW5fbmFtZSI6InNvZXBvcnRhbF90ZXN0aW5nXzEiLCJpZHR5cCI6InVzZXIiLCJpcGFkZHIiOiIxOTcuNjAuNjYuMTI5IiwibmFtZSI6InNvZXBvcnRhbF90ZXN0aW5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25jZSI6IjBiZmU1M2Q1LTgyZDktNGMwOS1iMDVkLTA1ZWYxN2U3NTJlMiIsIm9pZCI6IjNmOTA4NDE4LTVjMzktNDRhMC04NzQ4LTVhYzk1M2RiMzg2MyIsInByZWZlcnJlZF91c2VybmFtZSI6InNvZXBvcnRhbF90ZXN0aW5nXzFAdGF3YWwuY29tLnNhIiwicmgiOiIwLkFUc0FQS0VKOUZhOGVVZVAyNVNIY19CVlpGU0t3WGpoaXdsSXVkQ2pwand1NFdJN0FGRS4iLCJyb2xlcyI6WyJhNTUyMzQwOS1iNzMyLTQxMWYtODEzYS1jZTAyNGU0Mzk4NDUiLCI4NTJkN2FmYS0yMWM0LTQyMWItODlmNS1lODZhOGIyMDY2MmQiXSwic3ViIjoicldtVmFESTZWV3VkXzZMWW9wSnp3U09mUXVRaVNGTTNaanhjNmd2TG1NdyIsInRpZCI6ImY0MDlhMTNjLWJjNTYtNDc3OS04ZmRiLTk0ODc3M2YwNTU2NCIsInV0aSI6ImR5Y2hySUR1cTB1YTRuelBBa3BEQUEiLCJ2ZXIiOiIyLjAifQ.qdTrSr5LcKdOrNJVYZP3RCqZKfR8UhCn36Redtve9oKD-iRPgP_up32jrUqnLa22i3oqD63b4mYQwuX8KLOqZj4yOgZD0Jpd9CM1Pzyj-_FaS8G9b_VIoukqAsu1r5aEw_ES0o2ecH75dXJEGw-2OIZYi7BgNfLC5spTIRtsNL3B6e7kydbAYdAVsr3UmQsHqHYyrxkdKODCCx40QINrcNE_2sBldXHXD2lTqdeiDkFAUz8fY2OR7ZjNLVfGwFWzkwNX_uXtXBb0-_hFCmVrF2JCpErrHwbDOMYJ-YD_JJLbIZQrLC0j8oIGE7B7xYeyk8lDJD4aUQ-4H-vKFitL7g’
w4dd325
(w4dd325)
March 21, 2022, 10:22am
2
Hi @just_91
Are you sure that the API end-point you are trying to hit, exists?
1 Like
@w4dd325 I am having exactly the same issue, but I have sent my request to other team members and they are having no issues making it. So in my case at least, its not a matter of whether the endpoint exists, but that something funky is going on with my Postman.
I have reinstalled and gotten the latest version, but no dice.
w4dd325
(w4dd325)
March 24, 2022, 11:09pm
4
Can you send the curl command manually from the same machine?
From the command line or from something like reqbin.com
You can grab the curl command from Postman here;
No I cannot send a curl command, it fails to send. I did some further investigation and found that I could send the request directly to the backend URL that we are using, but was unable to send it to the frontend. Perhaps this is a firewall issue or something similar? Regardless, it doesn’t seem to be an issue directly with Postman.
I appreciate your responses
1 Like
w4dd325
(w4dd325)
March 25, 2022, 10:27pm
6
Firewalls was going to be my next question.
1 Like
I am having this issue also. i can send the request through a browser and from command line. It only fails with postman. Any ideas?
w4dd325
(w4dd325)
April 29, 2022, 8:12pm
8
If it onyl fails in Postman I would suggest re-checking your request and headers.
What is the response code you get?
Error: connect ETIMEDOUT 10.0.75.1:80
Request Headers
Accept: application/json, text/plain, /
Accept-Language: en-US,en;q=0.9
Connection: keep-alive
Cookie: remember_web_59ba36addc2b2f9401580f014c7f58ea4e30989d=eyJpdiI6IjAxYkExVG95WHFUUTU2M2NvTFZONlE9PSIsInZhbHVlIjoib3gxdUxDM1Q3aXBKQzJSZ0JoZ3RkeExBdnROZzhEdzEwbFVZM0IzYnNITFA3QU5lSmRvV21FL1dKZTAxUEhGR281Q1dRVUZzM3gzc2pKaWZMUHJIcHUzaTlPYVBsREJZM3pRK3Q1cTJaeURnQXBvSlg4KzhLZ1pUOEZEV0VQM0FkcmgzVVpPcEYrdWNubThuZGdNZ1BiWUxVcVdEbngxVW1mOG43VkdGKzBKY09NVGRBQW42YjBoazdJbkdDMnltb0lLV0FWY0tFSG94UzhRUmdWRzNET3pST1JMNnpleFA3Yld6MUFqN3BiOD0iLCJtYWMiOiJiN2YzYzMzNGE0ZTI5MDJhYWE3M2Y3MmFiYTNkZjFlMDlmNWU0MTAxMThiMDExYWU2ZGVkNTlmZjI4MGU1ZTM5IiwidGFnIjoiIn0%3D; laravel_token=eyJpdiI6InhJaW5CWHJ2ZkZPaVhIcCt3MTIrK3c9PSIsInZhbHVlI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2g2UGNHbkRscFo1RTU3M3k2MURSRkorVzZocStTd2lvZEh1TTI0R2c2YmJxVGtTejByV2xFZ1l3NXY1WFUiLCJtYWMiOiI5ZjdiM2Y4N2Q5MjZjNzJjOGQ1OTBlOTVmMDMwNDY5Y2UzYTUzZTViM2VlMzZmZGNiN2E4ZDgzZDk0MWE2OTMwIiwidGFnIjoiIn0%3D
Referer: http://facebook-ct.local/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
X-Requested-With: XMLHttpRequest
X-XSRF-TOKEN: eyJpdiI6ImhZdFlrTVRDY2hCQlVqT2lxeGlUM2c9PSIsInZhbHVlIjoia3FtMXQzempqbVlPeWlZRkUxYVNreUF4NVZpRGJVelFUald3MVozZkVNalAwdDBZNU5Ea0JZelIrYXQwYnpVdmxqUU9VYzhZM3lpa2lTa1IyRWpmdHlMZkNiMTZLWENCa0JPc3lONm9xMkx0WkVLMXB5YlQ3UnlzVVJqQWtuZm4iLCJtYWMiOiI2ZTVjNDdjOWZkMjY0YzEyNTcxOWM5MDhmODhhMjFiOWNiY2M1NDZlMTRmNTJmNTMxN2ExMTM0ZWM2Yzc3NjA4IiwidGFnIjoiIn0=
Host: facebook-ct.local
Accept-Encoding: gzip, deflate, br
I can pull the curl directly from the postman code tab and it runs. It doesn’t make sense.
w4dd325
(w4dd325)
May 2, 2022, 12:35am
11
According to this documentation, it sounds like a network issue.
https://nodejs.org/api/errors.html
ETIMEDOUT (Operation timed out): A connect or send request failed because the connected party did not properly respond after a period of time. Usually encountered by http or net . Often a sign that a socket.end() was not properly called.
Check your Postman settings. See if it’s running through a proxy or something like that;
1 Like
Yep. I turned off all proxies. I even thought that it was my windows firewall but I turned it off and still didn’t work.
w4dd325
(w4dd325)
May 2, 2022, 8:38am
13
Running out of ideas if im honest …
what is facebook-ct.local? is that a locally hosted site?
The timeout appears to be on IP address 10.0.75.1:80 , so im guessing it is something you are hosting?
My only other idea is that there is a problem with the way postman interacts with docker sites but I am not finding any solutions online.
w4dd325
(w4dd325)
May 2, 2022, 12:17pm
16
Maybe the info on here will help?
docker, nginx
I’m late to the party on this but I can’t see if you’ve said how quickly this error comes back. Network timeouts, in my experience, are typically around 20s (not in all cases).
However you can set a client-side timeout in postman (i.e. how long postman will wait before giving). You might have a low number. You won’t see this in the curl command or request headers.
Have a look in Settings > General tab
That example will timeout after 100ms.
Unless you have had a reason to set this differently in the past, it is unlikely to be have been your problem but perhaps worth knowing this.
Im having this same problem. It just started happening out of nowhere… Did you find a solution ?
lupor
(Lupo Ribi)
October 8, 2024, 11:58am
19
Was anyone able to resolve it? Now it started for me. Same exact problem. Works with curl, works in browser, works in hoppscotch etc, but times out immediately in postman. I’ve re-installed it a bunch of times. Deleted config from the AppData folder (windows), but absolutely nothing works.
I am seeing the same problem. I had to get on a pair session with a vendor because I couldn’t ping their API from the desktop tool. I was able to ping it from my terminal. We checked my credentials, passed in arguments, whitelist settings, proxy, firewall, everything. Any updates from the Postman team on why this happens?