Comments (9)
@ameetchhatwal, looks like the issue is the go get
step. You are only doing go get
for the base package, not for the cmd/grpcui
sub-package. That means that go get
is not crawling and installing the deps for the command, only for the github.com/fullstorydev/grpcui
package (which does not depend on those two items, hence they are not present).
Either get the right package:
go get -d github.com/fullstorydev/grpcui/cmd/grpcui
Or get all of 'em:
go get -d github.com/fullstorydev/grpcui/...
from grpcui.
What version of Go/image are you using? Are you using Go modules? It would be more helpful if you could provide enough details for me to repro.
from grpcui.
I am using this Dockerfile to build a container and launch the grpcui
FROM golang:1.12.4-stretch
ENV TINI_VERSION v0.18.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
#Just Download the GO package
RUN go get -d github.com/fullstorydev/grpcui
# Copy the bindata for custom header and query param support
COPY grpcui/webform/bindata.go /go/src/github.com/fullstorydev/grpcui/internal/resources/webform/
# Install the updated GO package
RUN go install github.com/fullstorydev/grpcui
# Install the cmd line binary
RUN go install github.com/fullstorydev/grpcui/cmd/grpcui
COPY grpcui/scripts/ /usr/local/scripts/
RUN chmod +x /usr/local/scripts/*.sh
ENV PATH /usr/local/scripts/:$PATH
EXPOSE 31415
ENTRYPOINT ["/tini", "-s", "--"]
CMD ["start.sh"]
This use to work, until last week and was throwing error I posted above in the step
RUN go install github.com/fullstorydev/grpcui/cmd/grpcui
and upon looking there was a change made, and it seem related to the new imports in grpcui cmd.
FYI I am adding some default headers to i change the webform.js, which is why I am copying the bindata.go
Please let me know if you need more info. My go local machine go version is 1.14.3. I am not using go modules.
from grpcui.
That makes sense. I will try that. Thanks a lot.
from grpcui.
I ran into this as well. Should the install doc be updated to reflect this?
https://github.com/fullstorydev/grpcui#installation
from grpcui.
Followed the installation and had the same problem too. I think the docs should be updated to reflect the proper go get
command for those looking for a copy/paste install.
from grpcui.
I can PR it if you want.
from grpcui.
@plunkettscott, thanks for the offer. But it is a tiny change, so I just made it. Sorry for the confusion.
from grpcui.
Thanks @jhump
from grpcui.
Related Issues (20)
- Filling protobuf.any value in grpcui HOT 5
- Additional headers -H works with grpcurl but not grpcui HOT 3
- Embedding clarification for subroutes. HOT 2
- Can't work with proto definitions that include includes external proto definitions. HOT 2
- insecure flag doing nothing HOT 2
- Output the size of the binary request/response in verbose log
- -open-browser=true doesn't work properly on faulty open handlers
- Question about JSON HOT 3
- -default-header would be clear when using -examples at the same time HOT 2
- Failed to dial target host "localhost:8181": context deadline exceeded HOT 3
- Can't I use Dockerfile? HOT 2
- where is the docker image hosted? HOT 5
- Import Error "lookup of '$ret6' failed HOT 3
- The browser displays a connection error. HOT 1
- How can I wait for stream answers? HOT 1
- Is gRPC curl still visible from `Raw request` tab?
- Runtime error: invalid memory address or nil pointer dereference HOT 4
- M1 grpcui -plaintext localhost:8023 Failed to compute set of methods to expose: proto: invalid syntax: "<unknown:0>" HOT 5
- Failed to compute set of methods to expose: EOF
- undefined: indent HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grpcui.