Skip to content

Local instance reaches out to cloudflare without authorization #7275

@lee-b

Description

@lee-b

LocalAI version:

quay.io/go-skynet/local-ai latest-gpu-nvidia-cuda-12 d19430713d0e 2 weeks ago 4.89GB

Environment, CPU architecture, OS, and Version:

Linux amd64, cuda, docker container (see above)

Describe the bug

From the Home page in LocalAI, if I select a model (thedrummer_valkyrie-49b-v1) and click Edit, then the page PARTLY loads and the title ("Edit Model: thedrummer_valkyrie-49b-v1" is rendered) BUT, the edit text box does not load, because it surprisingly reaches out to external cloud services which are (rightfully) blocked for a local website.

Image

To Reproduce

  1. Install umatrix in firefox.
  2. Block cloudflare globally in umatrix, per:
Image
  1. In LocalAI, download above model from the gallery (or probably any other that will present an edit button in LocalAI' Home, once downloaded)
  2. Click Edit on the model, from the Home page.

Expected behavior

  1. The page should load, and editing should work
  2. The page should remain local, not reaching out to MITM services like Cloudflare as a check on whether I can access my own local server.

Observed behavior

  1. The page does not fully load
  2. When I manually allow cloudflare for this site per the image below and reload the page, the page loads:
Image Image

Additional context

Cloudflare is questionable enough on public sites (e.g., https://www.reddit.com/r/selfhosted/comments/17zj450/how_are_so_many_sites_ok_with_using_cloudflare/) , but has no place on a private local service.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions