ckulka / infcloud-docker

Dockerfile for a ready-to-go InfCloud server.
https://hub.docker.com/r/ckulka/infcloud
MIT License
10 stars 6 forks source link

I can't login on the infcloud login page #1

Closed theniwo closed 3 years ago

theniwo commented 3 years ago

It just makes an animation and goes back to the login page. No error message, nothing to be found in logs. Only output I get is:

app_1       | 192.168.16.3 - - [23/Jan/2021:07:06:33 +0100] "OPTIONS /cal.php/calendars/ HTTP/1.1" 401 423 "http://infcloud.niwo.home/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.142 Safari/537.36" "192.168.1.25"
traefik_1   | 192.168.1.25 - - [23/Jan/2021:06:06:33 +0000] "OPTIONS /cal.php/calendars/ HTTP/1.1" 401 411 "http://infcloud.niwo.home/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.142 Safari/537.36" 1 "Host-baikal-niwo-home-1" "http://192.168.16.2:80" 290ms

My network is 192.168.1.0/24. My Laptop is .25. I set the authorization to basic, so I don't know where the 401 is coming from, neither the 423.

My configuration is as follows: I run it on a headless server: nas.niwo.home, so no ...localhost address is possible

docker-compose.yml

config-baikal.js

var globalNetworkCheckSettings = {
  href: location.protocol + '//baikal.niwo.home' +
    (location.port ? ':' + location.port : '') +
    '/cal.php/calendars/',
  timeOut: 90000,
  lockTimeOut: 10000,
  checkContentType: true,
  settingsAccount: true,
  delegation: true,
  additionalResources: [],
  hrefLabel: null,
  forceReadOnly: null,
  ignoreAlarms: false,
  backgroundCalendars: []
}
theniwo commented 3 years ago

This seems to have fixed the issue.