Skip to content

Support request: Kiri:Moto is loading (but never loads - docker) #435

@GravityEcho

Description

@GravityEcho

when I try to open the URL:

http://192.168.0.243:8119/kiri/?ver:4.3.2

I get the page:

Kiri:Moto is loading

but never loads (on docker)

browser console reports:

The Cross-Origin-Opener-Policy header has been ignored, because the URL's origin was untrustworthy. It was defined either in the final response or a redirect. Please deliver the response using the HTTPS protocol. You can also use the 'localhost' origin instead. See https://www.w3.org/TR/powerful-features/#potentially-trustworthy-origin and https://html.spec.whatwg.org/#the-cross-origin-opener-policy-header.
kiri.js:1  Failed to load resource: the server responded with a status of 404 (Not Found)

docker log seems like the server is ok:

 ✔ gridapps-gridapps         Built                                         0.0s 
 ✔ Network gridapps_default  Created                                       0.0s 
 ✔ Container gridapps        Started                                       0.2s 
251002.110326 '[grid]' { module: './mods/bambu/init.js', dir: 'mods/bambu' }
gridapps  | 251002.110327 '[grid]' 'not a valid context for bambu'
gridapps  | 251002.110327 '[appserver]' 'initialized grid from apps/grid'
gridapps  | 251002.110327 '[appserver]' 'app-server running: ports=[8080] apps=[apps] data=[data] logs=[/tmp/logs]'

The Docker compose I'm using:

services:

  gridapps:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: gridapps
    tty: true
    stdin_open: true  # Keep stdin open for the interactive terminal
    volumes:
      - ./files:/files
      - ./settings:/settings
      - ./gcode:/gcode
    ports:
      - "192.168.0.243:8119:8080" 
    restart: always

and dockerfile:

FROM node:24-alpine

EXPOSE 8080

WORKDIR /app


RUN apk add git


RUN git clone https://github.com/GridSpace/grid-apps.git /app


RUN npm install mqtt && npm run setup


CMD ["npx", "gs-app-server", "--logs=/tmp/logs"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions