webrecorder / browsertrix

Browsertrix is the hosted, high-fidelity, browser-based crawling service from Webrecorder designed to make web archiving easier and more accessible for all!
https://browsertrix.com
GNU Affero General Public License v3.0
187 stars 33 forks source link

[Bug]: no browser can be spawned #1923

Open Alseenrodelap opened 3 months ago

Alseenrodelap commented 3 months ago

Browsertrix Version

v1.10.2-dc9069d

What did you expect to happen? What happened instead?

I installed Browsertrix cloud following the local deployment guide. Ubuntu server 22.04, via MicroK8S and Helm3.

The app becomes available via http://192.168.1.124:30870/.

Reproduction instructions

  1. navigate to Organisation.
  2. Click 'Create new...'
  3. Click 'Browser profile'
  4. Submit domain name.

A pop-up appears saying: "Starting up browser for new profile."

In the middle screen a spinner keeps spinning. No browser window appears.

In the browser console: http://192.168.1.124:30870/api/orgs/6a54e100-XXXX-41f1-b2f4-fec438903c94/profiles/browser/prf-1403f2ae59 404 (Not Found)

Screenshots / Video

No response

Environment

Proxmos / Ubuntu server 22.04 / MicroK8S / Helm3

Additional details

No response

Alseenrodelap commented 2 months ago

Apparently this isn't being picked up even though it's a show stopper on a default config. Still i'd like to add something:

When going to 'browser profiles' -> 'new browser profile', in the browser error console it says:

Failed to load resource: the server responded with a status of 404 (Not Found):

GET https://***/api/orgs/6a54e100-4ce6-41f1-b2f4-fec438903c94/profiles/browser/prf-de55dea939 404 (Not Found)

Unfortunately I'm not a skilled programmer myself.

ikreymer commented 2 months ago

It's hard to say what the issue is without additional info. The browser profile URLs are dynamic and will expire eventually, so the 404 is not necessarily the issue. The UI should give you an option to reload to open a new browser.

If you run microk8s kubectl get pods -n crawlers after starting the browser, what do you see? There should be some info about the browser pod and should say something like:

browser-prf-12fb9d1695                1/1     Running   0          5s

if it was able to start up

Alseenrodelap commented 2 months ago

Thanks very much for your reply. If you could tell me what additional info you need i'd gladly give it.

For now:

***@server3-vm2:~$ microk8s kubectl get pods -n crawlers NAME READY STATUS RESTARTS AGE crawl-manual-20240726072330-99fa3479-7e2-0 0/1 Pending 0 14m crawl-manual-20240726072330-99fa3479-7e2-1 0/1 Pending 0 14m crawl-manual-20240726072330-99fa3479-7e2-2 0/1 Pending 0 14m