Questions tagged [go-micro]

Pluggable RPC framework for writing microservices in Go (golang).

Pluggable RPC framework for writing microservices in Go (golang). It's part of the Micro toolkit.
go-micro on GitHub.

48 questions
0
votes
1 answer

not receiving error from remote call, goes all the way to timeout Go gRPC + micro + protobuf

I've recently started learning microservices using Go and I've stumbled upon some tutorial that was using micro, gRPC and protobuf. After some time I realized that I do not receive any error messages from the cli that was created to communicate with…
0
votes
0 answers

Go POST request to Third-Party API

I am stuck wanting to do a simple POST request from my go microservice to Rapyd API. I searched for many solutions on the web but none worked... If I try to make the request, I either got a 400 Bad Request or an error containing "Network…
0
votes
1 answer

Permission error when starting a microservice with Micro.mu

I have just created a new microservice with micro new using Micro. I have then installed the needed dependencies (protobuf) and run make proto, as specified in the official documentation. However, when I run micro run ., I get…
CFV
  • 740
  • 7
  • 26
0
votes
0 answers

go micro gave me this kind of error while running make build

i had installed micro for learning micro services and go. but when i tried to run make build then i received this kind of weird error. can anyone help me to solve this #…
0
votes
1 answer

let docker access consul in docker compose

The docker compose file: version: '3' services: rs: build: . ports: - "9090:9090" consul: image: "consul" ports: - "8500:8500" hostname: "abc" rs is a go micro server app which will access consul and the consul…
jean
  • 2,825
  • 2
  • 35
  • 72
0
votes
0 answers

Go micro rpc request slow for simple service

I wrote a simple rpc service using go-micro, and I found each call would cost 1+ second, same in micro web. So I run official examples package and choose helloworld to test, and this happens again. type Greeter struct{} func (g *Greeter) Hello(ctx…
Max
  • 1
  • 2
0
votes
2 answers

How to fix port for Go-Micro Service

I am running go-micro , But unable to set constant port for my service. Is there any way to assign port to service. If i am running my service, it gives different port on every execution. i want it to fix.
0
votes
1 answer

kubenetes - greeter-web call greeter-srv 500 error?

I'm trying to get this go-micro greeter example working on Kubernetes https://github.com/micro/examples/tree/master/greeter I can run this locally in docker fine. However when I attempt to access the greeter api service via Kubernetes…
0
votes
1 answer

Can I override the endpoint prefix set in a Go GRPC client call?

I have a single protobuf which generates out C# and Go code. The protobuf contains: syntax = "proto3"; package myprotobuf; option go_package = "gitlab.example.com/mycompany/myprotobuf.git"; I'm using go-micro and protoc-gen-micro for my Go GRPC.…
George
  • 2,110
  • 5
  • 26
  • 57
0
votes
1 answer

Telepresence With Go Micro and Consul Causing Error Because of Failed Service Discovery

I'm using go-micro for my applications, currently I'm using consul for local development, however I'm using Kubernetes when I deployed my service into staging and production environment. I read about Telepresence[1] which is basically a dual proxy…
irvifa
  • 1,865
  • 2
  • 16
  • 20
0
votes
1 answer

Kuberenetes 403: Cannot patch pods in the namespace

While trying to deploy a pod that utilizes the go-micro framework I received the following error: 2018/12/27 23:04:51 K8s: request failed with code 403 2018/12/27 23:04:51 K8s: request failed with body: 2018/12/27 23:04:51…
Alex Luis Arias
  • 1,313
  • 1
  • 14
  • 27
0
votes
0 answers

Docker does not find executable

I have an executable written in Golang, it starts and runs fine when started from the Linux-prompt. As you can see, the executable needs an XML file when started. But when started inside a Docker environment, I get error message:…
Bert Verhees
  • 1,057
  • 3
  • 14
  • 25
0
votes
1 answer

go-micro wrapper as a service

Question is about using go-micro wrapper as a separate service - if anyone knows how to use it properly please let me know. my example - authWrapper, so all api services should be able to use it, it should be discovered via standard service…
Alexandr
  • 33
  • 6
0
votes
1 answer

Often restarting of the pods because of networking issues

Description: We have a services what running on the Google Container Engine, based on the golang library go-micro and these services running fine, except random restarting during the day. Problem: Pods is restarting pretty often during the day.…
-1
votes
2 answers

make proto in micro project throws error Expected "{" in windows 10

Starting with micro and everything works fine. I dont have VisualStudio, but instead I have make through chocolatey(dont know if could be the issue) I bootstrap the service with micro new like this. λ micro new my.test Creating service…