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

fix: unable to use unix socket with grpc - [INS-5036] #8410

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

CurryYangxx
Copy link
Member

@CurryYangxx CurryYangxx commented Feb 25, 2025

Changes:

Reason:
The unix URL is different from the normal grpc URL. For example: unix:///path/to/my/socket.sock, the protocol is unix, and the host should be the whole URL. There is no pathname in this URL.
So the new URL() method is not suitable for handling unix grpc request.

@CurryYangxx
Copy link
Member Author

@ryan-willis I noticed that this seems related to this pr(#8284). Please help to take a look if this is an appropriate approach to handling this unix situation.

@CurryYangxx
Copy link
Member Author

unix-grpc.zip
This a js script for starting a test unix socket grpc server locally.

@CurryYangxx CurryYangxx changed the title fix: unable to use unix socket with grpc fix: unable to use unix socket with grpc - [INS-5036] Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to use unix sockets with gRPC
1 participant