Jafea7 / ctbrec-debian

Debian based CTBRec Docker image
The Unlicense
29 stars 3 forks source link

Can't access web interface #1

Closed Theo-user closed 3 years ago

Theo-user commented 3 years ago

Device running CoreELEC (Amlogic S905X3) with docker add-on, and Portainer.

Using Portainer I've created the container and it's running but the web interface can't be accessed.

What could be the reason for this? I attached the log here.

server.json is default I checked and it shows the web interface as being "true". Port used is 8080 so I use "http://192.168.1.2:8080"

jafea7/ctbrec-liberica gives me the same results.

Adding group `ctbrec' (GID 1000) ...

Done.

Adding user `ctbrec' ...

Adding new user `ctbrec' (1000) with group `ctbrec' ...

Not creating home directory `/app'.

'/app/defaults/server.json' -> '/app/config/server.json'

08:16:09.814 [main] INFO  org.eclipse.jetty.util.log - Logging initialized @1981ms to org.eclipse.jetty.util.log.Slf4jLog

08:16:09.876 [main] DEBUG ctbrec.recorder.server.HttpServer - OS:   Linux 4.9.113

08:16:09.878 [main] DEBUG ctbrec.recorder.server.HttpServer - Java: AdoptOpenJDK OpenJDK Server VM 11.0.8

08:16:09.895 [main] DEBUG ctbrec.recorder.server.HttpServer - ctbrec server 4.1.3

08:16:10.421 [main] INFO  ctbrec.Config - Loading config from /app/config/server.json

08:16:10.516 [main] DEBUG ctbrec.recorder.server.HttpServer - Alert System registered

08:16:10.518 [main] INFO  ctbrec.recorder.server.HttpServer - HMAC authentication is disabled

08:16:11.698 [main] DEBUG ctbrec.recorder.NextGenLocalRecorder - Recorder initialized

08:16:11.700 [main] INFO  ctbrec.recorder.NextGenLocalRecorder - Models to record: []

08:16:11.701 [main] INFO  ctbrec.recorder.NextGenLocalRecorder - Saving recordings in /app/captures

08:16:13.401 [main] DEBUG ctbrec.sites.mfc.ServerConfig - Loading server config from https://www.myfreecams.com/_js/serverconfig.js

08:16:13.718 [main] DEBUG ctbrec.sites.mfc.MyFreeCamsClient - Connecting to random websocket server wss://xchat78.myfreecams.com/fcsl

08:16:13.723 [MFC WebSocket WatchDog] INFO  ctbrec.sites.mfc.MyFreeCamsClient - Websocket is null. Starting a new connection

08:16:14.098 [main] WARN  o.e.j.server.handler.ContextHandler - Empty contextPath

08:16:14.180 [main] INFO  ctbrec.recorder.server.HttpServer - Register static file servlet under //static/*

08:16:14.300 [main] INFO  org.eclipse.jetty.server.Server - jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 11.0.8+9-202007262348

08:16:14.465 [main] INFO  org.eclipse.jetty.server.session - DefaultSessionIdManager workerName=node0

08:16:14.469 [main] INFO  org.eclipse.jetty.server.session - No SessionScavenger set, using defaults

08:16:14.479 [main] INFO  org.eclipse.jetty.server.session - node0 Scavenging every 660000ms

08:16:14.556 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@166e802{/secured,null,AVAILABLE}

08:16:14.574 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@1e083b1{/,null,AVAILABLE}

08:16:14.723 [main] INFO  o.e.jetty.server.AbstractConnector - Started ServerConnector@1fe4644{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}

08:16:15.572 [OkHttp https://xchat78.myfreecams.com/...] DEBUG ctbrec.sites.mfc.MyFreeCamsClient - LOGIN: 1 0 822801891 0 0 Guest62590

08:16:15.575 [OkHttp https://xchat78.myfreecams.com/...] DEBUG ctbrec.sites.mfc.MyFreeCamsClient - Session ID 822801891

08:16:15.702 [main] INFO  o.e.jetty.util.ssl.SslContextFactory - x509=X509@13e3629(ctbrec,h=[],w=[]) for Server@312893[provider=null,keyStore=jar:file:/app/ctbrec-server-4.1.3-final.jar!/keystore.pkcs12,trustStore=jar:file:/app/ctbrec-server-4.1.3-final.jar!/keystore.pkcs12]

08:16:16.093 [main] INFO  o.e.jetty.server.AbstractConnector - Started ServerConnector@1cec031{SSL, (ssl, http/1.1)}{0.0.0.0:8443}

08:16:16.096 [main] INFO  org.eclipse.jetty.server.Server - Started @8286ms

08:16:17.397 [OkHttp https://xchat78.myfreecams.com/...] DEBUG ctbrec.sites.mfc.MyFreeCamsClient - 2069 models
Jafea7 commented 3 years ago

server.json is default I checked and it shows the web interface as being "true". Port used is 8080 so I use "http://192.168.1.2:8080"

TLS is enabled by default, so it's: https://192.168.1.2:8443

Assuming you kept the same SSL port.

Btw, it's probably better to jump on the Discord server for CTBRec, I rarely look at GitHub.

Theo-user commented 3 years ago

I ended up creating the container outside of Portainer and it worked fine so I'll close this.

I'll check out the discord server. Thanks.