Hi there, I am trying to run my app in http mode using curl command however it has failed to connect and am unsure why. I have done everything correctly so far within the nix-shell environment.
Thank you! It’s a pleasure to be part of the community and it’s so wonderful to see it grow with people who really resonate with the vision.
I am new to Rust and programming in general. I do intuitively understand it and am usually a quick learner, so apologies if my mistakes seem very silly.
yup, that first file is the one; thanks. I don’t see anything weird here… @thedavidmeister@maackle@lucksus I don’t know who holds coherence on RPC interface setup, but do you see anything amiss here? Looks like just a plain conductor config from running hc run -i http -p 8888. For brevity, here’s the relevant section (all IDs referenced definitely exist in the rest of the config):
[[interfaces]]
admin = true
id = ‘websocket-interface’
[[interfaces.instances]]
id = ‘test-instance’
[interfaces.driver]
port = 8888
type = ‘http’
By the way:
I admire your courage, taking Rust on as one of your first languages. At the same time, I feel like it’s probably easier for a newcomer than for someone with a few languages under their belt — there are a lot of weird things that break expectations if you’re used to, say, JavaScript or C#.
@akikoogawa7, additionally I would also try simply using localhost or 0.0.0.0 as your address in the curl command rather than 127.0.0.1, just to be sure.