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

  1. Define a POST request to a localhost or 0.0.0.0
  2. Define the JSON body is a login request
  3. Send the request
  4. Watching the server log, don’t received any request
  5. Also when this occurs I can’t cancel the request in Insomnia and need to close de APP
  6. 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"
}'
  1. 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

Most upvoted comments

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”.

image

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

Captura de tela de 2019-05-13 14-41-20