Reactotron not connecting
See original GitHub issueHi,
I installed Reactotron tonight and it seemed to work well at first, I started installing plugins and playing with logging. It was all going great until all of a sudden it won’t connect.
No errors. just nothing…
I am using Expo, a real Android device using Expo’s tunneling, my lan IP is 192.168.0.22:19000
Here is my config
import url from "url"
import { NativeModules } from "react-native";
import Reactotron, { asyncStorage, openInEditor, networking, trackGlobalErrors } from 'reactotron-react-native'
import { reactotronRedux } from "reactotron-redux"
import apisaucePlugin from 'reactotron-apisauce'
const { hostname } = url.parse(NativeModules.SourceCode.scriptURL)
const reactotron = Reactotron
.configure({host: hostname })
.use(networking())
.use(reactotronRedux())
.use(asyncStorage())
.use(openInEditor())
.use(trackGlobalErrors())
.use(apisaucePlugin({
// ignoreContentTypes: /^(image)\/.*$/i // <--- a way to skip printing the body of some requests (default is any image)
}))
.useReactNative()
.connect()
export default reactotron
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:39 (3 by maintainers)
Top Results From Across the Web
No connection reactotron / react-native - Stack Overflow
You have to do the following: enter on CLI: adb reverse tcp:9090 tcp:9090; add this to a file (e.g lib/Reactotron.js):. import Reactotron ......
Read more >How to use the reactotron-react-native.clear function in ... - Snyk
Reactotron.connect() // Let's clear Reactotron on every time we load the app Reactotron.clear() // Totally hacky, but this allows you to not both...
Read more >Connecting to Reactotron - Easy Peasy v5
Firstly, ensure you have a Reactotron configuration similar to. ... issue for more information: https://github.com/ctrlplusb/easy-peasy/issues/599 window.
Read more >reactotron not connecting ios simulator
If you see the connection but no logging in the timeline; click the bottom of the reactotron window where it says x connections,...
Read more >reactotron - Bountysource
I have issues to get Reactotron working in my jest react-native test environment. Before running a test I simply do jest.mock("reactotron-react-native"); ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For me I had to put in my machines local IP to get it to connect
For anyone having connectivity issues, remember that you’ll need to run
adb reverse tcp:9090 tcp:9090every time you reconnect your physical device or emulator. Most likely everyone above has already done this, but for any new users that come here looking for answers it might be helpful.