Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Error: Failed to load 'http://localhost:8083/create_session' #1732
Hi, i've read multiple posts about this error. I believe mine is happening because I run a very uncommon setup: Android Emulator comunicates with a virtual machine running everything I need.
The virtual machine is always at 192.168.122.99 which is reachable by the Android Emulator just by doing 192.168.122.99.
I need to understand what is realm doing. Is is trying to simply access localhost:8083 or there's more? I've read the code and it appears that it runs an webserver on the Android side. What is it for?
I need to know what is 8083 so I can know how to route things right. If the problem were only that localhost:8083 should go to 192.168.122.99:8083 then adb reverse tcp:8083 192.168.122.99:8083 should work but it's not working.
Could somebody explain the network topology better to me?
Realm connects to something in two cases:
Thank you. By understanding what was happening, I was able to do the proper redirecting.
Seems that the problem is that chrome debugger tries to connect with the RPC realm server running on Android at port
For those who run an inconventional setup inside VMs and do proper networking, here it goes:
In my virtual machine, I sent the 8083 port to the 8083 port of the host machine
(my virtual machine uses the
I then redirected
In order for it to reach android I'd have to redirect