-
-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chucker doesnt allow saving file of this request #1030
Comments
Can you provide a logcat of what is happening? |
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 also logcat writes this after i click save icon button and explorer screen shows up: |
Any thoughts about it? |
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? |
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"? |
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 |
That's already possible today with the "Share as file" which allows you to save the whole file. |
✍️ Bug description
Request and response body copied from Chucker:
URL: https://example.com/
Method: POST
Protocol: null
Status: Failed
Response: javax.net.ssl.SSLHandshakeException: Unacceptable certificate: CN=GlobalSign Root CA, OU=Root CA, O=GlobalSign nv-sa, C=BE
SSL: Yes
Request time: Tue May 02 20:30:37 GMT+03:00 2023
Response time: null
Duration: null
Request size: 43 B
Response size: null
Total size: 43 B
---------- Request ----------
{
"login": "example" }
---------- Response ----------
(body is empty)
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.
📱 Tech info
The text was updated successfully, but these errors were encountered: