insomnia: [BUG] Insomnia fail but curl works?
I have the same problem, and I don’t have tokens in these requests like login
endpoint. This request already was in my Workspace for a long time and always worked.
I’m also using in my local development server and the request doesn’t reach the server with Insomnia
however in curl
works normally.
-
OS
Ubuntu 18.04 bionic x86_64 Linux 4.15.0-48-generic
-
Insomnia
v6.5.1
Version 6.5.1
Shell 3.0.4
Node 10.2.0
V8 6.6.346.32
Architecture x64
libcurl/7.61.1 OpenSSL/1.1.0h zlib/1.2.11 nghttp2/1.29.0
_Originally posted by @davibusanello in https://github.com/getinsomnia/insomnia/issues/836#issuecomment-491852003_
Reproducing
- Define a
POST
request to alocalhost
or0.0.0.0
- Define the JSON body is a login request
- Send the request
- Watching the server log, don’t received any request
- Also when this occurs I can’t cancel the request in
Insomnia
and need to close de APP curl
request
curl --request POST \
--url http://0.0.0.0:8000/api/v2/account/login \
--header 'content-type: application/json' \
--cookie language=en-US \
--data '{
"email": "58594da2aa84sssa09f6ae757e6b7c@lolololo.com",
"password": "das3112Dada"
}'
- All worked well in curl
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 1
- Comments: 17 (8 by maintainers)
Commits related to this issue
- Improvements to Response tag recursion and rendering (Fixes #1500) — committed to Kong/insomnia by gschier 5 years ago
- Fix Response Tag infinite recursion (#1502) * Improvements to Response tag recursion and rendering (Fixes #1500) * Add tests for response tag dependency sending — committed to Kong/insomnia by gschier 5 years ago
- Fix Response Tag infinite recursion (#1502) * Improvements to Response tag recursion and rendering (Fixes #1500) * Add tests for response tag dependency sending — committed to Thejas007/insomnia by gschier 5 years ago
6.5.3 works very well too! Thanks @gschier
Works for me too, thanks @gschier !
It will still happen even if you don’t reference those properties in a request. The environments are compiled and rendered no matter what.
Working on a fix!
Thanks for the info @Gomah!
I just talked to someone on Slack with the same issue. For them, it was caused by using the Response Tag in an environment with Trigger Behavior set to “Always”.
Same issue here, tested with 2 laptops using Mojave 10.4.4. It works fine with Insomnia 6.4.2.
@gschier The Timeline never appears because request can’t be canceled and no timeout occurs. I also have checked a strong CPU consumption by Insomnia