Comments (7)
Lost data though as I cleared site data in browser. Might have to take regular backups from now on. Thanks for the help
Oh no. Clearing site data will cause data loss. Yes, please do take regular backups when you can. Will be adding a configurable limit to response history. That will prevent this issue to a high extent. Will keep this issue open until then.
from restfox.
Hi, can you expand one of these:
Seems like Restfox is unable to open indexeddb. Can you give me the version of your chrome browser?
Also, can you visit this url https://mdn.github.io/learning-area/javascript/apis/client-side-storage/indexeddb/notes/ and add a note using their ui to check if indexeddb is working properly outside of Restfox? If that also fails, then something is wrong with chrome or maybe your main drive doesn't have much disk space left.
from restfox.
Chrome version:
Version 107.0.5304.110 (Official Build) (x86_64)
Attempt to create a new note ends up in below error
from restfox.
Thanks. Since you only have only 11.55 GB left, it might actually be space issue. According to this: https://web.dev/storage-for-the-web/#how-much, a website can use 60% of the total disk space. Maybe we're hitting that limit. I assume you do a lot of multipart requests and that might be the reason. Since we store the response & request history of each request, it might be eating a lot of storage. I'll have to add a hard limit on the count of response history stored per request to prevent this issue.
Can you run this js code in chrome devtools on restfox.dev. This will help us find out how much storage has been used and how much is left. We might find our culprit there.
if (navigator.storage && navigator.storage.estimate) {
const quota = await navigator.storage.estimate();
// quota.usage -> Number of bytes used.
// quota.quota -> Maximum number of bytes available.
const percentageUsed = (quota.usage / quota.quota) * 100;
console.log(`You've used ${percentageUsed}% of the available storage.`);
const remaining = quota.quota - quota.usage;
console.log(`You can write up to ${remaining} more bytes.`);
}
The issue can probably be temporarily resolved by freeing some additional disk space.
from restfox.
from restfox.
This is what I see, when I run this snippet in my console:
The minus value doesn't look good.
Can you run this, so we can see the actual quota values:
if (navigator.storage && navigator.storage.estimate) {
const quota = await navigator.storage.estimate();
const percentageUsed = (quota.usage / quota.quota) * 100;
console.log(`Available quota: ${quota.quota} bytes`);
console.log(`Used quota: ${quota.usage} bytes`);
}
from restfox.
Restarted my system and now things seem fine.
Lost data though as I cleared site data in browser. Might have to take regular backups from now on. Thanks for the help
from restfox.
Related Issues (20)
- Collection Settings HOT 2
- Show Restfox to the World HOT 2
- There are some issues with pasting content into url and scripts HOT 2
- The request title of the tab bar is not displayed correctly
- 0.12.0 x64 for macOS HOT 3
- fetchSync certificate verification and script environment variable issues HOT 3
- Invisible GraphQL body after v0.12.0 update HOT 1
- Path variable not auto populating HOT 3
- Add Javascript Console HOT 6
- Conflict when using path with ports HOT 3
- [Feat Request] - Chaining request HOT 1
- Add Default User Agent HOT 2
- Response filter HOT 1
- Using axios lib HOT 1
- docker-compose file
- Create Restfox DSL HOT 5
- UI improvement - Request method list with according color
- Mapping the status code with its status text HOT 1
- response panel > xml response filtering
- trouble with url being mutated by restfox? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from restfox.