Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with Tramp #53

Open
garython opened this issue Jul 11, 2021 · 0 comments
Open

Does not work with Tramp #53

garython opened this issue Jul 11, 2021 · 0 comments

Comments

@garython
Copy link

garython commented Jul 11, 2021

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 ?

medranocalvo added a commit to medranocalvo/ob-http that referenced this issue Nov 3, 2021
ag91 pushed a commit to ag91/ob-http that referenced this issue Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant