Comments (8)
When i press save button on it it says "Failed to save file" (but it still saves an empty file)
With other requests i was able to save file properly, with requests like this one - nope.
Can you provide a logcat of what is happening?
Is there anything specific in this request that might cause the failing?
from chucker.
I don't think there is something specific in request.
I sorted logcat by ERROR and WARN levels and after i click save button (not save icon one) here is what logcat shows:
19:32:35.922 W removeWindowToken: Attempted to remove non-existing token: android.os.Binder@5588798
19:32:36.241 W java.io.IOException: Transaction not ready
19:32:36.241 W at com.chuckerteam.chucker.internal.ui.transaction.TransactionPayloadFragment$saveToFile$3.invokeSuspend(TransactionPayloadFragment.kt:283)
19:32:36.241 W at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
19:32:36.241 W at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
19:32:36.242 W at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
19:32:36.242 W at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
19:32:36.242 W at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
19:32:36.242 W at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
19:32:36.242 W at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
19:32:36.242 W at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
19:32:36.326 E App trying to use insecure INPUT_FEATURE_NO_INPUT_CHANNEL flag. Ignoring
19:32:36.597 E perfLockRel handle:10626
also logcat writes this after i click save icon button and explorer screen shows up:
19:37:43.523 E No package ID ff found for ID 0xffffffff.
19:37:43.562 E No package ID ff found for ID 0xffffffff.
19:37:43.570 E App trying to use insecure INPUT_FEATURE_NO_INPUT_CHANNEL flag. Ignoring
19:37:43.576 E No package ID ff found for ID 0xffffffff.
19:37:43.684 E No package ID ff found for ID 0xffffffff.
19:37:43.822 E perfLockRel handle:10639
19:37:44.179 E No package ID ff found for ID 0xffffffff.
from chucker.
Any thoughts about it?
from chucker.
Response size: null
I believe what is happening is that this HTTP response failed to save as it has no body so Chucker can't save it. I'm unsure what are you looking into doing @MadRatSRP, like why do you want to save it?
from chucker.
Response size: null
I believe what is happening is that this HTTP response failed to save as it has no body so Chucker can't save it. I'm unsure what are you looking into doing @MadRatSRP, like why do you want to save it?
This problems happens when our server doesnt have valid SSL sertificate.
Why do i want to save it as a file - for sharing it from external device where i don't have installed telegram, e.t.c for sharing directly so i would have to create text document, copy text from Chucker and then move the document.
Why doesnt it allow to save it as a file when this error occurs?
from chucker.
I understand now what i was missing - i thought that clicking save button on Response tab allow you to save an entire file, hence why i thought of empty file as a bug.
Could you please add a way to save entire request with responce, e.t.c as a file? By clicking save button. Or to add an option to save a file into explorer when we press "Share as file"?
from chucker.
Also one more thing to add - instead of showing "Failed to save file" message (which for the most users tells about something about permission not granted, e.t.c) when response | request body is empty, please show the exact message, "response is empty" | "request is empty" when trying to save files like these.
This will help most users like myself to understand whats going on faster. It may sound like the obvious thing, but its not always like this, you know :D
from chucker.
Could you please add a way to save entire request with responce, e.t.c as a file? By clicking save button. Or to add an option to save a file into explorer when we press "Share as file"?
That's already possible today with the "Share as file" which allows you to save the whole file.
I've improved the error message here: #1038
from chucker.
Related Issues (20)
- Not receiving notification
- Crash on Share Click java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/appcompat/graphics/drawable/DrawableWrapper; HOT 3
- React native app crashing issue
- add support for android 14 HOT 1
- Share Crash TransactionTooLargeException
- Chucker working fine in react native debug build. how to enable in release build? HOT 3
- With notifications disabled, Chucker will still ask for notification permission when launching the activity HOT 5
- body is empty in the Request Body even though the log shows the actual request body (see screenshot) HOT 3
- Chucker not working in React native latest version
- Control what to show/ hide in request/ response bodies HOT 3
- Allow tracking of all network calls HOT 3
- IllegalStateException when open single API request information on release build. HOT 6
- The large JSON data is corrupted. I cannot see or export large JSON file (3.2mb)
- Aaa
- chucker/4.0.0 build faild on jitpack HOT 2
- Can not force ltr in RTL languages HOT 1
- Chucker not working on some devices but is working on others
- Localization HOT 1
- Toolbar subtitle (app name) gets truncated on device OnePlus7 Pro (OS 12)
- Duplicate class com.chuckerteam.chucker.api.Chucker found in modules jetified-library-4.0.0-runtime HOT 4
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 chucker.