Questions tagged [http]
All about programs and services that use the Hypertext Transfer Protocol.
320 questions
1 vote
1 answer
256 views
curl replacement for (continuous) form-upload of piped (audio) data
For the transcription of audio recordings, I use the following command: fish -c 'echo $fish_pid > ~/.kill_pid;exec arecord -f cd' | \ curl --url https://api.openai.com/v1/audio/transcriptions \ ...
0 votes
1 answer
68 views
httpie: how to --form POST a file read from a pipe?
cat some_file | http --form POST $url file@- fails with error file@-': [Errno 2] No such file or directory: '-' How am I supposed to specify reading file contents from a pipe with httpie? Docs at ...
0 votes
0 answers
225 views
Grafana on Debian 11 system: curl http://localhost:3000 --> connection refused
I have a really hard time with my Grafana on a Debian 11 system. The server seems to be running fine in principle, but I cannot reach it. This happened after I did apt-get upgrade and update on the ...
0 votes
2 answers
143 views
Mount single remote file over HTTP for local playback
Using Debian 12 VM. Is there any way to mount in the filesystem, a singular remote file (typically media, e.g. mkv) accessed via HTTP/S path? I've tried various solutions: rclone - won't mount a ...
0 votes
1 answer
319 views
Bash HTTP image receiver server curl 55 broken pipe error
I'm new to writing bash scripts and mostly using chatgpt to get templates right now. I am trying to create a simple netcat based http server which receives and stores .png files. I have a second ...
1 vote
0 answers
164 views
http/https monitoring from terminal with top-like interface
I'm looking for a network monitor in a top-like interface, but I would like to be able to inspect all requests / responses, not just the IP addresses that are being connected to. I've found several ...
0 votes
1 answer
60 views
Use wget to retrieve Supplemental Data from Science dot org
I'm building a pipeline in Snakemake to analyse some data. One of the data files I'm using is provided as supplemental data as part of this publication. The paper is behind a paywall, but I've ...
1 vote
0 answers
122 views
ERR_HTTP2_COMPRESSION_ERROR while downloading a file
I am using libwebsockets C++ library for my http server. I can download a file using API with postman Response Headers content-type: application/zip content-length: 107627 cache-control: no-store ...
0 votes
0 answers
285 views
How to diagnose why I can't access some URLs but not others from a Linux machine
I'm running openSUSE (Tumbleweed), which has worked fine for ages. After running sudo zypper DUP a few weeks ago (and since) suddenly there's a network issue with only some URLs. The ones I can't ...
-1 votes
1 answer
211 views
http header Content-Disposition missing in response for file serving in libwebsockets api
I am using libwebsockets library for https server implementation. Here is the code to serve a file via HTTPS, But I receive HTTPS response without header variable Content-Disposition:attachment; ...
1 vote
1 answer
145 views
Why is my web server serving HTTPS content on port 80?
Apache webserver on Rocky Linux 9, with SSL certs obtained from LetsEncrypt. This is the config of a specific virtual host "myvhost", but the problem arises for all vhosts on my server: /etc/...
0 votes
1 answer
2k views
Simple systemd socket activation from HTTP request
I want to use systemd socket activation to start a service whenever an HTTP request is received on the listening socket. The incoming message is not important and can be discarded by systemd or the ...
0 votes
1 answer
169 views
Bot crawling getting 301/redirects instead of 404 so it's hiding from fail2ban. How is it getting 301 intead of 404?
I have fail2ban setup and it's working great for most scanning. It triggers off any 4xx in the nginx error log. However, note the following bot scan. Somehow THIS bot is triggering my server to return ...
0 votes
2 answers
158 views
ProxyPass return 404, but one name OK
Good day to all. I'll give you an example, I tried it There are 2 entries for BalanceMember in /etc/hosts. Of course, don’t look at these virtual machines, it’s a black box. All requests return to 404 ...
0 votes
0 answers
179 views
ufw rule supposed to block traffic but iptables allows it
As a test I wanted to temporarily block access to my website. So, I deleted http/https rules using ufw delete command. ufw is set to default deny incoming. The only remaining rule is the one allowing ...