[
https://issues.apache.org/jira/browse/IGNITE-16314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vyacheslav Koptilin resolved IGNITE-16314.
------------------------------------------
Resolution: Invalid
Hello [~prom1se],
Well, it seems to me that two servers on the same host cannot use an identical
port in order to handle HTTP requests.
The custom port can be configured via _ConnectorConfiguration_. Please take a
look at https://ignite.apache.org/docs/latest/restapi#configuration
_setPortRange _&& _setJettyPath _properties.
> [RestApi] The rest service starts only on one node on the server and is not
> delegated to others if it is turned off.
> --------------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-16314
> URL: https://issues.apache.org/jira/browse/IGNITE-16314
> Project: Ignite
> Issue Type: Bug
> Components: rest
> Affects Versions: 2.11.1
> Reporter: Fedor Malchikov
> Priority: Minor
> Attachments: logs.zip
>
>
> As a result, until a new node is launched on this server, the rest api will
> not be available.
>
> STR:
> 1) Start 2 nodes one to one.
> 2) Make request to [http://localhost:8080/ignite?cmd=version.] - result:
> success.
> 3) Kill first started node.
> 4) Make request to [http://localhost:8080/ignite?cmd=version.] - result:
> ERR_CONNECTION_REFUSED.
> 5) Start new one.
> 6) Make request to [http://localhost:8080/ignite?cmd=version.] - result:
> success.
> this is quite unpredictable behavior and automatic delegation to another node
> would be expected.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)