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
Micro web is not working properly (tested with greeter example) #25
Comments
Hi. The warning is just that, a warning. It's occurring within consul as it attempts to map tag data as txt records for DNS but obviously that's not possible with the format. This means DNS resolution doesn't work for anything registered via micro. Consul doesn't actually support base64 encoding for DNS txt records which makes it difficult to format it in anyway that would make it valid. We use tags as a hacked method to store metadata about the the services. It's not an issue and everything functions correctly from a micro perspective. We could potentially address this in go-micro/registry to resolve the warnings but require an elegant solution. PRs welcome. |
Sorry to add. Missed the thing about values not seeming to be passed through. Will have a look in a few minutes. |
PR was made #24 which actually fixes the RPC issue and improves the implementation slightly. That's merged. |
Fixed version pushed to the demo along with the greeter server for testing http://web.micro.pm/query |
Add selector interface and implementation
The error is the data value is being passed as null, and the below is coming. I'm not sure about the below error.
Though Micro query is working fine:
I followed the below steps:
1>
go get github.com/micro/micro
2>
consul agent -dev -advertise=127.0.0.1
3>
micro --enable_stats --web_address 127.0.0.1:8585 web
4>
swarvanu@swarvanu-ThinkPad-L440 ~/goprojects/src/github.com/micro/micro/examples/greeter/server $ go run main.go
Is there anything wrong, in what I'm doing ?
The text was updated successfully, but these errors were encountered: