Skip to content

Does not work with Tramp #53

@garython

Description

@garython

I am trying to execute through tramp with multiple hops or a remote server but it does not work.

This does not work

#+BEGIN_SRC http :pretty
POST https://myserver.com/process
'content-type: application/json'

{
"input" : "test"
}
#+END_SRC

Error is :
apply: Cannot redirect stderr: No such file or directory, /ssh:myserver.com:/tmp/curl-error1TEJZC

But executing curl through sh does work through tramp.
I guess the curl is executed on the remote host.
#+BEGIN_SRC sh
curl -X POST https://myserver.com/process -d '{"input" : "test"}'
#+END_SRC

Am I missing something ? Are there any config which needs to be setup to use ob-http with tramp ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions