WebTop - Bad Request?

Serveversion: NethServer 7.9 wiht latest updates
Browser: Firefox 78.5.0esr (64-Bit)

I get this when I try to access WebTop on one of my Servers… Even when I use the IP instead of the FQDN… How can I debug this please?

Can you check systemctl status tomcat8@webtop and check if is active? If not check out logs: tail -1000 /var/log/webtop/webtop.log and check if there is something interesting.
Finally start it with systemctl start tomcat8@webtop :slight_smile:

1 Like

    2020-12-07 16:33:32 [ERROR] c.s.webtop.calendar.CalendarManager - Error collecting instance
java.sql.SQLTransientConnectionException: com.sonicle.webtop.core.default - Connection is not available, request timed out after 31602ms.
        at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:583)
        at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:186)
        at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:145)
        at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:85)
        at com.sonicle.webtop.core.app.ConnectionManager.getConnection(ConnectionManager.java:299)
        at com.sonicle.webtop.core.app.ConnectionManager.getConnection(ConnectionManager.java:272)
        at com.sonicle.webtop.core.app.ConnectionManager.getConnection(ConnectionManager.java:250)
        at com.sonicle.webtop.core.app.ConnectionManager.getFallbackConnection(ConnectionManager.java:351)
        at com.sonicle.webtop.core.app.ConnectionManager.getFallbackConnection(ConnectionManager.java:322)
        at com.sonicle.webtop.core.app.WT.getConnection(WT.java:395)
        at com.sonicle.webtop.calendar.CalendarManager.getRemindersToBeNotified(CalendarManager.java:2538)
        at com.sonicle.webtop.calendar.CalendarController.returnReminders(CalendarController.java:87)
        at com.sonicle.webtop.core.job.ReminderJob.internalExecuteWork(ReminderJob.java:100)
        at com.sonicle.webtop.core.job.ReminderJob.executeWork(ReminderJob.java:81)
        at com.sonicle.webtop.core.sdk.BaseJobServiceTask.execute(BaseJobServiceTask.java:76)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
        at org.postgresql.Driver$ConnectThread.getResult(Driver.java:361)
        at org.postgresql.Driver.connect(Driver.java:284)
        at java.sql.DriverManager.getConnection(DriverManager.java:664)
        at java.sql.DriverManager.getConnection(DriverManager.java:247)
        at org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.java:99)
        at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:341)
        at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:193)
        at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:428)
        at com.zaxxer.hikari.pool.HikariPool.access$300(HikariPool.java:70)
        at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:612)
        at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:598)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:607)
        at org.postgresql.core.PGStream.<init>(PGStream.java:61)
        at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:109)
        at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)
        at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:144)
        at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29)
        at org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:21)
        at org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:31)
        at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
        at org.postgresql.Driver.makeConnection(Driver.java:410)
        at org.postgresql.Driver.access$100(Driver.java:46)
        at org.postgresql.Driver$ConnectThread.run(Driver.java:321)
        ... 1 common frames omitted
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.etc.dir = /etc/webtop [/etc/webtop]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.log.target = file [file]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.log.dir = /var/log/webtop [/var/log/webtop]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.log.file.basename = webtop [webtop]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.log.file.policy = simple [simple]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.extjs.debug = null [false]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.js.debug = false [false]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.soext.devmode = null [false]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.devmode = null [false]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.scheduler.disabled = null [false]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.quartz.maxthreads = null [10]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.atmosphere.maxschedulerthreads = null [10]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.atmosphere.maxprocessingthreads = null [10]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.atmosphere.maxwritethreads = null [10]
2020-12-07 16:41:55 [INFO ] c.sonicle.webtop.core.app.WebTopApp - WTA initialization started [webtop]
2020-12-07 16:41:56 [INFO ] c.s.w.core.app.ConnectionManager - Initialized
2020-12-07 16:41:56 [INFO ] c.s.webtop.core.app.SettingsManager - Initialized
2020-12-07 16:41:56 [INFO ] c.s.webtop.core.app.SessionManager - Initialized
2020-12-07 16:41:56 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Checking home structure...
2020-12-07 16:41:58 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Initializing template engine
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.AuditLogManager - Initialized
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.LicenseManager - Initialized
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.WebTopManager - Initialized
2020-12-07 16:41:58 [INFO ] c.sonicle.webtop.core.app.OTPManager - Initialized
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.ReportManager - Initialized
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.DocEditorManager - Initialized
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.core]
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:true, job:true, userOptions:true]
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.8.9 = 5.8.9]
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.ServiceManager - Database upgrades will be appended to 1607355718901
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.core.admin]
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:false, userOptions:false]
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.8.9 = 5.8.9]
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.calendar]
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:true, job:true, userOptions:true]
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.9.6 = 5.9.6]
2020-12-07 16:41:58 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.contacts]
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:true, userOptions:true]
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.9.3 = 5.9.3]
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.mail]
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:true, userOptions:true]
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.8.9 = 5.8.9]
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.tasks]
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:false, userOptions:true]
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.6.2 = 5.6.2]
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.vfs]
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:true, job:false, userOptions:true]
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.2.15 = 5.2.15]
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.ServiceManager - Maintenance mode: false
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.ServiceManager - Initialized
2020-12-07 16:41:59 [INFO ] c.s.webtop.core.app.I18nManager - Initialized
2020-12-07 16:41:59 [INFO ] c.sonicle.webtop.core.app.WebTopApp - WTA initialization completed [webtop]
2020-12-07 16:42:04 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Checking domains homes structure...
2020-12-07 16:42:04 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Checking webapp version...
2020-12-07 16:42:04 [WARN ] c.sonicle.webtop.core.app.WebTopApp - No configuration found for TomcatManager [tomcat.manager.uri]
2020-12-07 16:42:04 [WARN ] c.sonicle.webtop.core.app.WebTopApp - Webapp version automatic check will NOT be performed!
2020-12-07 16:42:04 [INFO ] c.sonicle.webtop.core.app.WebTopApp - This webapp [webtop] is the latest
2020-12-07 16:43:05 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Scheduling JobServices tasks...
2020-12-07 16:43:05 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Created javax.mail.Session for localhost:10587
2020-12-07 23:59:44 [INFO ] c.sonicle.webtop.core.app.WebTopApp - WTA shutdown started [webtop]
2020-12-07 23:59:44 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Task 'webappVersionCheck' destroyed
2020-12-07 23:59:44 [INFO ] c.s.webtop.core.app.ServiceManager - Cleaned up
2020-12-07 23:59:44 [INFO ] c.s.webtop.core.app.SessionManager - Cleaned up
2020-12-07 23:59:44 [INFO ] c.s.webtop.core.app.ReportManager - Cleaned up
2020-12-07 23:59:44 [INFO ] c.sonicle.webtop.core.app.OTPManager - Cleaned up
2020-12-07 23:59:44 [INFO ] c.s.webtop.core.app.SettingsManager - Cleaned up
2020-12-07 23:59:44 [INFO ] c.s.webtop.core.app.WebTopManager - Cleaned up
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.etc.dir = /etc/webtop [/etc/webtop]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.log.target = file [file]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.log.dir = /var/log/webtop [/var/log/webtop]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.log.file.basename = webtop [webtop]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.log.file.policy = simple [simple]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.extjs.debug = null [false]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.js.debug = false [false]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.soext.devmode = null [false]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.devmode = null [false]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.scheduler.disabled = null [false]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.quartz.maxthreads = null [10]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.atmosphere.maxschedulerthreads = null [10]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.atmosphere.maxprocessingthreads = null [10]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.atmosphere.maxwritethreads = null [10]
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - WTA initialization started [webtop]
2020-12-08 00:00:00 [INFO ] c.s.w.core.app.ConnectionManager - Initialized
2020-12-08 00:00:00 [INFO ] c.s.webtop.core.app.SettingsManager - Initialized
2020-12-08 00:00:00 [INFO ] c.s.webtop.core.app.SessionManager - Initialized
2020-12-08 00:00:00 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Checking home structure...
2020-12-08 00:00:01 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Initializing template engine
2020-12-08 00:00:02 [INFO ] c.s.webtop.core.app.AuditLogManager - Initialized
2020-12-08 00:00:02 [INFO ] c.s.webtop.core.app.LicenseManager - Initialized
2020-12-08 00:00:02 [INFO ] c.s.webtop.core.app.WebTopManager - Initialized
2020-12-08 00:00:02 [INFO ] c.sonicle.webtop.core.app.OTPManager - Initialized
2020-12-08 00:00:02 [INFO ] c.s.webtop.core.app.ReportManager - Initialized
2020-12-08 00:00:02 [INFO ] c.s.webtop.core.app.DocEditorManager - Initialized
2020-12-08 00:00:02 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.core]
2020-12-08 00:00:02 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:true, job:true, userOptions:true]
2020-12-08 00:00:02 [INFO ] c.s.webtop.core.app.ServiceManager - Upgrade found! [5.8.9 -> 5.8.12] Updating version setting...
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - Database upgrades will be appended to 1607382003182
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.contacts]
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:true, userOptions:true]
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - Upgrade found! [5.9.3 -> 5.9.4] Updating version setting...
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.core.admin]
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:false, userOptions:false]
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - Upgrade found! [5.8.9 -> 5.8.12] Updating version setting...
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.calendar]
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:true, job:true, userOptions:true]
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - Upgrade found! [5.9.6 -> 5.9.7] Updating version setting...
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.mail]
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:true, userOptions:true]
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - Upgrade found! [5.8.9 -> 5.8.14] Updating version setting...
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.tasks]
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:false, userOptions:true]
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - Upgrade found! [5.6.2 -> 5.6.3] Updating version setting...
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.vfs]
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:true, job:false, userOptions:true]
2020-12-08 00:00:03 [INFO ] c.s.webtop.core.app.ServiceManager - Upgrade found! [5.2.15 -> 5.2.16] Updating version setting...
2020-12-08 00:00:04 [INFO ] c.s.webtop.core.app.ServiceManager - Maintenance mode: false
2020-12-08 00:00:04 [INFO ] c.s.webtop.core.app.ServiceManager - Initialized
2020-12-08 00:00:05 [INFO ] c.s.webtop.core.app.I18nManager - Initialized
2020-12-08 00:00:05 [INFO ] c.sonicle.webtop.core.app.WebTopApp - WTA initialization completed [webtop]
2020-12-08 00:00:10 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Checking domains homes structure...
2020-12-08 00:00:10 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Checking webapp version...
2020-12-08 00:00:10 [WARN ] c.sonicle.webtop.core.app.WebTopApp - No configuration found for TomcatManager [tomcat.manager.uri]
2020-12-08 00:00:10 [WARN ] c.sonicle.webtop.core.app.WebTopApp - Webapp version automatic check will NOT be performed!
2020-12-08 00:00:10 [INFO ] c.sonicle.webtop.core.app.WebTopApp - This webapp [webtop] is the latest
2020-12-08 00:01:10 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Scheduling JobServices tasks...
2020-12-08 00:01:10 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Created javax.mail.Session for localhost:10587
2020-12-08 00:11:57 [INFO ] c.sonicle.webtop.core.app.WebTopApp - WTA shutdown started [webtop]
2020-12-08 00:11:57 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Task 'webappVersionCheck' destroyed
2020-12-08 00:11:58 [INFO ] c.s.webtop.core.app.ServiceManager - Cleaned up
2020-12-08 00:11:58 [INFO ] c.s.webtop.core.app.SessionManager - Cleaned up
2020-12-08 00:11:58 [INFO ] c.s.webtop.core.app.ReportManager - Cleaned up
2020-12-08 00:11:58 [INFO ] c.sonicle.webtop.core.app.OTPManager - Cleaned up
2020-12-08 00:11:58 [INFO ] c.s.webtop.core.app.SettingsManager - Cleaned up
2020-12-08 00:11:58 [INFO ] c.s.webtop.core.app.WebTopManager - Cleaned up
2020-12-08 00:11:58 [INFO ] c.s.w.core.app.ConnectionManager - Cleaned up
2020-12-08 00:11:58 [INFO ] c.s.webtop.core.app.I18nManager - Cleaned up
2020-12-08 00:11:58 [INFO ] c.sonicle.webtop.core.app.WebTopApp - WTA shutdown completed [webtop]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.etc.dir = /etc/webtop [/etc/webtop]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.log.target = file [file]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.log.dir = /var/log/webtop [/var/log/webtop]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.log.file.basename = webtop [webtop]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.log.file.policy = simple [simple]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.extjs.debug = null [false]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.js.debug = false [false]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.soext.devmode = null [false]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.devmode = null [false]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.scheduler.disabled = null [false]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.quartz.maxthreads = null [10]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.atmosphere.maxschedulerthreads = null [10]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.atmosphere.maxprocessingthreads = null [10]
2020-12-08 00:13:45 [INFO ] c.sonicle.webtop.core.app.WebTopApp - webtop.atmosphere.maxwritethreads = null [10]
2020-12-08 00:13:46 [INFO ] c.sonicle.webtop.core.app.WebTopApp - WTA initialization started [webtop]
2020-12-08 00:13:47 [INFO ] c.s.w.core.app.ConnectionManager - Initialized
2020-12-08 00:13:47 [INFO ] c.s.webtop.core.app.SettingsManager - Initialized
2020-12-08 00:13:47 [INFO ] c.s.webtop.core.app.SessionManager - Initialized
2020-12-08 00:13:47 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Checking home structure...
2020-12-08 00:13:47 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Initializing template engine
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.AuditLogManager - Initialized
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.LicenseManager - Initialized
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.WebTopManager - Initialized
2020-12-08 00:13:48 [INFO ] c.sonicle.webtop.core.app.OTPManager - Initialized
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ReportManager - Initialized
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.DocEditorManager - Initialized
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.core]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:true, job:true, userOptions:true]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.8.12 = 5.8.12]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Database upgrades will be appended to 1607382828599
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.contacts]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:true, userOptions:true]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.9.4 = 5.9.4]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.core.admin]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:false, userOptions:false]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.8.12 = 5.8.12]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.calendar]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:true, job:true, userOptions:true]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.9.7 = 5.9.7]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.mail]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:true, userOptions:true]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.8.14 = 5.8.14]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.tasks]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:false, job:false, userOptions:true]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.6.3 = 5.6.3]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Registering service [com.sonicle.webtop.vfs]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - [private:true, public:true, job:false, userOptions:true]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Not upgraded! [5.2.16 = 5.2.16]
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Maintenance mode: false
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.ServiceManager - Initialized
2020-12-08 00:13:48 [INFO ] c.s.webtop.core.app.I18nManager - Initialized
2020-12-08 00:13:48 [INFO ] c.sonicle.webtop.core.app.WebTopApp - WTA initialization completed [webtop]
2020-12-08 00:13:54 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Checking domains homes structure...
2020-12-08 00:13:54 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Checking webapp version...
2020-12-08 00:13:54 [WARN ] c.sonicle.webtop.core.app.WebTopApp - No configuration found for TomcatManager [tomcat.manager.uri]
2020-12-08 00:13:54 [WARN ] c.sonicle.webtop.core.app.WebTopApp - Webapp version automatic check will NOT be performed!
2020-12-08 00:13:54 [INFO ] c.sonicle.webtop.core.app.WebTopApp - This webapp [webtop] is the latest
2020-12-08 00:14:54 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Scheduling JobServices tasks...
2020-12-08 00:14:54 [INFO ] c.sonicle.webtop.core.app.WebTopApp - Created javax.mail.Session for localhost:10587
1 Like

Seems it’s running properly. Can you try restart with systemctl restart tomcat8@webtop ?

Yes I did but I get still the Bad Request…

1 Like

Please try in incognito-mode using https://

Sorry, I don’t know what you mean…

I mean in-private window: https://support.google.com/chrome/answer/95464?co=GENIE.Platform%3DDesktop&hl=en

And then access your webtop instance with https instead of http

Ah, OK…

Still the same :roll_eyes:

That’s strange… any idea? @lucag

Hi @federico.ballarini and @fausp, from the type of error:

I assume that the problem is not at the tomcat level but at the apache server level.

Check the status of the httpd service: systemctl status httpd

Eventually try to analyze its log and restart it

2 Likes

@fausp
The error message looks like the browser don’t redirect to https automatically. I had the problem with Internet Explorer. To use it I had to write

https://FQDN/webtop

Did you try this? At Firefox for me it worked without https.

1 Like

Apache looks correct…

I tried this also bevor…

Its a weird behavior, I can only login when I use the saved Bookmark (FQDN-Url) and click on refesh Button instead of Enter. The click on Enter still brings me the Bad Request… :thinking:

I use another server with the same PC and Browser and there I have no problems at all…

Does it work accessing webtop from another device (PC, smartphone…)?

OK. So the same computer is used to access a different webtop instance, and has no problem doing it.

On the log you posted there was some postgresdb exception (connection refused) but maybe not relevant as it was two days ago.

No, doesnt work. Same behavior…

Yes.

These are my “addons”:

Does it work if you connect by IP?

Please post the webtop config:

config show webtop

Check if postgres is running:

systemctl status postgresql

Check httpd logs in /var/log/httpd/*

Do you use a vhost for webtop?

Check httpd vhosts:

httpd -S

1 Like

Hi @fausp,
I also add to check if you can access webtop with an apache bypass.
To do this you will need to connect in SSH by activating a tunnel of port 58080 on localhost and then access this URL with the browser: http://localhost:58080/webtop/

This way you will log in directly on tomcat without going through the apache proxypass to understand where the problem is :wink:

let us know

4 Likes

No.

Yes, this worked! Whats next?

Did it work with http or https?

Please share the content of /etc/httpd/conf.d/webtop.conf to check the reverse proxy.