DropsBrowse Pastes
Login with GitHub

ERROR

May 21st, 2025Views: 18(0 unique)Plaintext
warn: Microsoft.AspNetCore.Server.Kestrel[0]
      Overriding address(es) 'http://localhost:518'. Binding to endpoints defined via IConfiguration and/or UseKestrel() instead.
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://[::]:1888
info: Microsoft.Hosting.Lifetime[14]
      Now listening on: http://[::]:518
info: Plugin.DriverService[0]
      LoadDriverFiles Start
info: Plugin.DriverService[0]
      LoadDriverFiles End, Count: 28
info: Plugin.DriverService[0]
      LoadAllDrivers Start
info: Plugin.DriverService[0]
      LoadAllDrivers: PLC.OmronFins.dll loaded.
info: Plugin.DriverService[0]
      LoadAllDrivers: PLC.ModBusMaster.dll loaded.
info: Plugin.DriverService[0]
      LoadAllDrivers: PLC.SiemensS7.dll loaded.
info: Plugin.DriverService[0]
      LoadAllDrivers: PLC.AllenBradley.dll loaded.
info: Plugin.DriverService[0]
      LoadAllDrivers: Mock.TcpClient.dll loaded.
info: Plugin.DriverService[0]
      LoadAllDrivers: Other.Toledo.dll loaded.
info: Plugin.DriverService[0]
      LoadAllDrivers: OPC.UaClient.dll loaded.
info: Plugin.DriverService[0]
      LoadAllDrivers: OPC.DaClient.dll loaded.
info: Plugin.DriverService[0]
      LoadAllDrivers: PLC.MelsecMc.dll loaded.
info: Plugin.DriverService[0]
      LoadAllDrivers: CNC.MTConnect.dll loaded.
fail: Plugin.DriverService[0]
      LoadAllDrivers Error for file /home/fzxcasnc/Project/iotgateway/IoTGateway/bin/Debug/net8.0/drivers/net8.0/CNC.Fanuc.dll
      System.IO.FileLoadException: Could not load file or assembly 'CNC.Fanuc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
         at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyBinder, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
         at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
         at System.Reflection.Assembly.LoadFrom(String assemblyFile)
         at Plugin.DriverService.LoadAllDrivers() in /home/fzxcasnc/Project/iotgateway/Plugins/Plugin/DriverService.cs:line 170
info: Plugin.DriverService[0]
      LoadAllDrivers: CNC.Fanuc.H.dll loaded.
info: Plugin.DriverService[0]
      LoadAllDrivers End, Count: 11
info: Plugin.MessageService[0]
      MQTT WAITING FOR APPLICATION MESSAGES
fail: Microsoft.AspNetCore.Server.Kestrel[0]
      => ConnectionId:0HNCO1EFQCMBG
      Unhandled exception while processing 0HNCO1EFQCMBG.
      System.NullReferenceException: Object reference not set to an instance of an object.
         at MQTTnet.AspNetCore.MqttConnectionHandler.OnConnectedAsync(ConnectionContext connection)
         at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.KestrelConnection`1.ExecuteAsync()
fail: Plugin.MessageService[0]
      MQTT DISCONNECTED WITH SERVER
info: Plugin.DeviceService[0]
      Loaded Devices Count: 10
info: Plugin.DeviceService[0]
      CreateDeviceThread Start: OPCUA
info: Plugin.DeviceService[0]
      Device:[OPCUA],Create()
info: Plugin.DeviceService[0]
      CreateDeviceThread End: OPCUA
info: Plugin.DeviceService[0]
      CreateDeviceThread Start: 485总线
info: Plugin.DeviceService[0]
      Device:[485总线],Create()
info: Plugin.DeviceService[0]
      线程已启动:485总线
info: Plugin.DeviceService[0]
      CreateDeviceThread End: 485总线
info: Plugin.DeviceService[0]
      CreateDeviceThread Start: Modbus
info: Plugin.DeviceService[0]
      Device:[Modbus],Create()
info: Plugin.DeviceService[0]
      线程已启动:Modbus
info: Plugin.DeviceService[0]
      CreateDeviceThread End: Modbus
info: Plugin.DeviceService[0]
      CreateDeviceThread Start: AB-PLC
info: Plugin.DeviceService[0]
      Device:[AB-PLC],Create()
info: Plugin.DeviceService[0]
      CreateDeviceThread End: AB-PLC
info: Plugin.DeviceService[0]
      CreateDeviceThread Start: Fanuc机床
info: Plugin.DeviceService[0]
      Device:[Fanuc机床],Create()
info: Plugin.DeviceService[0]
      CreateDeviceThread End: Fanuc机床
info: Plugin.DeviceService[0]
      CreateDeviceThread Start: 欧姆龙PLC
info: Plugin.DeviceService[0]
      Device:[欧姆龙PLC],Create()
info: Plugin.DeviceService[0]
      CreateDeviceThread End: 欧姆龙PLC
info: Plugin.DeviceService[0]
      CreateDeviceThread Start: 西门子PLC
info: Plugin.DeviceService[0]
      Device:[西门子PLC],Create()
info: Plugin.DeviceService[0]
      CreateDeviceThread End: 西门子PLC
info: Plugin.DeviceService[0]
      CreateDeviceThread Start: 三菱PLC
info: Plugin.DeviceService[0]
      Device:[三菱PLC],Create()
info: Plugin.DeviceService[0]
      CreateDeviceThread End: 三菱PLC
info: Plugin.DeviceService[0]
      CreateDeviceThread Start: MTConnect机床
info: Plugin.DeviceService[0]
      Device:[MTConnect机床],Create()
info: Plugin.DeviceService[0]
      CreateDeviceThread End: MTConnect机床
info: Plugin.DeviceService[0]
      CreateDeviceThread Start: OPCDA
info: Plugin.DeviceService[0]
      Device:[OPCDA],Create()
info: Plugin.DeviceService[0]
      CreateDeviceThread End: OPCDA
info: Plugin.ModbusSlaveService[0]
      Modbus Server Started
info: Microsoft.Hosting.Lifetime[0]
      Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
      Hosting environment: Development
info: Microsoft.Hosting.Lifetime[0]
      Content root path: /home/fzxcasnc/Project/iotgateway/IoTGateway
info: Plugin.MessageService[0]
      MQTT CONNECTED WITH SERVER
info: Plugin.DeviceService[0]
      Device:[485总线],Connect()
info: Plugin.DeviceService[0]
      Device:[Modbus],Connect()