GateOne
GateOne copied to clipboard
HTTP 400
Hi,
I can't connect to my gateone Server running in a docker container. The user only sees "Attempting to connect to the Gate One server...". The logs are as follows:
12/11/2017 5:33:48 PM[I 171211 16:33:48 server:4182] Gate One License: AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html)
12/11/2017 5:33:48 PM[I 171211 16:33:48 server:4191] Imported applications: Terminal
12/11/2017 5:33:48 PM[I 171211 16:33:48 server:4343] Version: 1.2.0 (20171125154235)
12/11/2017 5:33:48 PM[I 171211 16:33:48 server:4344] Tornado version 4.5.2
12/11/2017 5:33:48 PM[I 171211 16:33:48 server:4364] Connections to this server will be allowed from the following origins: '*'
12/11/2017 5:33:48 PM[I 171211 16:33:48 server:3681] No authentication method configured. All users will be ANONYMOUS
12/11/2017 5:33:48 PM[I 171211 16:33:48 server:3762] Loaded global plugins: gateone.plugins.editor, gateone.plugins.help
12/11/2017 5:33:48 PM[I 171211 16:33:48 server:4510] Listening on http://*:8701/
12/11/2017 5:33:48 PM[I 171211 16:33:48 server:4563] Process running with pid 1
12/11/2017 5:33:55 PM[I 171211 16:33:55 app_terminal:265] Active Terminal Plugins: bookmarks, convenience, example, html, logging, notice, playback, ssh
12/11/2017 5:33:55 PM[W 171211 16:33:55 web:2063] 400 GET /ws (10.42.208.239) 20.08ms
12/11/2017 5:34:03 PM[I 171211 16:34:03 app_terminal:265] Active Terminal Plugins: bookmarks, convenience, example, html, logging, notice, playback, ssh
12/11/2017 5:34:03 PM[W 171211 16:34:03 web:2063] 400 GET /ws (10.42.208.239) 12.62ms
...
Config Files
The config files are like this:
10server.conf:
// This is Gate One's main settings file.
{
// "gateone" server-wide settings fall under "*"
"*": {
"gateone": { // These settings apply to all of Gate One
"address": "",
"ca_certs": null,
"cache_dir": "/tmp/gateone_cache",
"certificate": "/etc/gateone/ssl/certificate.pem",
"cookie_secret": "aLRIGasdfWERAsyskdlfj2TgARJKLanlb",
"debug": true,
"disable_ssl": true,
"embedded": false,
"enable_unix_socket": false,
"gid": "0",
"https_redirect": false,
"js_init": "",
"keyfile": "/etc/gateone/ssl/keyfile.pem",
"locale": "en_US",
"log_file_max_size": 100000000,
"log_file_num_backups": 10,
"log_file_prefix": "/var/log/gateone/gateone.log",
"log_to_stderr": null,
"logging": "info",
"multiprocessing_workers": null,
"origins": "*",
"pid_file": "/var/run/gateone.pid",
"port": 8701,
"session_dir": "/tmp/gateone",
"session_timeout": "5d",
"syslog_facility": "daemon",
"uid": "0",
"unix_socket_mode": "0600",
"unix_socket_path": "/tmp/gateone.sock",
"url_prefix": "/",
"user_dir": "/var/lib/gateone/users",
"user_logs_max_age": "30d"
}
}
}
20authentication.conf
// This is Gate One's authentication settings file.
{
// "gateone" server-wide settings fall under "*"
"*": {
"gateone": { // These settings apply to all of Gate One
"api_timestamp_window": "30s",
"auth": "none",
"pam_realm": "gateone.stat-up.com",
"pam_service": "login",
"ssl_auth": "none",
"sso_keytab": null,
"sso_realm": null,
"sso_service": "HTTP"
// "google_oauth": {
// "key": "",
// "secret": ""
// }
}
}
}
How can I debug something like this?
Thanks, Stefan