0

Issues with Publisher crashing on start.

I'm seeing a problem where Canary starts up but the publisher immediately crashes. When I look at the event viewer I see the following as a .Net runtime error:

Application: CanaryPublisher.exe Framework Version:
v4.0.30319 Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException at CanaryPublishingService.Program.UnhandledExceptionHandler(System.Object, System.UnhandledExceptionEventArgs)

I then see a second log with an application error with the KERNELBASE.dll file and CanaryPublisher.exe.

Does anyone know why this is happening? I get the same error when I downgrade from 22.3.0-342 to 22.1.2-231 and also when I have a windows update which installs the latest .Net framework library.

Any suggestions for how to track this down? The only other thing of note is I sometimes see this error in Canary but it isn't every time. 

1reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hi sjensen ,

    I would start by renaming or moving the config sqlite file. It is located in C:\ProgramData\Canary\Publishing\Publishing.sqlite. The Publisher should create a new one upon startup which would make me think there is something corrupt in the original database that we could then inspect.

    We did add new functionality in 22.3 which allows you to publish JSON payloads over MQTT so maybe it didn't handle this migration properly? We haven't seen it though.

    Like
print this pagePrint this page
Like Follow
  • 1 yr agoLast active
  • 1Replies
  • 22Views
  • 2 Following