Open crbon97 opened 2 months ago
It works when run directly on the app
it doesn't work when run under API
import GoLogin from "gologin"; import puppeteer from "puppeteer-core"; (async () => { const GL = new GoLogin({ token: "xxx.eyJzdWIiOiI2MmQxNzdkZTQ3MmY2MGY4MWRhMDFmZTEiLCJ0eXBlIjoiZGV2Iiwiand0aWQiOiI2NjZmOTZhOGNhNmM5NjBhNGVjMTEzMjAifQ.mPY5hW283gjsJL23bT559KRwE2QokskZ4FiABseBfK8", profile_id: "xx", }); const { _status, wsUrl } = await GL.start(); const browser = await puppeteer.connect({ browserWSEndpoint: wsUrl.toString(), ignoreHTTPSErrors: true, }); const page = await browser.newPage(); await page.goto("https://iphey.com/"); })();
Currently, there are several open issues with the API. We hope you can focus on resolving these issues rather than on marketing efforts for now.
It works when run directly on the app
it doesn't work when run under API