insomnia: [Bug] Generate Code Snippet doesn't work behind proxy server
Overview
Insomnia Version:
5.7.4
Operating System:
Manjaro LinuxSummary:
Attempting to generate code snippets for a service request and it just sits there saying “Generating Code”:
Even with the Preferences setting an HTTP proxy, and checking “Enable HTTP Proxy”, it is not used as far as I can tell.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (7 by maintainers)
Hi @tharsik. That’s strange, I’ve never seen that before. It looks like one of the database files got corrupted somehow. Here’s how you can debug it.
Option 1 – Delete Application Data
This method will delete all application data. If you don’t care about losing a few things, this is the easiest option.
To delete all application data, remove this folder from your hard drive:
C:\Users\chant_000\AppData\Roaming\Insomnia
.Option 2 – Try Recovering Data
This method is more involved, but you may be able to save some of your data depending on which database file was corrupted.
C:\Users\chant_000\AppData\Roaming\Insomnia
insomnia.*
and rename it to something elseinsomnia.Response.db
first, as it is the least importantOnce you find the corrupted file, you can delete it. Depending on which file was corrupted, you may still be still have most of your data. However, if a lot of your data is still missing, I recommend doing step 1.