Problem with runnning rentgendroid - browser crashes

hello there, I tried a couple of times to run this project, this is result of last ‘npm start’ in terminal

21 DONE 0.0s
$ docker compose up
 Container http_server  Created
 Container android  Created
 Container proxy  Created
Attaching to android, http_server, proxy
proxy        | usermod: no changes
android      | INFO    | Android emulator version (build_id 9751036) (CL:N/A)
android      | INFO    | Found systemPath /opt/android-sdk-linux/system-images/android-33/google_apis/x86_64/
android      | WARNING | System image is writable
android      | 
android      | up to date, audited 2 packages in 691ms
android      | 
android      | found 0 vulnerabilities
android      | * daemon not running; starting now at tcp:5037
android      | * daemon started successfully
http_server  | 
http_server  | up to date, audited 63 packages in 814ms
http_server  | 
http_server  | 9 packages are looking for funding
http_server  |   run `npm fund` for details
http_server  | 
http_server  | found 0 vulnerabilities
http_server  | 
http_server  | > build
http_server  | > esbuild --sourcemap --bundle src/trafficLog.jsx --outfile=dist/trafficLog.js --jsx-factory=h --jsx-fragment=Fragment
http_server  | 
http_server  | 
http_server  |   dist/trafficLog.js      16.4kb
http_server  |   dist/  81.7kb
http_server  | 
http_server  | ⚡ Done in 12ms
android      | ERROR   | Running multiple emulators with the same AVD 
android      | ERROR   | is an experimental feature.
android      | ERROR   | Please use -read-only flag to enable this feature.
android      | INFO    | Crashreporting disabled, not reporting crashes.
android      | INFO    | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag.

the browser shows an error, it looks like a problem with proxy

The connection was reset

The connection to the server was reset while the page was loading.

    The site could be temporarily unavailable or too busy. Try again in a few moments.
    If you are unable to load any pages, check your computer’s network connection.
    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the web.

docker seems working

previously there were some errors during installation, and linux was crashing.

Hello, I’m the one who created this entire app, it’s not an issue with the proxy, but rather with the android, there are some problems with the emulator (handling android in a “not intended” way gets a bit weird some times). There is a big update which has been waiting for revision for around a month which changes big behavioral things and will fix this problem. Whenever it’s checked and submitted this error will disappear.

1 Like

Ok I will get to review right now :bowing_man:

1 Like

Landed! @ziomek please pull the latest changes :slight_smile:

app is running, but since then my browser is lagging and crashing repeatedly, firefox immediatelly after launch, chrome works but lagged though. i increased snapshot time but it doesn’t help. my vsc ide the same problem, but i installed atom and this editor seems to work

hm. What’s your ram usage after running the emulator?

after restarting computer everything works for a while, then its getting worse and i can not do anything due to lagging :frowning:

(please paste the output of free -h after running the app)

ziomek@ziomek-HP:~/Documents/sealcode/rentgendroid$ free -h
               total        used        free      shared  buff/cache   available
Mem:           7,0Gi       3,3Gi       185Mi       149Mi       3,5Gi       3,3Gi
Swap:             0B          0B          0B

the browser seems to use a lot when i have emulator

add 8GB of swap and let’s see if that fixes things

1 Like

thank you, it works :smiley:

1 Like