MitchTalmadge / AMP-dockerized

CubeCoders AMP in a Docker Image. Easily create game servers for games like Minecraft, GMod, TF2, Factorio, and StarBound!
https://hub.docker.com/r/mitchtalmadge/amp-dockerized
Other
89 stars 21 forks source link

"Client-side databinding failed" on Instance File Manager #144

Open StefanArts opened 1 year ago

StefanArts commented 1 year ago

Hi, I'm encountering an error while trying to use this. Everything works fine, except for the File Manager inside of an instance. The global file manager works just fine.

Client-side databinding failed. If you've just upgraded AMP then you should first try clearing your browser cache.

Advanced Details

ReferenceError: URI is not defined

My docker-compose:

version: "3"

services:
  amp:
    container_name: amp
    image: mitchtalmadge/amp-dockerized:latest
    mac_address: ED:29:49:F8:48:0D # Random MAC
    ports:
      - 25500-25599:25599-25599 # For Java Edition (TCP)
      - 19100-19199:19100-19199/udp # For Bedrock Edition (UDP)
      - 2223:2223 # File Transfer
      - 2224:2224 # File Transfer
    volumes:
      - ./ampdata:/home/amp/.ampdata
    environment:
      - "TZ=DE" # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
      - "LICENCE=<My License>"
      - "MODULE=ADS"
      - "UID=1002"
      - "GID=1002"
    restart: unless-stopped
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.amp.entrypoints=http"
      - "traefik.http.routers.amp.rule=Host(`amp.example.com`)"
      - "traefik.http.middlewares.amp-https-redirect.redirectscheme.scheme=https"
      - "traefik.http.routers.amp.middlewares=amp-https-redirect"
      - "traefik.http.routers.amp-secure.entrypoints=https"
      - "traefik.http.routers.amp-secure.rule=Host(`amp.example.com`)"
      - "traefik.http.routers.amp-secure.tls=true"
      - "traefik.http.routers.amp-secure.tls.certresolver=http"
      - "traefik.http.routers.amp-secure.service=amp"
      - "traefik.http.services.amp.loadbalancer.server.port=8080"
      - "traefik.docker.network=proxy"
      - "traefik.http.routers.amp-secure.middlewares=secHeaders@file"
    networks:
      - proxy

networks:
  proxy:
    external: true

while amp.example.com is a placeholder, as well as

Instance Logs

[20:34:58] [Core Info]            : Stream: Mainline (Release) - built by CUBECODERS/buildbot on CCL-DEV
[20:34:58] [Core Info]            : OS: Linux / x86_64
[20:34:58] [Core Info]            : CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (4C/8T)
[20:34:58] [Core Info]            : AMP Instance ID: f7bfc941-306c-46a5-ad2a-8d1f9e700dee
[20:34:59] [ModuleLoader Info]    : Loaded MinecraftModule version 1.0.0.3 by CubeCoders Limited
[20:34:59] [Core Info]            : Metrics publishing is enabled at udp://localhost:12820.
[20:34:59] [ModuleLoader Info]    : Loaded FileManagerPlugin version 1.0.0.0 by CubeCoders Limited
[20:34:59] [ModuleLoader Info]    : Loaded EmailSenderPlugin version 1.0.0.0 by CubeCoders Limited
[20:34:59] [ModuleLoader Info]    : Loaded WebRequestPlugin version 1.0.0.0 by CubeCoders Limited
[20:34:59] [ModuleLoader Info]    : Loaded LocalFileBackupPlugin version 1.0.0.0 by CubeCoders Limited
[20:34:59] [ModuleLoader Info]    : Loaded CommonCorePlugin version 1.0.0.0 by CubeCoders Limited
[20:34:59] [Core Info]            : Licence Present: AMP Network Standard Edition
[20:34:59] [FileManager Notice]   : Using keypair with fingerprint 5Z4FZOpLRbIDApLYhIBgqsVxZmkRPI52YX7UOn3lGk0=
[20:34:59] [FileManager Info]     : SFTP Server started on 0.0.0.0:25500
[20:34:59] [WebServer Info]       : Websockets are enabled.
[20:34:59] [WebServer Info]       : Webserver started on http://127.0.0.1:8081
[20:34:59] [Logger Warning]       : RouterTimer@10Hz with 2 jobs started
[20:34:59] [Core Info]            : Checking for AMP updates...
[20:34:59] [Core Info]            : AMP is up-to-date.
[20:35:07] [Core Activity]        : Authentication attempt for user admin from 127.0.0.1
[20:35:07] [Core Activity]        : Authentication success
[20:35:16] [Minecraft Warning]    : Unable to get Bedrock version data from https://minecraft.net/en-us/download/server/bedrock
[20:35:16] [Core Error]           : TaskCanceledException
[20:35:16] [Core Error]           : [0] (TaskCanceledException) : The operation was canceled.
[20:35:16] [Core Error]           :   at MinecraftModule.UpdateManager.GetBedrockVersion () 
[20:35:16] [Core Error]           : ObjectDisposedException
[20:35:16] [Core Error]           : [1] (ObjectDisposedException) : Cannot access a disposed object.
Object name: 'MobileAuthenticatedStream'.
[20:35:16] [Core Error]           :   at Net.Http.HttpConnection.FillAsync () 
  at Net.Http.HttpConnection.ReadNextResponseHeaderLineAsync (Boolean foldedHeadersAllowed) 
[20:35:16] [Minecraft Info]       : Using fallback bedrock version data...
[20:35:16] [Minecraft Info]       : Latest Bedrock version: 1.19.40.02
[20:35:16] [Minecraft Info]       : Modpack cache is up-to-date.

Thanks in advance!

IceOfWraith commented 11 months ago

This looks like a bug that existed with previous versions of AMP. Have you still had this issue?