Coder Social home page Coder Social logo

Comments (7)

tv42 avatar tv42 commented on July 19, 2024

Sorry, I submitted the form too early. Still diagnosing, this might be user error. Will report back soon.

from grpc-go.

iamqizhao avatar iamqizhao commented on July 19, 2024

No, it is called in https://github.com/grpc/grpc-go/blob/master/transport/http2_client.go#L113 when some TransportAuthenticator is set in authOpts.

from grpc-go.

iamqizhao avatar iamqizhao commented on July 19, 2024

Close now. Please reopen if you still think there is a problem here. Thanks.

from grpc-go.

tv42 avatar tv42 commented on July 19, 2024

Okay here's the better diagnosis: the client lib assumes addresses always have a port. It calls net.SplitHostPort and fails unless the address was host:port style. There's several calls, removing the error path from this makes the greeter example work over unix domain sockets, with a custom Dial:
https://github.com/grpc/grpc-go/blob/master/call.go#L118

from grpc-go.

tv42 avatar tv42 commented on July 19, 2024

Oh, and I can't re-open this issue.

from grpc-go.

iamqizhao avatar iamqizhao commented on July 19, 2024

On Thu, Feb 26, 2015 at 2:22 PM, Tv [email protected] wrote:

Okay here's the better diagnosis: the client lib assumes addresses always
have a port. It calls net.SplitHostPort and fails unless the address was

Right now the client lib does not assume addresses always have a port. It
REQUIRES!

host:port style. There's several calls, removing the error path from this
makes the greeter example work over unix domain sockets, with a custom Dial:
https://github.com/grpc/grpc-go/blob/master/call.go#L118

Unix domain socket is not supported now. And I plan to add it in the next a
couple of weeks.


Reply to this email directly or view it on GitHub
#72 (comment).

from grpc-go.

iamqizhao avatar iamqizhao commented on July 19, 2024

make #73 to track UDS separately.

from grpc-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.