

5e. Playing a halfling ranger (beastmaster) with a wolf mount. It’s pretty cool.


5e. Playing a halfling ranger (beastmaster) with a wolf mount. It’s pretty cool.


Chewing gum is a petroleum product.
500 meters give or take.


Northern California, but I’m not visiting the US again until there has been a revolution.
Or Portal the Australian death metal band?


LSD


I had never heard of the (frankly horrible) band “Train” until recently.


Are you trying to reach a URL on the same host you’re ssh-ing to? That would create some interesting effects.
Especially since it works the second time it could mean that the second time you’re actually on the host and ssh-ing to the host itself and then curling localhost.


Ah, I see. I guess they get different contexts or something? (Edit: I re-read your post and this does not make any sense :))
What if you chain the ssh command and the curl using &&?


Someone else suggested the env vars arent being expanded correctly inside the $(curl …), which could be the culprit … If a straight up URL works that would indicate that something like that is happening.
That said, I just tried setting an env var called URL=“” and curling it, and curl said exit code 2, no URL specified, so something else is going on here.


Exit code 7 means curl couldn’t connect to the host, so I would try just curling a URL you know is valid directly, not setting it as an env var, to see what happens then.


What exit code so you get from curl?
I just type “paru”.