yagiz / bagel Goto Github PK
View Code? Open in Web Editor NEWa little native network debugging tool for iOS
License: Apache License 2.0
a little native network debugging tool for iOS
License: Apache License 2.0
I follow the instructions: Clone, Install Pods and Build + Archive but always show [default] Unable to load Info.plist exceptions (eGPUOverrides) and doesn't show nothing in the Bagel App.
Thanks for great projects.
I want to suggest new feature.
that is add local notification when came new request.
Thank you 👍
That would be nice to have a curl tab or
an option on the right click to be able to copy as curl
How can i change the theme?
Hi,
This is information question.
Which desktop client can be used. I configured this but unable to see network call. Can you please let us know which app is used for screenshot?
When you once have opened the search via Cmd + F, it will reopen every time you bring Bagel to the front.
As a way to solve #29 I suggest distributing macOS app over Homebrew. To do that two things have to be accomplished:
Any thoughts? (I could work on that)
no need describing
Hello
I want to use Bagel from a swift project. Wenn I install the pod, and add Bagel.start() I get an error stating that Bagel is unknown.
I also tried to add import Bagel, but got an unknown error as well.
Any ideas ?
Hi,
I've an issue with GoogleMaps and Bagel, in particular the map tiles don't load and the request to Google returns 400 (bad request).
I've debugged the Bagel pod and see that if I comment out the swizzling of the resume method it works fine.
It seems the the original network method isn't called with the right parameters, the body request isn't propagated.
The request with the uncomment swizzled resume (400m bad request) is:
And the request with the commented swizzled method (200 ok) is:
When using Bagel combined with a URLSession that uses a custom URLProtocol (for example using https://github.com/AckeeCZ/Reqres), each connection is logged twice in the Mac app
Hi,
I tried integrating Bagel into my app and love it so far! But I'd love to replace my network logger completely with Bagel, that would mean that I'd love Bagel to also be able to log requests to console, e.g. like my current network logger Reqres does.
Would that be possible?
Thanks 🙂
i miss in readme:
i need to checkout this repo and build the macOS client? or where i can find it after the pod install?
@yagiz Is there anything any of us can do to help contribute and take some of the load off of your shoulders?
Hi !
I regularly have a crash when initializing Bagel with the inject method. I didn't change anything about the configuration, and the crash occurs on line 47 of BagelURLConnectionInjector :
if(class_conformsToProtocol(classes[i], protocol))
.
In the console, I have the following output: "Attempt to use unknown class"
BagelBrowser.h
imports CocoaAsyncSocket
as a module, which is not available when building as a static library.
Consider changing @import
with a direct file imports:
#import <CocoaAsyncSocket/GCDAsyncSocket.h>
#import <CocoaAsyncSocket/GCDAsyncUdpSocket.h>
how can I get the cookies with bagel app?
I want to know that, can iOS App be published to the App Store if it including your iOS client?
Bagel macOS works great with iOS < 13. After iOS 13 release it sees the device, but can't intercept requests. What may be a reason?
With iOS 13 the status code do not appear anymore.
Wondering if there's a desire for URLs to be tappable in the JSON previewer. I have a PR open (#58) to format URLs better, and adding tappable links is something I can work on, if this is something that would be desirable to others.
It seems like there's an easy possibility for an infinite loop at https://github.com/yagiz/Bagel/blob/master/iOS/Source/BagelBrowser.m#L90 if the first address does not connect successfully as addresses
is never modified.
The Mac App can not work. It shows nothing.
I have been using Bagel for a week, it's incredibly useful, thanks for making this project.
One thing I noticed that our WebSocket connections cannot be found on Bagel panel, and since I'm sure both the server and the app code works fine, the conclusion seems to be WebSocket is not supported by Bagel for now.
So Is there any possibility that Bagel can support WebSocket requests? I don't know if this could be achieved technically, just throw out my thoughts for further discussion. If supported, I expect the data flow continuously appears in the response section of bottom panel.
RT
The following code is not being tracked:
if let data = try? Data(contentsOf: URL(string: "http://google.com")!) {
...
}
After installing the pods and calling it from my project, I get this error :
Module 'CocoaAsyncSocket' not found
Hi,
Would that be possible to add the Payload order size and type ( such as JSON, png ) column?
Thanks
Can Bagel's Mac app debug network request/response from the iOS Simulator?
Request PATCH
not showing in current version Bagel.
but, old version working good.
After adding the package to my Carthage cartfile, if I go to install the package by doing:
carthage update Bagel
I get the error:
*** Skipped building Bagel due to the error:
Dependency "Bagel" has no shared framework schemes
Hi!
As a user, I would like to see the HTTP method in the list, not only in the details of the request.
Currently, I can only see Status
, URL
and Date
.
Would be nice to have an overview looking directly to the list.
URLSession
provides a mechanism for additional HTTP Header fields to be automatically added to each URLRequest
that it sends. Bagel does not observe these additional headers.
let config = URLSessionConfiguration.default
config.httpAdditionalHeaders = ["Additional-Header": "Bagel"]
let session = URLSession(configuration: config)
let task = session.dataTask(with: URL(string:"http://www.whileloop.com")!)
task.resume()
Bagel will not observe
Additional-Header: Bagel
For some reason my GET
response showns an array with indexed keys, which ofcourse is invalid json:
The actual raw response is valid:
{
"grid_blocks" : [
{
"path" : "\/pro",
"node_type" : "mgnl:grid_two_highlights",
"items" : [
{
"id" : "efef4a61-dd69-4ecd-8252-10cf2f138a50",
"meta_description" : "Waarom?",
"background_gradient" : true,
"background_color" : "black",
"pro" : true,
"square" : false,
"external" : false,
...
Don't see status of request when using iOS 13+, on iOS 12 all working fine.
Hello,
the Mac application is having issues handling larger JSON responses.
Is there anything that could be done to optimize, warn?
I receive this problem, why?
Hi,
I used Bagel for network analysis. But it is not easy to find out duplicate API calls being made for ordering. If you add another filter button or add a click action on status, method, or URL tabs for sorting, that will be good.
Would that be possible?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.