Open leoneperdigao opened 1 year ago
I'm having a similar problem with the CLI with a chained request that works fine in the Mac desktop. In my case it's unable to resolve the host name for a dependent request. The same test works fine when it's run normally.
Error: Failed to send dependent request Error: Couldn't resolve host name
at /snapshot/insomnia/packages/insomnia-send-request/dist/index.js
at /snapshot/insomnia/packages/insomnia-send-request/dist/index.js
at RawTask.call (/snapshot/insomnia/packages/insomnia-send-request/dist/index.js)
at flush (/snapshot/insomnia/packages/insomnia-send-request/dist/index.js)
at Timeout.handleTimer (/snapshot/insomnia/packages/insomnia-send-request/dist/index.js)
at listOnTimeout (node:internal/timers:564:17)
at process.processTimers (node:internal/timers:507:7)
Not sure if this is related
Expected Behavior
I have several endpoints to be tested, and some of them require authorisation. For all these endpoints, I configured the Bearer authentication with the token as a response body of the auth endpoint.
Example:
Actual Behavior
The request chaining works smoothly in the Desktop app. However, in the CLI, this just do not work whatsoever. No matter how the requests are configured, I always the the following error:
I already tried to use the tags in the environment, authorisation and headers, and all of them results in the same behaviour.
Reproduction Steps
Is there an existing issue for this?
Additional Information
I also tried to run it in a pipeline (linux ubuntu 22.04.2 LTS), but it results in the very same problem.
Insomnia Version
3.16.0
What operating system are you using?
macOS
Operating System Version
Apple M1 Max - Ventura 13.4.1 (22F82)
Installation method
homebrew
Last Known Working Insomnia version
No response