Forum Home › Forums › Runtime Bugs › Server Bugs › The problem of InfluxDB on Scada V6
- This topic has 11 replies, 4 voices, and was last updated 1 month, 2 weeks ago by Mikhail.
-
AuthorPosts
-
September 20, 2022 at 2:08 pm #10844xdwokcnParticipant
I try to transfer min Data to InfluxDB ,and set URL like “127.0.0.1:8086” and set the correct token, bucket, orgnazition. but when I restart the server, it report the error like this:
2022-09-20 22:06:59 [DESKTOP-1KFL78H][DESKTOP-1KFL78H$][INF] Archive in DAT format: C:\Users\1\Documents\ScadaProjects\Test1\Data\Min\
2022-09-20 22:06:59 [DESKTOP-1KFL78H][DESKTOP-1KFL78H$][INF] Archive copy in DAT format: C:\Users\1\Documents\ScadaProjects\Test1\Data\MinCopy\
2022-09-20 22:06:59 [DESKTOP-1KFL78H][DESKTOP-1KFL78H$][ERR] Resolver could not find assembly ‘System.Private.Uri.resources, Version=6.0.0.0, Culture=zh-CN, PublicKeyToken=b03f5f7f11d50a3a’
requested by ‘System.Private.Uri, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’
2022-09-20 22:06:59 [DESKTOP-1KFL78H][DESKTOP-1KFL78H$][ERR] Resolver could not find assembly ‘System.Private.Uri.resources, Version=6.0.0.0, Culture=zh-Hans, PublicKeyToken=b03f5f7f11d50a3a’
requested by ‘System.Private.Uri, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’
2022-09-20 22:06:59 [DESKTOP-1KFL78H][DESKTOP-1KFL78H$][ERR] Resolver could not find assembly ‘System.Private.Uri.resources, Version=6.0.0.0, Culture=zh, PublicKeyToken=b03f5f7f11d50a3a’
requested by ‘System.Private.Uri, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’
2022-09-20 22:06:59 [DESKTOP-1KFL78H][DESKTOP-1KFL78H$][ERR] Error calling the MakeReady method of the MinCopy archive:
System.UriFormatException: Invalid URI: The URI scheme is not valid.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
at System.Uri..ctor(String uriString)
at RestSharp.RestClientOptions..ctor(String baseUrl)
at InfluxDB.Client.Api.Client.ApiClient..ctor(InfluxDBClientOptions options, LoggingHandler loggingHandler, GzipHandler gzipHandler)
at InfluxDB.Client.InfluxDBClient..ctor(InfluxDBClientOptions options)
at InfluxDB.Client.InfluxDBClientFactory.Create(InfluxDBClientOptions options)
at InfluxDB.Client.InfluxDBClientFactory.Create(String url, Char[] token)
at Scada.Server.Modules.ModArcInfluxDb.Logic.InfluxHAL.MakeReady()
at Scada.Server.Engine.ArchiveHolder.MakeReady()- This topic was modified 1 year, 12 months ago by xdwokcn.
September 21, 2022 at 7:31 am #10854MikhailModeratorSystem.Private.Uri is a part of .NET. May be you should install Chinese language pack for .NET.
You can try downloading the dll from https://www.nuget.org/packages/System.Private.Uri/ , unzip it and copy the requested file into SCADA\ScadaServer\Mod\ModArcInfluxDb.Logic\ directory.September 21, 2022 at 7:33 am #10855MikhailModeratorCould you provide a screenshot of the archive settings?
September 21, 2022 at 10:17 am #10858xdwokcnParticipantNow, the influxDB is work well, I think it maybe something wrong with my OS.
September 21, 2022 at 10:18 am #10859xdwokcnParticipantCan you see the screenshot of the archive settings?
September 22, 2022 at 10:25 am #10885MikhailModeratorCan you see the screenshot of the archive settings?
No, I can’t.
July 25, 2024 at 12:18 pm #15025dequickParticipantSame problem. I used address like 192.168.1.1:8086, token, bucket and organisation. User and password is empty.
System.UriFormatException: Invalid URI: The URI scheme is not valid. at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions) at System.Uri..ctor(String uriString) at InfluxDB.Client.InfluxDBClientOptions..ctor(String url) at InfluxDB.Client.InfluxDBClient..ctor(String url, String token) at Scada.Server.Modules.ModArcInfluxDb.Logic.InfluxHAL.MakeReady() at Scada.Server.Engine.ArchiveHolder.MakeReady()
July 25, 2024 at 12:40 pm #15026manjey73ParticipantPerhaps the username and password should still appear in the request, even if they are empty
July 25, 2024 at 1:03 pm #15027dequickParticipant2024-07-25 17:57:08 [BPF-SCADA][BPF-SCADA$][ERR] Ошибка при вызове метода MakeReady архива Influx_export:
It’s using token or login/pass:client = string.IsNullOrEmpty(connOptions.Token) ? new InfluxDBClient(connOptions.Url, connOptions.Username, connOptions.Password) : new InfluxDBClient(connOptions.Url, connOptions.Token);
July 25, 2024 at 1:06 pm #15028dequickParticipantThe address should look like:
https://192.168.1.1:8086
I received next error:InfluxDB.Client.Core.Exceptions.HttpException: The SSL connection could not be established, see inner exception. ---> System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Cannot determine the frame size or a corrupted frame was received. at System.Net.Security.SslStream.GetFrameSize(ReadOnlySpan
1 buffer)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)
at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox
1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
at System.Net.Security.SslStream.ReceiveHandshakeFrameAsync[TIOAdapter](CancellationToken cancellationToken)
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](Boolean receiveFirst, Byte[] reAuthenticationData, CancellationToken cancellationToken)
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
— End of inner exception stack trace —
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at RestSharp.RestClient.ExecuteInternal(RestRequest request, CancellationToken cancellationToken)`- This reply was modified 1 month, 3 weeks ago by dequick.
July 25, 2024 at 1:21 pm #15030dequickParticipantSo, I changed https to http ans its OK.
July 26, 2024 at 9:02 am #15031MikhailModeratorThank you for the solution.
-
AuthorPosts
- You must be logged in to reply to this topic.