[
https://issues.apache.org/jira/browse/MINIFICPP-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marton Szasz resolved MINIFICPP-1149.
-------------------------------------
Resolution: Not A Problem
> Controller Socket is not compatible with C2 RESTSender
> ------------------------------------------------------
>
> Key: MINIFICPP-1149
> URL: https://issues.apache.org/jira/browse/MINIFICPP-1149
> Project: Apache NiFi MiNiFi C++
> Issue Type: Test
> Affects Versions: 0.7.0
> Reporter: Kevin Doran
> Assignee: Arpad Boda
> Priority: Major
>
> When enabling both the controller socket and the C2 RESTSender, I get
> failures for the RESTSender when the controller fails to bind:
>
> minifi.properties:
> {noformat}
> nifi.c2.enable=true
> nifi.c2.agent.protocol.class=RESTSender
> ## base URL of the c2 server,
> ## very likely the same base url of rest urls
> nifi.c2.flow.base.url=http://localhost:10080/efm/api/c2-protocol
> nifi.c2.rest.url=http://localhost:10080/efm/api/c2-protocol/heartbeat
> nifi.c2.rest.url.ack=http://localhost:10080/efm/api/c2-protocol/acknowledge
> nifi.c2.root.classes=DeviceInfoNode,AgentInformation,FlowInformation
> #...
> ## enable the controller socket provider on port 9998
> ## off by default. C2 must be enabled to support these
> controller.socket.host=localhost
> controller.socket.port=9988
> {noformat}
> errors:
> {noformat}
> [2020-02-07 18:37:38.870] [org::apache::nifi::minifi::c2::C2Agent] [info]
> Class is RESTSender
> [2020-02-07 18:37:38.872] [org::apache::nifi::minifi::io::Socket] [error]
> Could not bind to socket, reason Address family not supported by protocol
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)