dequick

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: The problem of InfluxDB on Scada V6 #15030
    dequick
    Participant

    So, I changed https to http ans its OK.

    in reply to: The problem of InfluxDB on Scada V6 #15028
    dequick
    Participant

    The 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.StateMachineBox1.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 year, 1 month ago by dequick.
    in reply to: The problem of InfluxDB on Scada V6 #15027
    dequick
    Participant

    2024-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);
    in reply to: The problem of InfluxDB on Scada V6 #15025
    dequick
    Participant

    Same 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()
Viewing 4 posts - 1 through 4 (of 4 total)