Questions tagged [http]
HTTP stands for Hyper Text Transfer Protocol and is the protocol used to transfer information around the World Wide Web.
2,219
questions
0
votes
0
answers
37
views
How to get actual latency when downloading with curl?
I have an http software that let people be logged and download data according to sent bytes. It's an infinite download until connection stopped. I want to know the time for each download.
The ...
0
votes
1
answer
47
views
Can't get A record redirect to work properly
Okay.. this should be a pretty simple fix but nothing is working, maybe I'm missing something:
A record is set for my blog, sample site here: http://43.130.149.65/?rid=yLmTQxP Cloudflare set for an A ...
0
votes
0
answers
20
views
Some web pages cannot be opened due to timeout on MS Windows
This is a very strange issue related to one (and only) particular PC in our network running Windows 10.
These two web pages cannot be opened on this PC: https://www.chces-soutezit.cz and https://...
1
vote
1
answer
78
views
is "GET /" a valid HTTP request?
I noticed that sending GET / (+CRLF) to some webservers (e.g. from a well-known search provider) results in a HTTP/1.0 200 OK message. Other webserver respond with a HTTP/1.0 400 error.
To my ...
0
votes
0
answers
61
views
javascript and css files are encoded in nginx
I have a reverse proxy that returns only the javascript and css in some encoding. I do not know if it is encoded or just not decompressed.
This is wat the server returns: ���^style.css��;ks�:��;S��d�...
0
votes
1
answer
42
views
PuTTY ssh tunnel (proxy) not supporting http(s) connections
I've setup PuTTY for using it as a proxy. here's a screenshot of my Tunnel panel for specifying a port to connect to
and then in Windows settings, typing in the address for proxy
and it only works ...
1
vote
1
answer
36
views
Redirecting specific subdomain with NGINX to point to a different website while using SSL
I have the following NGINX configuration:
# HTTP Redirect
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
# ...
0
votes
0
answers
171
views
Board cannot download a specific file from Apache HTTP server
In my company, I have to program boards that run on embedded Linux.
We have a test sequence that opens an HTTP Apache server on port 80. It hosts 7 files that the board downloads.
The board uses wget ...
0
votes
1
answer
65
views
Serve file using nginx web server
Hi I have static file (song.mp3 under /song directory in the VM) that I would like to serve under path /song using nginx web server. If anybody visits the path in browser, the file should start ...
0
votes
0
answers
24
views
Serving Static files from different folders
How can I publish multiple folders on a server to different locations or disks on a server?
Example...
mydomain.com/files
I want /files to be able to see the contents of folders in c:/myvideos or f:/...
0
votes
0
answers
40
views
Nginx Downloads Slow From Browser - CURL/WGET Are Fine
I'm trying to serve large files (50-800mb) from a VPS using Nginx to host map files for a game server. Oddly, when downloading map files in game or in a browser I'm hitting only ~15mbps. When ...
1
vote
2
answers
101
views
404, 50x error handling HTML pages in nginx is not detected
nginx version: nginx/1.18.0
This is my 'nginx' conf default 'vhost':
cat /etc/nginx/sites-enabled/000-default
server {
listen 80;
listen [::]:80;
server_name example.org;
return 301 ...
1
vote
1
answer
194
views
How HTTP 1.1 and HTTP 2.0 works in Spring Boot?
What are the differences in flow changes for HTTP 1.1 and HTTP 2.0 for Spring Boot applications ?
0
votes
1
answer
147
views
Redirect nginx port 80 to http2 443 fails [duplicate]
Searched tons of links on the web, I don't get why this conf doesn't redirect properly from http://example.com to https://example.com
My nginx conf:
# HTTPS
server {
listen 443 ssl http2;
...
-2
votes
1
answer
81
views
How browsers deal with ports? [closed]
Suppose I've a website created which is hosted, and running on port 5000. Now you are on a web browser (let's say chrome) visits the webpage.
so does chrome sends a request from your PC to my server ...
0
votes
0
answers
29
views
Linode instance not responding to SSH/HTTP except when through GitHub Action
I have a Linode instance configured to run Django with Apache, and it has been working fine for the last 6 months. The instance runs on Ubuntu on shared CPU, with the kernal being "Latest 64 bit (...
0
votes
2
answers
619
views
HTTP and websocket on the same port and domain behind reverse proxy
I wanted to try Node-Red and have installed it on my Ubuntu server. This server runs an apache reverse proxy but I can't get it to work right. If I create a virtualhost for the HTTP connection I can ...
1
vote
0
answers
29
views
YARN + how to debug wget
we are testing with wget VIA port 8088 the connection from ResourceManager02 to ResourceManager01
both Resource Managers are part of YARN service , and each resource manager service installed on RHEL ...
0
votes
0
answers
152
views
Apache on OSX: "not running" and "already in use" for all processes?
OS: macOS Mojave 10.14.6
HTTP Server: Apache 2.4.55
When trying to restart apache server, I get "Address already in use..." message. Hm, so there must be a process that listens to that port, ...
0
votes
0
answers
20
views
What is OXGW server?
I am currently exploring the adaptation of the HTTP/3 protocol on public servers. I am using the HTTP Archive project as a source of URLs to test. I have noticed that a significant portion of the ...
-1
votes
1
answer
99
views
After building a WSUS server in a windows 2016 server I get failed to synchronize error followed by 'System.Net.WebException: The underlying conne...'
So I started with the basic procedure of adding the Windows Sever Update Services (WSUS) roles.
After doing so I created a self-signed certificate and add the domain names where required.
Image of ...
0
votes
1
answer
290
views
map nginx $request_uri to port
I want to create a map between nginx $request_uri and $port
I have many location and each location works with its own port.
for example I have:
location /path1 {
proxy_pass 127.0.0.1:10000
}
...
-1
votes
1
answer
63
views
Solutions to relay (not redirect) incoming HTTP requests to existing HTTPS server? [duplicate]
Looking for a Linux HTTP-listening-app which would relay incoming requests as-is to a remote HTTPS server and relay the (decrypred) responses back.
Basically we have a blackbox https VM for which the ...
0
votes
0
answers
13
views
Is it possible to get the response time parameters of individual request in Squid proxy (ubuntu 20.04)?
My application uses squid proxy (squid3) and since the requests are sent through a http tunnel to the proxy am unable to fetch some response time parameters like DNS lookup time and TCP handshake time....
0
votes
0
answers
758
views
What's the difference between Nginx 'keepalive_time' and 'keepalive_timeout'?
In official Nginx docs a new directive added since v1.19.10 named keepalive_time 1h:
Nginx keepalive_time Doc
Limits the maximum time during which requests can be processed through one keep-alive ...
0
votes
1
answer
121
views
Can't make http requests upon an OpenVPN connection to a Synology NAS
I have a working OpenVPN Server on a Synology NAS. All works fine if I try to connect with Tunnelblick. However, if I use the OpenVPN client on a mobile device, I can't perform any http request. My ...
0
votes
0
answers
63
views
Calling API from Https website to AWS
I have a website with https consider https://example.com which wants to call an API from an AWS EC2 instance consider http://ec2.##.##.##/get-users. I am getting Connection Refused when I do so but in ...
0
votes
1
answer
140
views
Can Load balancers do balancing of multiple requests received on the same TCP connection?
(Below is a hypothetical scenario and this question came to my mind when I found out about complexities of gRPC load balancing and how its not efficient due to long lived TCP connection)
Imagine there ...
0
votes
1
answer
62
views
Error 503 Service temporarily unavailable with home internet connection but works with mobile data
I'm running some apps under docker on Oracle cloud free-tier ARM64 server. I'm using an nginx reverse proxy and wildcard subdomains to access the apps.
When I try to access the app at port.meracloud....
0
votes
0
answers
180
views
Safari can't open my http link to my website
So I have a basic Nginx configuration that redirects any request to my site to www and HTTPS:
server {
listen 80;
listen [::]:80;
server_name www.goodjobs.ro goodjobs.ro;
return 301 ...
0
votes
0
answers
89
views
Drawbacks of keeping outbound connections open with long timeout values
Keeping connections open obviously consumes resources even though they're just TCP connections sitting there, waiting response.
It is also obvious that they don't consume as much compared to, say, a ...
0
votes
0
answers
36
views
Add ssh to nginx configuration file
Is there a possibility to use the nginx utility tool for redirecting requests for the services of my Docker-based application to the HTTP port 80? The implementation contains three services, one of ...
0
votes
2
answers
64
views
ProxyPass not working alongside ProxyPassMatch
So at the moment I have a virtual host configured on my Oracle HTTP Server instance with a ProxyPass as such:
ProxyPass ^/test/home/ https://example.com/
ProxyPassMatch ^/test/home/(.*)$ https://...
0
votes
0
answers
79
views
fatal: repository not found (git + http + nginx + fastcgi)
I am trying to serve git repositories using Nginx. I have the following configuration for Nginx server:
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
...
1
vote
0
answers
181
views
Find process that makes outbound HTTP calls, trying auditd with syslog-ng
Some of application (it's unknown) makes sporadic nonregular rare short outbound HTTP(S) requests to a known host/port/url (this is a WAF honeypot, host/url/port is known) using HTTPS protocol.
...
0
votes
0
answers
233
views
nginx regular expression reverse proxy location
I try to create a location based reverse proxy.
My config does not work as expected.
It should pass every request that is made to /api & /auth to the backend, and everything else to the frontend ...
0
votes
0
answers
587
views
Windows 10/11 HTTP Setup Trace Task wrong url added by netsh http add urlacl
I'm trying to understand why the 8888 port goeas from open to close by itself....
I suppose to open the port with this commmand run as administrator:
netsh http add urlacl url=http://127.0.0.1:8888/ ...
0
votes
0
answers
207
views
Force nginx to close the connection before receiving the whole body
We have a upload system that is working behind a nginx reverse proxy, the system checks the authentication before starting to stream the request body from the client (passing through nginx) to the ...
0
votes
0
answers
69
views
Combination of HTTP authentication and Shibboleth authentication on the same Apache 2.4 website
I'd like to have 2 types of authentication on my web app (PHP 7.4 on Apache 2.4):
for the URLs /api/ and its children /api/xxxx (not actual directory, just url) I'd like to have HTTP authentication
...
1
vote
0
answers
363
views
Web application - Integrated windows authentication issues with layer 4 load balancer
Evening folks
We currently have an internally developed web application that is hosted on IIS using Windows Authentication.
Our users use Edge in IEMode to connect to our web app - currently they don’...
0
votes
1
answer
106
views
Exclude specific URL from HTTP to HTTPS redirect in apache2 virtual host
I'm looking for an easy configuration to exclude a specific URL(pattern) from my apache2 HTTP to HTTPS redirect and failed so far. Background is an API with typical authorization mechanics which ...
0
votes
0
answers
311
views
HTTP/1.1 500 ERROR in Apache Tomcat 9.0.31
We're really looking forward to your advice on this topic.
This issue we face in an application, using Apache Tomcat release 9.0.31.
The HTTP/1.1 500 error message, we never saw it with Apache Tomcat ...
0
votes
1
answer
126
views
Are 302 redirects visible to the final destination?
Consider the following scenario:
Both https://foo and https://bar redirects the user's web browser to https://destination using the Location header with HTTP response code 302
My question is, is it ...
1
vote
0
answers
101
views
Set Apache to Block HTTPS Requests to a Certain Subdomain
I have these domains
domain.com
www.domain.com
srv.domain.com
pointing to the same server IP, but want my website to be accessible only via domain.com and www.domain.com which have SSL certificates. ...
0
votes
1
answer
59
views
What is the purpose of /server.txt
One of my clients suddenly started seeing ~40k requests a day for "/server.txt" to their webserver that result in an HTTP 404. This is expected behavior as the file doesn't exist and isn't ...
0
votes
0
answers
145
views
HTTP 409 issue on Cloudflare
just this morning I started seeing the following error on one of my domain names.
< HTTP/1.1 409 Conflict
< Date: Tue, 25 Oct 2022 20:43:37 GMT
< Content-Type: text/plain; charset=UTF-8
< ...
0
votes
1
answer
384
views
How to wake my Ubuntu server on HTTP requests from LAN?
I have an Ubuntu 22.04.1 web server running Apache2 Server hosting 2 sites [Django website & other File hosting Site].
What I'm trying to achieve: Set the server to sleep all the time it is not in ...
0
votes
1
answer
166
views
Why does IIS timeout http requests on phones, but accepts https?
I followed this solution on how to redirect http to https. It works on pc but not on phones for some reason (and im sure neither on iPad or tablets). You can test the website here. I think IIS is ...
2
votes
1
answer
82
views
How can Apache log whether requests are using HTTP2 or not, in a manner that can't be easily spoofed by the client?
According to this, including %H in your LogFormat is supposed to log the HTTP protocol version, however, it appears to be unreliable.
As an example, one can telnet to port 80 of the web server and ...
1
vote
1
answer
280
views
I need to redirect http to https connection with nginx on rest service and need to test it on postman or soapui
here is my nginx.conf file:
What should i change to make it work and how to get certificate
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;
# Load dynamic ...