-
Couldn't load subscription status.
- Fork 82
Description
Describe the bug
Getting bunch of errors for the following but ultimately
- Unable to connect NuxtHub database to Cloudflare D1 Database with CF Workers + Zero Trust
Cloudflare Access not configured
Learn more about using Cloudflare Access with NuxtHub on our docs.- Unable to see live logs getting an error of the following:
Could not connect to live logs
If the problem persists, please contact support at hub@nuxt.comNuxt info:
- Operating System: `Linux`
- Node Version: `v22.17.1`
- Nuxt Version: `4.1.2`
- CLI Version: `3.28.0`
- Nitro Version: `2.12.6`
- Package Manager: `pnpm@10.17.0`
- Builder: `-`
- User Config: `modules`, `devtools`, `css`, `compatibilityDate`, `hub`, `nitro`, `vite`, `eslint`
- Runtime Modules: `@nuxt/ui@4.0.0-beta.0`, `@nuxt/eslint@1.9.0`, `@nuxthub/core@0.9.0`, `nuxt-auth-utils@0.5.25`, `@pinia/nuxt@0.11.2`, `@pinia/colada-nuxt@0.2.3`
- Build Modules: `-`Nuxt config:
modules: [
'@nuxt/ui',
'@nuxt/eslint',
'@nuxthub/core',
'nuxt-auth-utils',
'@pinia/nuxt',
'@pinia/colada-nuxt'
],
devtools: {
enabled: true
},
css: ['~/assets/css/main.css'],
compatibilityDate: '2025-07-15',
hub: {
database: true,
workers: true,
},Already followed the instructions on NuxtHub documentation but it still does not connect both. I tried deploying using the CLI but getting an error of version mismatch NuxtHub is @undefined while local is on 0.9.0.
I also tried updating the GHA script to this:
name: Deploy to NuxtHub
on: push
jobs:
deploy:
name: "Deploy to NuxtHub"
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Ensure NuxtHub module is installed
run: pnpx nuxthub@latest ensure
- name: Build & Deploy to NuxtHub
uses: nuxt-hub/action@v2
with:
project-key: ${{ secrets.PROJECT_KEY }}Note
I added the project-key as literal value but I get an error of project not found using secrets.PROJECT_KEY results to the same behavior when deploying on CLI and not yet connected to Github via NuxtHub. The only thing that work is using NuxtHub interface and connect it using Git. I don't have WARP installed, this must be related to zero trust blocking the Nuxthub admin accessing the database and live logs.
Steps to reproduce
Steps to reproduce the behavior:
- Create a new NuxtHub project deploy as CF Worker
- Connect NuxtHub to CF access and secret
- Enable zero trust on your website on CF (Follow instructions on NuxtHub)
- Try accessing logs or database it shows an error
Expected behavior
It should be able to view the database from NuxtHub admin and also see live logs without any errors