Comments (7)
When I run charm
I get the following output:
root@1a1cfd650090:/# charm
Charm
│ Username: (none set)
│ Joined: 17 Mar 2022
> Link a machine
Manage linked keys
Set Username
Backup
Exit
j/k, ↑/↓: choose • enter: select
Exploring this TUI seems to indicate that things are working well, for example choosing Managed linked keys
prints a key with the very recent timestamp (likely the key that I created in this temporary docker container). This would seem to narrow down the problem to be "charm is working correctly, but charm id
isn't printing the output expected by the user".
from charm.
@bashbunni What !? The one bashbunny I watched last week with TJ showing how to turn nvim into an IDE ? What a surprise !! Thank you for your kind and quick come back !
Stephane Eybert
from charm.
Just to confirm, the charm serve
process isn't being suspended in the background right? Are you able to see anything when you have the server running, then run charm
? There should be output after charm serve
giving you updates on any activity on the server.
Let me know and I'll be happy to dig in to this further!
from charm.
Thank you for the reply! I think the charm serve
process is running. I tested this using the docker commands above (up to and including charm serve &
) and I got the following output from using wget
to connect to it:
# wget -O - http://localhost:35354
--2022-03-17 00:41:55-- http://localhost:35354/
Resolving localhost (localhost)... 127.0.0.1, ::1
Connecting to localhost (localhost)|127.0.0.1|:35354... connected.
HTTP request sent, awaiting response... 2022/03/17 00:41:55 <- GET / 127.0.0.1
2022/03/17 00:41:55 -> 400 Bad Request 29B 14.413µs
400 Bad Request
2022-03-17 00:41:55 ERROR 400: Bad Request.
The 400 Bad Request
response indicates that the charm server (or something else speaking HTTP on port 35354) is running, and I would expect such a 4xx response from the server given that the request body is empty.
edit: grammar
from charm.
Hmm, this is interesting... I was able to reproduce the "Bad Request" response from the server with the wget
command in my docker container (followed the steps you outlined above) despite having no issue with charm id
. I've also reached out to some of my teammates for ideas. Will keep you updated!
from charm.
Sorry to be off topic here, but I was enticed to come on this thread from its title, as I'm too, unsure how to get started with charm.
In fact, it's a bit worse, I wonder what I could use charm for. I tried to understand the possible usages from its website but was left wondering.
Maybe there is some documentation or a simple wiki page ? Or better, a video showing us what good things we can do with it ?
from charm.
Hey @stephaneeybert thank you so much for reaching out! We're working on building out the documentation and providing more context around our projects both in written and video formats. It's really helpful to hear your pain points, so thank you for sharing. I'll update you on this thread when we have added some documentation that makes it a bit more clear on what you can do with Charm and how you can get started with using it
from charm.
Related Issues (20)
- feat: show charm info location
- Self Hosted `kv` commands? HOT 2
- Charm KV .Keys() function returning duplicate keys HOT 3
- Gateway Timeout on Setting a Key HOT 1
- Serving on IPv6 addresses? HOT 1
- ssh [email protected] HOT 2
- Any tests, any tests? HOT 1
- self-hosting: enabling TLS causes the client to always receive '400 Bad Request' HOT 2
- Self-Hosting: CHARM_HOST Env uses port 35353 instead of 443? HOT 4
- Bump keygen version to 0.4.2; 0.3.0 conflicts with version in wish due to removal of NewWithWrite
- Document Charm Cloud HOT 4
- allow output link code to file HOT 1
- kv: inconsistent on arm64 HOT 1
- How to properly backup self-hosted charm?
- square/go-jose deprecated
- auth0/go-jwt-middleware/[email protected] cannot be upgraded
- crypto cannot be upgraded due to dot-import from caarlos0/sshmarshal HOT 2
- Unmaintained Dependency muesli/sasquatch in the crypto package HOT 1
- jwt is invalid after #255 HOT 8
- Charm embeddable chat 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 charm.