Skip to content

"Invalid version string\r\nParameter name: fullVersion" // at Elasticsearch.Net.VersionInfo.StoreVersion(String fullVersion) #5539

Closed
@bobrien27

Description

@bobrien27

NEST/Elasticsearch.Net version: 7.12.0

Elasticsearch version: 7.12.0

Description of the problem including expected versus actual behavior:
"new ConnectionSettings();" continues to give me errors whether using a local or domain hosted version of ElasticSearch and am given the error message "Invalid version string\r\nParameter name: fullVersion"

Steps to reproduce:

  1. Create Xamarin Forms Application
  2. Create any type of query call using:
    var node = new Uri("http:elasticsearch:9200");
    var settings = new ConnectionSettings(node); //FAILS HERE, creating ConnectionSettings
    var client = new ElasticClient(settings);

Expected behavior
Simple queries have been working since version 7.8 but after upgrading to Java 15 and ES 7.12.0 I am unable to create an ElasticClient as it is unable to successfullt create ConnectionSettings whether it be a "specific-url:9200" or "localhost:9200".

Provide ConnectionSettings (if relevant):
N/A

Provide DebugInformation (if relevant):
StackTrace given by debug:
"""
at Elasticsearch.Net.VersionInfo.StoreVersion(String fullVersion)
at Elasticsearch.Net.MetaDataHeader..ctor(VersionInfo version, String serviceIdentifier, Boolean isAsync)
at Elasticsearch.Net.MetaHeaderProvider..ctor()
at Elasticsearch.Net.ConnectionConfiguration1..ctor(IConnectionPool connectionPool, IConnection connection, IElasticsearchSerializer requestResponseSerializer) at Nest.ConnectionSettingsBase1..ctor(IConnectionPool connectionPool, IConnection connection, SourceSerializerFactory sourceSerializerFactory, IPropertyMappingProvider propertyMappingProvider)
at Nest.ConnectionSettings..ctor(Uri uri)
"""

ElasticSearch itself is working locally and across domains after upgrading to Java 15 and the ELK collective, however upon upgrading NuGet Packages: ElasticSearch.Net and NEST, I have not been able to use "var settings = new ConnectionSettings(node);" to establish a connection and am given an error.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions