komf icon indicating copy to clipboard operation
komf copied to clipboard

Komelia module can't connect to Komga

Open CardcaptorRLH85 opened this issue 3 months ago • 0 comments

When I try to use the Komelia module to connect to Komga (to try and avoid the issue I'm having in #243) I get the following error on every tab: BrowserConnectionError: Error from javascript[TypeError: Failed to fetch];. Am I doing something wrong here? I changed my logging to DEBUG and I'm not seeing anything wrong I'll post my logs below.

03:11:29.867 [main] WARN snd.komf.providers.mangabaka.db.MangaBakaDbMetadata -- failed to find MangaBaka timestamp file
03:11:29.905 [main] WARN snd.komf.providers.mangabaka.db.MangaBakaDbMetadata -- failed to find MangaBaka checksum file
03:11:30.679 [main] DEBUG org.apache.velocity -- Initializing Velocity, Calling init()...
03:11:30.680 [main] DEBUG org.apache.velocity -- Starting Apache Velocity 2.4.1
03:11:30.685 [main] DEBUG org.apache.velocity -- Default Properties resource: org/apache/velocity/runtime/defaults/velocity.properties
03:11:31.005 [main] DEBUG org.apache.velocity -- ResourceLoader instantiated: org.apache.velocity.runtime.resource.loader.FileResourceLoader
03:11:31.006 [main] DEBUG org.apache.velocity.loader.file -- FileResourceLoader: adding path '/config/apprise'
03:11:31.006 [main] DEBUG org.apache.velocity -- ResourceLoader instantiated: org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
03:11:31.007 [main] DEBUG org.apache.velocity -- initialized (class org.apache.velocity.runtime.resource.ResourceCacheImpl) with class java.util.Collections$SynchronizedMap cache map.
03:11:31.012 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Stop
03:11:31.013 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Define
03:11:31.014 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Break
03:11:31.014 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Evaluate
03:11:31.015 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Macro
03:11:31.016 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Parse
03:11:31.017 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Include
03:11:31.017 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
03:11:31.042 [main] DEBUG org.apache.velocity.parser -- Created 20 parsers.
03:11:31.133 [main] DEBUG org.apache.velocity.macro -- "velocimacro.library.path" is not set. Trying default library: velocimacros.vtl
03:11:31.134 [main] DEBUG org.apache.velocity.loader.class -- Could not load resource 'velocimacros.vtl' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
03:11:31.134 [main] DEBUG org.apache.velocity.macro -- Default library velocimacros.vtl not found. Trying old default library: VM_global_library.vm
03:11:31.134 [main] DEBUG org.apache.velocity.loader.class -- Could not load resource 'VM_global_library.vm' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
03:11:31.134 [main] DEBUG org.apache.velocity.macro -- Old default library VM_global_library.vm not found.
03:11:31.134 [main] DEBUG org.apache.velocity.macro -- allowInline = true: VMs can be defined inline in templates
03:11:31.134 [main] DEBUG org.apache.velocity.macro -- allowInlineToOverride = false: VMs defined inline may NOT replace previous VM definitions
03:11:31.135 [main] DEBUG org.apache.velocity.macro -- allowInlineLocal = false: VMs defined inline will be global in scope if allowed.
03:11:31.135 [main] DEBUG org.apache.velocity.macro -- autoload off: VM system will not automatically reload global library macros
03:11:31.158 [main] DEBUG org.apache.velocity.loader -- ResourceManager: found apprise_title.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
03:11:31.187 [main] DEBUG org.apache.velocity.loader -- ResourceManager: found apprise_body.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
03:11:31.225 [main] DEBUG org.apache.tika.config.TikaConfig -- loading tika config from defaults; no config file specified
03:11:31.252 [main] DEBUG org.apache.tika.mime.MimeTypesFactory -- Loaded custom mimes file: jar:file:/app/komf-app-1.0.0-SNAPSHOT-all.jar!/org/apache/tika/mime/tika-mimetypes.xml
03:11:33.642 [main] DEBUG org.apache.velocity -- Initializing Velocity, Calling init()...
03:11:33.643 [main] DEBUG org.apache.velocity -- Starting Apache Velocity 2.4.1
03:11:33.647 [main] DEBUG org.apache.velocity -- Default Properties resource: org/apache/velocity/runtime/defaults/velocity.properties
03:11:33.647 [main] DEBUG org.apache.velocity -- ResourceLoader instantiated: org.apache.velocity.runtime.resource.loader.FileResourceLoader
03:11:33.648 [main] DEBUG org.apache.velocity.loader.file -- FileResourceLoader: adding path '/config/discord'
03:11:33.648 [main] DEBUG org.apache.velocity -- ResourceLoader instantiated: org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
03:11:33.648 [main] DEBUG org.apache.velocity -- initialized (class org.apache.velocity.runtime.resource.ResourceCacheImpl) with class java.util.Collections$SynchronizedMap cache map.
03:11:33.649 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Stop
03:11:33.649 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Define
03:11:33.649 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Break
03:11:33.649 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Evaluate
03:11:33.650 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Macro
03:11:33.651 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Parse
03:11:33.651 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Include
03:11:33.651 [main] DEBUG org.apache.velocity -- Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
03:11:33.657 [main] DEBUG org.apache.velocity.parser -- Created 20 parsers.
03:11:33.658 [main] DEBUG org.apache.velocity.macro -- "velocimacro.library.path" is not set. Trying default library: velocimacros.vtl
03:11:33.659 [main] DEBUG org.apache.velocity.loader.class -- Could not load resource 'velocimacros.vtl' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
03:11:33.659 [main] DEBUG org.apache.velocity.macro -- Default library velocimacros.vtl not found. Trying old default library: VM_global_library.vm
03:11:33.659 [main] DEBUG org.apache.velocity.loader.class -- Could not load resource 'VM_global_library.vm' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
03:11:33.660 [main] DEBUG org.apache.velocity.macro -- Old default library VM_global_library.vm not found.
03:11:33.660 [main] DEBUG org.apache.velocity.macro -- allowInline = true: VMs can be defined inline in templates
03:11:33.660 [main] DEBUG org.apache.velocity.macro -- allowInlineToOverride = false: VMs defined inline may NOT replace previous VM definitions
03:11:33.660 [main] DEBUG org.apache.velocity.macro -- allowInlineLocal = false: VMs defined inline will be global in scope if allowed.
03:11:33.661 [main] DEBUG org.apache.velocity.macro -- autoload off: VM system will not automatically reload global library macros
03:11:33.662 [main] DEBUG org.apache.velocity.loader -- ResourceManager: found title.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
03:11:33.663 [main] DEBUG org.apache.velocity.loader.class -- Could not load resource 'title_url.vm' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
03:11:33.669 [main] DEBUG org.apache.velocity.loader -- ResourceManager: found description.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
03:11:33.670 [main] DEBUG org.apache.velocity.loader.class -- Could not load resource 'footer.vm' from ResourceLoader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
03:11:39.639 [main] INFO io.ktor.server.Application -- Autoreload is disabled because the development mode is off.
03:11:40.752 [main] INFO io.ktor.server.Application -- Application started in 1.131 seconds.
03:11:40.777 [DefaultDispatcher-worker-4] INFO io.ktor.server.Application -- Responding at http://0.0.0.0:8085
03:11:46.155 [OkHttp https://komga.[REDACTED].link/...] INFO snd.komga.client.sse.OkHttpKomgaSseSession -- connected to Komga event source: https://komga.[REDACTED].link/sse/v1/events
03:11:46.447 [DefaultDispatcher-worker-5] DEBUG snd.komf.mediaserver.komga.KomgaEventHandler -- TaskQueueStatus(count=0, countByType={})
03:11:56.253 [DefaultDispatcher-worker-3] DEBUG snd.komf.mediaserver.komga.KomgaEventHandler -- TaskQueueStatus(count=0, countByType={})
03:12:06.282 [DefaultDispatcher-worker-3] DEBUG snd.komf.mediaserver.komga.KomgaEventHandler -- TaskQueueStatus(count=0, countByType={})

CardcaptorRLH85 avatar Sep 20 '25 03:09 CardcaptorRLH85