Closed sraghuramanit closed 3 years ago
You should probably fix your NiFi clusters if they're constantly electing a new coordinator. Not a NiPy issue.
On Thu, 17 Dec 2020, 14:53 sraghuramanit, notifications@github.com wrote:
Nipyapi version:0.15.0 NiFi version: 1.11.4 NiFi-Registry version: Python version:3.6 Operating System: Docker Container Description
Clusters are disconnecting frequently...
nipyapi.nifi.rest.ApiException: (503) Reason: Service Unavailable HTTP response headers: HTTPHeaderDict({'Date': 'Wed, 16 Dec 2020 10:04:28 GMT', 'X-Frame-Options': 'SAMEORIGIN', 'Content-Security-Policy': "frame-ancestors 'self'", 'X-XSS-Protection': '1; mode=block', 'Content-Type': 'text/plain', 'Vary': 'Accept-Encoding', 'Content-Length': '195', 'Server': 'Jetty(9.4.19.v20190610)'}) HTTP response body: Action cannot be performed because there is currently no Cluster Coordinator elected. The request should be tried again after a moment, after a Cluster Coordinator has been automatically elected. What I Did
Creating and Deploy Workflows in NiFi using NiPy API... Urgency
Needed ASAP...
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Chaffelson/nipyapi/issues/249, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZAZODGRBWUFK4GBHQIB5DSVILPZANCNFSM4U7Y6A2Q .
Closing as not a bug with NiPy, the underlying environment needs to be fixed.
Nipyapi version:0.15.0 NiFi version: 1.11.4 NiFi-Registry version: Python version:3.6 Operating System: Docker Container
Description
Clusters are disconnecting frequently...
nipyapi.nifi.rest.ApiException: (503) Reason: Service Unavailable HTTP response headers: HTTPHeaderDict({'Date': 'Wed, 16 Dec 2020 10:04:28 GMT', 'X-Frame-Options': 'SAMEORIGIN', 'Content-Security-Policy': "frame-ancestors 'self'", 'X-XSS-Protection': '1; mode=block', 'Content-Type': 'text/plain', 'Vary': 'Accept-Encoding', 'Content-Length': '195', 'Server': 'Jetty(9.4.19.v20190610)'}) HTTP response body: Action cannot be performed because there is currently no Cluster Coordinator elected. The request should be tried again after a moment, after a Cluster Coordinator has been automatically elected.
What I Did
Creating and Deploy Workflows in NiFi using NiPy API...
Urgency
Needed ASAP...