Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Python] Error message says "Please use a release of Arrow Flight built with gRPC 1.27 or higher." although I'm using gRPC 1.39 #29498

Closed
asfimport opened this issue Sep 3, 2021 · 3 comments

Comments

@asfimport
Copy link

When initializing the FlightClient I get the following error message:

ArrowNotImplementedError: Using encryption with server verification disabled is unsupported. Please use a release of Arrow Flight built with gRPC 1.27 or higher.
Traceback:

image-2021-09-03-11-10-01-004.png

 

Verions: Python 3.9.5


# Name                    Version                   Build  Channel
arrow-cpp                 5.0.0           py39h037c299_3_cpu    conda-forge
pyarrow                   5.0.0           py39hf9247be_3_cpu    conda-forge
grpc-cpp                  1.39.1               h1072645_0    conda-forge
grpcio                    1.38.1           py39hb76b349_0    conda-forge

 

Code is similar to:

import pandas
from pyarrow import flight

class XYZClient():    
    __scheme = "grpc+tls"
    __token = None
    __flightclient = None    
    
    def __init__(self, username, password, hostname="some-host", flightport=32010):
        flight_client = flight.FlightClient(
            "{}://{}:{}".format(self.__scheme, hostname, flightport),
            middleware=[DremioClient.DremioClientAuthMiddlewareFactory()],
            disable_server_verification=True
        )
        self.__token = flight_client.authenticate_basic_token(
            username, password)
        self.__flightclient = flight_client

There has been a similar issue (https://issues.apache.org/jira/browse/ARROW-11695#) for an earlier version of pyarrow that has been marked as resolved.

 

 

Reporter: Oliver Mayer
Assignee: David Li / @lidavidm

Original Issue Attachments:

PRs and other links:

Note: This issue was originally created as ARROW-13881. Please see the migration documentation for further details.

@asfimport
Copy link
Author

David Li / @lidavidm:
Are you on Windows? I was trying to replicate, but now I see that that particular package build is only for Windows, and the Conda build logs show that it's failing to detect support on Windows. I suppose there's something platform specific, I will dig further.

@asfimport
Copy link
Author

Oliver Mayer:
Hi David, yes, I'm on Windows. Thanks for looking into that.

@asfimport
Copy link
Author

Antoine Pitrou / @pitrou:
Issue resolved by pull request 11077
#11077

@asfimport asfimport added this to the 6.0.0 milestone Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants