React Native Expo error unauthorized request - react-native

I have been developing an application for quite some time and yesterday when I have run expo, i kept on getting spammed by this error that I am using extensions that intercept the Http request but I was using my iPhone to see the app which had no extension that could intercept it. Any help would be much appreciated
Error: Unauthorized request from http://y6-yyr.anonymous.alb-mobile.exp.direct. This may happen because of a conflicting browser extension to intercept HTTP requests. Please try again without browser extensions or using incognito mode.
at remoteDevtoolsSecurityHeadersMiddleware
EDIT
Found out that the problem occured from my Wifi, but any help to fix it would be more than great !
Expo Error

Related

Hide Request/Response header for get request from fiddler or other apps

I need to get request from android app Im using Memu emulator
I installed xposed and sslunpinning
when i use proxy with burp suit or fiddler
the app not conneted !!
how can I fix this problem

Network Request Failed when trying to upload formData using Expo

I'm trying to upload a formData using fetch API. I'm using Expo and my server is a feathersjs, with ngrok.
All other requests are working great, just those with formData files.
Trying with Postman also works perfectly.
I've noticed that this happened after I run yarn upgrade.
It seems to be an issue with Flippers on React Native 0.62.
So when I make the request it returns me the Network Request Error, but on the server side, it continues normally. But the problem is that I don't know when it finished on my server, so my Expo app cannot work accordingly.
If you guys don't know how to fix it, do you have any idea of a workaround that I can implement? As I said, on my server it still works perfeclty, but as my Expo App already returned an error, I can't work properly on my frontend. Should I make another request to look for the resolve of the file uploading?

how to add ssl.cer file in my react-native project (Unable to make https request in react-native-android)

I tried hit https get a request from react native mobile app. I got an error as a network request failed. but I am able to hit HTTP request with the same app, tried to change many configurations in react-native android manifest files nothing worked out for me. finally, I predicted an SSL certificate is required to make https request.
Now I don't know how to add ssl.cer file in my react-native project.
Thanks in advance.

Capture HTTP request using Postman native app

I have been using the Postman Chrome app for my API developments.
I can simply turn on the request capture from chrome and the interceptor from the Postman Chrome app, and like magic, all the requests (headers, body, ..) would be captured by the app.
Off late I have been getting a notification that the Postman native app is available and the support for the Chrome app would be soon stopped.
I downloaded the native app and it looks great but couldn't figure a way to capture requests with it. I googled a lot but couldn't find a solution.
I read this from the Postman documentation and found it quite confusing and I don't think that's not what I want.
I would really appreciate a solution.
Thanks.
The same interceptor functionality isn’t available in the native app yet, looks like it’s still on the Postman roadmap but no time scale for when this will be completed yet. Some discussion were captured in this Github issue:
https://github.com/postmanlabs/postman-chrome-interceptor/issues/56
There is a workaround provided here but again, that’s probably not what you want. Does Postman's Chrome Interceptor still work with the standalone version of postman?
Alternatively, you could use Fiddler as a web proxy to capture the traffic, this would provide you with all the details for any of your requests. Worth checking out.

Quickblox sdk - Authentication token is required error (xamarin.forms)

I am trying to run quickblox sample chat application which I got from following link
https://github.com/QuickBlox/quickblox-dotnet-sdk
Issue here is, when I run the app, it fails to load base session and gives error such as "{"errors":["Token is required"]}". I tried to debug it but could not find the root cause of it.
(Example code is using Quickblox sdk 1.2.2, which I tried to upgrade to 1.2.7 as well but in that case also still that issue remains)
The method inside sdk uses service call to api (http://api.quickblox.com/session.json) for getting session, which I tried to call by using Postman (google chrome extension), in which case I was able to get the session in response. Strange it is.
Does anybody know what is wrong with the example?
Update: I tried to manually write http call for getting session. Now in this case, I am no more able to access dialogs and other api calls are also failing(getting forbidden error in almost all sdk api calls after authenticating).
Could anybody tell me what is going wrong here?
After spending complete day found the fix. It was really small issue. Currently sample in github is using http://api.quickblox.comas a api end point, change it to https://api.quickblox.comand it will start working. Note the 's' in url.
The best way to do this is by using the account settings API.