Comments (13)
so it goes :) I fixed the confusing error message you showed though so thanks for the report regardless!
from natscli.
if you are using nightly you can do nightly-yyyymmdd
as a tag
from natscli.
It be will be in the next release. Currently in nightly release in the synadia/nats-server:nightly container
from natscli.
@ripienaar I deployed nats-server:nightly
and compiled the latest nats-cli, but stuck here
./dist/nats_darwin_arm64/nats micro list
nats: error: server request failed, ensure the account used has system privileges and appropriate permissions
any pointers on what I need to do next to authenticate this properly? I have auth disabled at the moment in my local dev cluster
from natscli.
That’s weird - it’s not a system account thing probsbly a error that’s handled incorrectly. I think it means no services are running.
from natscli.
ive got a micro.service with 2 endpoints that is responding to requests, just unable to use nats-cli to see any status
from natscli.
OK, then its not in the same account or not up or not connected or similar. you can do nats req '$SRV.INFO' '{}'
and should see no responses
from natscli.
The basic issue of moaning about system account is fixed in next nightly, but still the problem you're having is that no micro services are responding.
from natscli.
nats req '$SRV.INFO' '{}'
07:48:36 Sending request on "$SRV.INFO"
07:48:36 Received with rtt 1.982083ms
{"name":"mytestmicroservice","id":"yMh1DDbTVHVtlvPtojNrqN","version":"0.0.1","type":"io.nats.micro.v1.info_response","description":"provides example nats micro.service for demo","subjects":["thething","thething.nounn.list"]}
I think I do have a micro.service listening, and it does respond when i publish at it
from natscli.
ok, so show nats micro ls --trace
pls
from natscli.
maybe all i had to do was get a good night's rest /shrug
nats micro ls --trace
07:56:09 >>> $SRV.INFO: {}
{"name":"mytestmicroservice","id":"yMh1DDbTVHVtlvPtojNrqN","version":"0.0.1","type":"io.nats.micro.v1.info_response","description":"provides example nats micro.service for demo","subjects":["thething","thething.nounn.list"]}
07:56:09 === Received 1 responses
╭────────────────────────────────────────────────────────────────────────────────────────────╮
│ All Micro Services │
├───────┬─────────┬────────────────────────┬─────────────────────────────────────────────────┤
│ Name │ Version │ ID │ Description │
├───────┼─────────┼────────────────────────┼─────────────────────────────────────────────────┤
│ mysvc │ 0.0.1 │ yMh1DDbTVHVtlvPtojNrqN │the desc │
╰───────┴─────────┴────────────────────────┴─────────────────────────────────────────────────╯
from natscli.
thanks for your help! I'm really enjoying developing with nats and micro is really convenient
from natscli.
@ripienaar do you publish the digests of the images? kubernetes wont know to pull the new image if it has the tag cached. I see you're using go-releaser, which can do a pre-release, any chance of tagging the nightlies?
from natscli.
Related Issues (20)
- NATS CLI Error while testing new Services API - metadata: expected object, but got null HOT 3
- Display inactive threshold with consumer information HOT 1
- translate feature not surfaced yet ? HOT 2
- consumer cluster step-down failed on stuck push consumer HOT 1
- Specifying --names should request .NAMES instead of .LIST HOT 1
- Feature: publish protocol for stdin, sockets and pipes HOT 5
- In reports highlight similar properties
- `nats bench` creates R1 consumer for R3 stream HOT 2
- Error listing NATS micro services HOT 8
- [REQUEST] Add context name to json output HOT 2
- natscli kv ls (unable to fetch keys in bucket: nats: consumer expected to be durable but a durable name was not set) HOT 2
- Windows json issue HOT 4
- Can't dump `stream view` messages to file or pipe if stream has >10 messages HOT 14
- Add --no-select to "con ls" HOT 1
- "nats str ls" shows duplicate stream names HOT 8
- Context saved with a token causes an `Authorization Violation` error
- Unable to edit context when last saved context contain errors HOT 2
- Ability to set infinite timeout HOT 1
- nats micro info reports incorrect subject HOT 3
- NSC functionality HOT 6
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 natscli.