realm-js: "Module AppRegistry is not a registered callable module" with remote debugging
When I include Realm in my project and use remote JS debugging I see the following error on the phone: “Module AppRegistry is not a registered callable module”. And the Chrome log shows:
POST http://10.8.239.5:8082/create_session net::ERR_CONNECTION_REFUSED
10.141.19.252:8082/create_session:1 POST http://10.141.19.252:8082/create_session net::ERR_CONNECTION_REFUSED
DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://10.141.19.252:8082/create_session'.(…)
Realm failed to connect to the embedded debug server inside the app. If attempting to use Chrome debugging from a device, ensure the device is reachable on the same network as this machine.
Module AppRegistry is not a registered callable module.
It seems odd that the errors mention port 8082 since my local dev server is running on port 8082.
This is likely related to #465. The last comment in that thread mentions that remote debugging may not work at all. If that is the case then it would be really helpful if that was mentioned somewhere in the documentation.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 6
- Comments: 32 (8 by maintainers)
Same issue here.
@brithbutter I don’t think so. We had so many problems with Realm on React Native (this one, in particular, performance, etc) that we moved to react-native-sqlite-storage. We have been happy ever since.
Hello @alazier. No, unfortunately not. Debugging on device is still impossible. Probably same issue as in #571. I’m hoping that maybe #598 will make it possible to at least make debugging possible.
Still no solution for this issue?
I am able to do remote Chrome debug on an iOS device with
1.10.1and React Native0.45.1but encounter this problem when the app is woken up through Bluetooth State Restoration, which makes it impossible to debug Bluetooth issues and unfortunately is a deal breaker for us.Is there any plan on fixing this issue? Otherwise we will unfortunately have no other choice but to look for alternative database libraries.