1. 24 8月, 2023 1 次提交
  2. 23 8月, 2023 1 次提交
    • K
      avoid insert device data into database failed · 9978a502
      KunYi Chen 提交于
      The presence of a colon ':' in the table name will result in the following error message
      
      iotsharp-iotsharp-1  | info: IoTSharp.Storage.TaosStorage[0]
      iotsharp-iotsharp-1  |       INSERT INTO device_d2da441304a04ce1924410033e671235_gonglu: USING telemetrydata TAGS('d2da441304a04ce1924410033e671235','功率')  (ts,value_type,value_double) values (now,3,0)
      iotsharp-iotsharp-1  |       device_d2da441304a04ce1924410033e671235_kaiguan USING telemetrydata TAGS('d2da441304a04ce1924410033e671235','开关')  (ts,value_type,value_double) values (now,3,1)
      iotsharp-iotsharp-1  |       device_d2da441304a04ce1924410033e671235_yongdianliang USING telemetrydata TAGS('d2da441304a04ce1924410033e671235','用电量')  (ts,value_type,value_double) values (now,3,164700541)
      iotsharp-iotsharp-1  |       device_d2da441304a04ce1924410033e671235_dianya USING telemetrydata TAGS('d2da441304a04ce1924410033e671235','电压')  (ts,value_type,value_double) values (now,3,5065)
      iotsharp-iotsharp-1  |       device_d2da441304a04ce1924410033e671235_dianliu USING telemetrydata TAGS('d2da441304a04ce1924410033e671235','电流')  (ts,value_type,value_double) values (now,3,951979566)
      iotsharp-iotsharp-1  | fail: IoTSharp.Storage.TaosStorage[0]
      iotsharp-iotsharp-1  |       d2da4413-04a0-4ce1-9244-10033e671235数据处理失败9731-Table does not exist
      iotsharp-iotsharp-1  |       IoTSharp.Data.Taos.TaosException (0x00002603): Table does not exist
      iotsharp-iotsharp-1  |          at IoTSharp.Data.Taos.TaosException.ThrowExceptionForRC(TaosErrorResult taosError)
      iotsharp-iotsharp-1  |          at IoTSharp.Data.Taos.Protocols.TDWebSocket.TaosWebSocket.Execute(String _commandText)
      iotsharp-iotsharp-1  |          at IoTSharp.Data.Taos.Protocols.TDWebSocket.TaosWebSocket.ExecuteReader(CommandBehavior behavior, TaosCommand command)
      iotsharp-iotsharp-1  |          at IoTSharp.Data.Taos.TaosCommand.ExecuteNonQuery()
      iotsharp-iotsharp-1  |          at System.Data.Common.DbCommand.ExecuteNonQueryAsync(CancellationToken cancellationToken)
      iotsharp-iotsharp-1  |       --- End of stack trace from previous location ---
      iotsharp-iotsharp-1  |          at IoTSharp.Storage.TaosStorage.StoreTelemetryAsync(PlayloadData msg) in /src/IoTSharp.Data.TimeSeries/TaosStorage.cs:line 225
      9978a502
  3. 05 8月, 2023 1 次提交
  4. 03 8月, 2023 2 次提交
  5. 31 7月, 2023 2 次提交
    • 麦壳饼's avatar
      Merge pull request #1071 from KunYi/master · cf5d8869
      麦壳饼 提交于
      fixed failed when create table of tdengine
      cf5d8869
    • K
      fixed failed when create table · 7ed9c097
      KunYi Chen 提交于
      we met the below message when database initialization,
      the message show create database is okay then create table failed.
      -----------------------------------------------------------------------
      iotsharp-taos-1      | 58:41.522179 00000096 MND ERROR user:root, failed to login from 172.22.0.3 while use db:IoTSharp since Invalid database name, gtid:0xd03023f4dd720064:0x65931aaf4dd0007d
      iotsharp-taos-1      | 07/31 15:58:41.522189 00000096 MND ERROR msg:0x7fc62841c868, failed to process since Invalid database name, app:0x7fa9dc004df0 type:connect, gtid:0xd03023f4dd720064:0x65931aaf4dd0007d
      iotsharp-taos-1      | 07/31 15:58:41.523719 00000035 taos_ADAPTER info "| 200 |   75.661233ms |      172.22.0.5 | GET | %2Frest%2Fws " model=web
      iotsharp-taos-1      | 07/31 15:58:41.527097 00000035 taos_ADAPTER info "| 200 |    7.591404ms |      172.22.0.5 | GET | %2Frest%2Fstmt " model=web
      iotsharp-taos-1      | 07/31 15:58:41.528410 00000096 MND ERROR user:root, failed to login from 172.22.0.3 while use db:IoTSharp since Invalid database name, gtid:0xd03023f4dd780066:0x65931aaf4dd0007f
      iotsharp-taos-1      | 07/31 15:58:41.528419 00000096 MND ERROR msg:0x7fc62641a9e8, failed to process since Invalid database name, app:0x7fa9c0020920 type:connect, gtid:0xd03023f4dd780066:0x65931aaf4dd0007f
      iotsharp-taos-1      | failed to connect to server, reason: Invalid database name
      iotsharp-taos-1      |
      iotsharp-taos-1      | 07/31 15:58:41.529946 00000096 MND ERROR user:root, failed to login from 172.22.0.3 while use db:IoTSharp since Invalid database name, gtid:0xd03023f4dd790068:0x65931aaf4dd00081
      iotsharp-taos-1      | 07/31 15:58:41.529957 00000096 MND ERROR msg:0x7fc625c1c7a8, failed to process since Invalid database name, app:0x7fa9b40066f0 type:connect, gtid:0xd03023f4dd790068:0x65931aaf4dd00081
      iotsharp-taos-1      | failed to connect to server, reason: Invalid database name
      iotsharp-taos-1      |
      iotsharp-taos-1      | 07/31 15:58:41.535142 00000097 MND db:1.iotsharp, start to create, vgroups:2
      iotsharp-taos-1      | 07/31 15:58:41.535151 00000097 MND db:1.iotsharp, already exist, ignore exist is set
      iotsharp-taos-1      | 07/31 15:58:41.544216 00000035 taos_ADAPTER info "| 200 |   14.617762ms |      172.22.0.5 | GET | %2Frest%2Fstmt " model=web
      iotsharp-taos-1      | 07/31 15:58:41.544217 00000035 taos_ADAPTER info "| 200 |   16.313725ms |      172.22.0.5 | GET | %2Frest%2Fws " model=web
      iotsharp-taos-1      | 07/31 15:58:41.545403 00000096 MND ERROR user:root, failed to login from 172.22.0.3 while use db:IoTSharp since Invalid database name, gtid:0xd03023f4dd89006a:0x65931aaf4dd00086
      iotsharp-taos-1      | 07/31 15:58:41.545411 00000096 MND ERROR msg:0x7fc6260177a8, failed to process since Invalid database name, app:0x7fa9d0004c70 type:connect, gtid:0xd03023f4dd89006a:0x65931aaf4dd00086
      iotsharp-taos-1      | failed to connect to server, reason: Invalid database name
      iotsharp-taos-1      |
      iotsharp-taos-1      | 07/31 15:58:41.547169 00000096 MND ERROR user:root, failed to login from 172.22.0.3 while use db:IoTSharp since Invalid database name, gtid:0xd03023f4dd8b006c:0x65931aaf4dd00088
      iotsharp-taos-1      | 07/31 15:58:41.547176 00000096 MND ERROR msg:0x7fc625817868, failed to process since Invalid database name, app:0x7fa9b40066f0 type:connect, gtid:0xd03023f4dd8b006c:0x65931aaf4dd00088
      iotsharp-taos-1      | failed to connect to server, reason: Invalid database name
      iotsharp-taos-1      |
      iotsharp-iotsharp-1  | crit: Microsoft.AspNetCore.Hosting.Diagnostics[6]
      iotsharp-iotsharp-1  |       Application startup exception
      iotsharp-iotsharp-1  |       IoTSharp.Data.Taos.TaosException (0x00002616): Database not specified
      iotsharp-iotsharp-1  |          at IoTSharp.Data.Taos.TaosException.ThrowExceptionForRC(TaosErrorResult taosError)
      iotsharp-iotsharp-1  |          at IoTSharp.Data.Taos.Protocols.TDWebSocket.TaosWebSocket.Execute(String _commandText)
      iotsharp-iotsharp-1  |          at IoTSharp.Data.Taos.Protocols.TDWebSocket.TaosWebSocket.ExecuteReader(CommandBehavior behavior, TaosCommand command)
      iotsharp-iotsharp-1  |          at IoTSharp.Data.Taos.TaosCommand.ExecuteNonQuery()
      iotsharp-iotsharp-1  |          at IoTSharp.Storage.TaosStorage.CheckTelemetryStorage() in /src/IoTSharp.Data.TimeSeries/TaosStorage.cs:line 36
      iotsharp-iotsharp-1  |          at IoTSharp.IoTSharpExtension.UseTelemetryStorage(IApplicationBuilder app) in /src/IoTSharp/Extensions/IoTSharpExtension.cs:line 365
      iotsharp-iotsharp-1  |          at IoTSharp.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env) in /src/IoTSharp/Startup.cs:line 349
      7ed9c097
  6. 27 7月, 2023 2 次提交
  7. 24 7月, 2023 4 次提交
  8. 20 7月, 2023 2 次提交
  9. 19 7月, 2023 2 次提交
  10. 18 7月, 2023 10 次提交
  11. 17 7月, 2023 4 次提交
  12. 12 7月, 2023 5 次提交
  13. 10 7月, 2023 1 次提交
  14. 01 7月, 2023 3 次提交