GithubHelp home page GithubHelp logo

Comments (13)

ripienaar avatar ripienaar commented on July 1, 2024 1

so it goes :) I fixed the confusing error message you showed though so thanks for the report regardless!

from natscli.

ripienaar avatar ripienaar commented on July 1, 2024 1

if you are using nightly you can do nightly-yyyymmdd as a tag

from natscli.

ripienaar avatar ripienaar commented on July 1, 2024

It be will be in the next release. Currently in nightly release in the synadia/nats-server:nightly container

from natscli.

jplimack avatar jplimack commented on July 1, 2024

@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.

ripienaar avatar ripienaar commented on July 1, 2024

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.

jplimack avatar jplimack commented on July 1, 2024

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.

ripienaar avatar ripienaar commented on July 1, 2024

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.

ripienaar avatar ripienaar commented on July 1, 2024

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.

jplimack avatar jplimack commented on July 1, 2024
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.

ripienaar avatar ripienaar commented on July 1, 2024

ok, so show nats micro ls --trace pls

from natscli.

jplimack avatar jplimack commented on July 1, 2024

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.

jplimack avatar jplimack commented on July 1, 2024

thanks for your help! I'm really enjoying developing with nats and micro is really convenient

from natscli.

jplimack avatar jplimack commented on July 1, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.