Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Execution error after upgrading RestSharp from 108.0.3 to 110.1.0 #501

@odinnou

Description

@odinnou

Steps to reproduce:
My project uses InfluxDB.Client and RestSharp, I upgrade it to the latest version (from 108.0.3 to 110.1.0)
Then, all influx db connection fail with this stack trace

System.MissingMethodException : Method not found: 'Void RestSharp.RestClient..ctor(RestSharp.RestClientOptions, System.Action`1<System.Net.Http.Headers.HttpRequestHeaders>)'.

Stack Trace: 
ApiClient.ctor(InfluxDBClientOptions options, LoggingHandler loggingHandler, GzipHandler gzipHandler)
InfluxDBClient.ctor(InfluxDBClientOptions options)
InfluxDBClient.ctor(String url, String token)

Specifications:

  • InfluxDB Version: 4.11.0

the team in charge of RestSharp has made several modifications to the constructor part of their tool.

Thanks in advance, kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions