desti-w/adspower-import-metamask-rework

Stopped working with Windows. Previously it was working

Opened this issue · 4 comments

Steps to reproduce:

  1. Execute LavaMoatProfileCacheFix.py or main.py

Actual Result:
LavaMoatProfileCacheFix.py Impossible to execute. It is immediately displaying an error.
< j8o5ut3 > Не найден файл runtime-lavamoat.js
1 month ago everything was ok. For the past month, windows and AdsPower were updated(see current versions below)

If I try to execute main.py. I get immediately:
Adspower is not running.
But this part was working as well previosly.

Only LavaMoatExtFix.py keeps working and reporting that fix is applied.

Expected Result:
Running LavaMoatProfileCacheFix.py and main.py without any error

Could you please take a look?
Note: what I've done to try to fix:

  1. Restarting AdsPower
  2. Checked that path_from_ads_settings = r"C:.ADSPOWER_GLOBAL" is still actual in settings. But LavaMoatExtFix.py is working with it
  3. Checked user_id. it was ok. the same as before
  4. Checked id_users.txt. I've tried to enter even one profile to check that it works. but with no success.

Versions:
Windows:

Edition Windows 11 Pro
Version 22H2
Installed on ‎12.‎11.‎2022
OS build 22621.1992
Experience Windows Feature Experience Pack 1000.22644.1000.0

AdsPower :

5.7.4 | 2.6.3.8

Metamask:

Version 10.34.0

It seems for the LavaMoatProfileCacheFix.py issue I've found a rootcause. The url has been updated. Right now it should be
path = fr'{path_from_ads_settings}/cache/{ads_id}{user_ID}/extensionCenter/07de772c049203839ed54e4156de1a89/runtime-lavamoat.js'

I've found one more issue, but it doesn't fix the problem with executing main.py
Now API URL is local.adspower**.com**:50325 instead of .net

Opening profiles fixed by update of the open_url by setting localhost
open_url = f"http://localhost:50325/api/v1/browser/start?user_id=" + ads_id + f"&launch_args={str(args1)}"
close_url = "http://localhost:50325/api/v1/browser/stop?user_id=" + ads_id

not working on mac os also