Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chrome-error://chromewebdata when trying to login netzero.energy (Tesla API login) #123

Open
darryllee opened this issue Aug 23, 2024 · 1 comment

Comments

@darryllee
Copy link

I'm trying to use an old iPad Mini as a solar energy monitor, hosted by https://app.netzeroapp.io/

This is the wrp command I'm running:

./wrp-amd64-linux -g 1182x1575x216 -t png -h false -ua="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"

In a regular browser, clicking on the "Sign in with Tesla" button redirects me to https://auth.tesla.com/ for authorization. And this is where I get this error:

2024/08/22 22:31:44 ismap.go:236: 192.168.2.131:49967 Done with capture for https://app.netzeroapp.io/
2024/08/22 22:31:44 ismap.go:269: 192.168.2.131:49967 IMG Request for /img/Kyqfi5nasAtv2BGGZNdkcu.png
2024/08/22 22:31:54 ismap.go:240: 192.168.2.131:49967 ISMAP Request for /map/Kyqfi5nasAtv2BGGZNdkcu.map [688,392]
2024/08/22 22:31:54 ismap.go:258: 192.168.2.131:49967 WrpReq from ISMAP: {url:https://app.netzeroapp.io/ width:1182 height:1575 zoom:1.3 nColors:216 jQual:75 mouseX:688 mouseY:392 keys: buttons: imgType:png wrpMode:ismap maxSize:200 w:0xc000342fc0 r:0xc0000b0900}
2024/08/22 22:31:54 ismap.go:47: 192.168.2.131:49967 Mouse Click 688,392
2024/08/22 22:31:54 browser.go:101: ERROR: could not unmarshal event: parse error: expected string near offset 622 of 'cookiePart...'
2024/08/22 22:31:54 ismap.go:147: 192.168.2.131:49967 Landed on: chrome-error://chromewebdata/, Height: 10
2024/08/22 22:31:57 ismap.go:185: 192.168.2.131:49967 Got PNG image: /img/Goufn2SmZhTmqSE2eRst4t.png, Size: 5 KB, Res: 1182x1574
2024/08/22 22:31:57 ismap.go:236: 192.168.2.131:49967 Done with capture for chrome-error://chromewebdata/
2024/08/22 22:31:57 ismap.go:269: 192.168.2.131:49967 IMG Request for /img/Goufn2SmZhTmqSE2eRst4t.png

Appreciate any ideas. Thanks!

@tenox7
Copy link
Owner

tenox7 commented Sep 4, 2024

interesting, I think browser.go is part of chrome browser, I would first try to update it to latest version of chromedp and retry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants