Questions tagged [http]
HTTP stands for Hyper Text Transfer Protocol and is the protocol used to transfer information around the World Wide Web.
2,267 questions
0
votes
0
answers
27
views
Forwarding port 80 to any other port on other machine/IP
Long story short - I have stubborn ISP that blocks ports 80 and 443 on NAT port forwarding. I have private public IP and my server is exposed to the Internet - for example I can setup Minecraft server ...
0
votes
2
answers
77
views
Redirect http domain to another https domain without warning?
My main domain is mydomain.org, with a SSL certificate (https). And I have other domains (.com, .net, sub domains of the .org) that point to the main one (.org) (redirect), but they don't have SSL ...
0
votes
0
answers
13
views
Support two task tracker links in Gitea
Recently our company had changed task tracker from Youtrack to Openproject. Gitea history contains large number of commits with links to Youtrack tasks via codes like "TSK-1234 <commit message&...
0
votes
1
answer
36
views
Best Practices for Caching a Paginated Blog Search Results Page with Varnish
How should a blog search results page be cached, considering it returns a list of 10 items with pagination (GET ?query=<search_term>&page=<number>) to navigate to the next page? What ...
1
vote
0
answers
32
views
Is it terribly bad to limit HTTP connection reuse or is .NET (Core) HttpClient broken from the start?
In the transition from .NET Framework to .NET (formerly .NET Core), Microsoft has introduced a new HTTP client, called System.Net.Http.HttpClient and System.Net.HttpWebRequest is now marked as ...
0
votes
1
answer
47
views
Apache2 stops serving HTTP pages at random times during the day, but not HTTPS
I've been noticing my websites are going down pretty frequently at times for the last few weeks, only sometimes but after a while they would be back up and running.
Until now, I attributed this ...
0
votes
1
answer
228
views
How does Nginx behind NAT know the original IP address of the client?
I have a virtualized router with public IP address assigned to it directly in proxmox.
When i send a request to port 443 from a different network(from a browser) the router correctly portforwards it ...
0
votes
0
answers
38
views
REST API POST Only Fails When the Client Object is Reused & Only on Production Server in the Clients Network
For over a month, we had been creating a new HTTP client object for every POST request without encountering any issues. This, however, led to many open TCP connections, and the documentation suggests ...
0
votes
4
answers
141
views
Can a server turn the traffic for multiple services from HTTP to HTTPS?
Ubuntu server with multiple services running on different ports other than 80 or 443.
When the server receives traffic on any of these services, how to make the traffic HTTPS instead of HTTP?
How can ...
0
votes
0
answers
32
views
How to forward more that one port traffic from HTTP to HTTPS using nginx
I have a software which has multiple services, the UI of this software is running on port 3000 and the I have another service running on port 7547. I want a solution that redirects the incoming ...
0
votes
1
answer
557
views
How to create proxies with Xray Core (ISP/Residential)
Hello I am quite new to this area and I'm wondering If someone can guide me on building a proxy service. I currently spend hundreds renting out proxies in the form:
IP Address;Port Number; Login ID;...
0
votes
0
answers
101
views
Azure silently drops http response after 5 minutes
I have a public test-web server that returns http response after 10 minutes (Pretending to do some work for 10 minutes). Then I have a simple Powershell script that sends a GET message to the web ...
0
votes
1
answer
61
views
How to writting /etc/hosts file to assign domain with fixed ip for multiple network interface?
I have many tasks with need to post/get http requests with a host, fstream.binance.com.
This url mapped to many phyical server, each has it own ip, for example.
nslookup fstream.binance.com
Server: ...
0
votes
1
answer
32
views
How can I insure that http requests to server get routed to https. Troubleshooting domain and server
I have a domain myfunkyserver.com (not the real name). The domain is supposed to send the connection to a VPS located in godaddy's data centers. The server is running nginx on alma linux, and has ...
0
votes
0
answers
64
views
Reverse proxy to container is looking for static files outside of the container
I have a website running through a docker container, and I've created a VirtualHost in the host's that is doing a reverse proxy to it, it looks something like this:
<VirtualHost *:80>
...
0
votes
0
answers
46
views
HTTP server is not responding From Outside although firewall is inactive
I have a VPS which has Ubuntu 20.04. When I request the server from inside(when I have active shell) using http -vv GET http://216.10.242.221 it gives proper response. But when I request from outside (...
0
votes
1
answer
106
views
configure SSL for webserver on last stage of the network
I made a simple network with a webserver on the 8080 port (http-only).
As the diagram, I need to use http only on this webserver and configure SSL on the next stage, which is a Linux pc.
Please let me ...
-1
votes
1
answer
51
views
The TCP connection is always reset while transmitting a 6M file
I have a web server, which allows user to upload or download files through HTTP requests.
Internet Internet loopback interface LAN
...
0
votes
0
answers
80
views
Java Jersey Client to Server Multipart POST Request Results in HTTP 415 Unsupported Media Type
I'm working with two Java containers where the first container (Client) sends a list of images to a service exposed by the second container (Server) using a multipart POST request. However, the server ...
1
vote
2
answers
58
views
Apache optionally enable ssl if cert file present
I have a containerized apache setup that needs to optionally enable SSL if the cert file was mapped in. I have this working for the case of when the cert files are mapped in, but struggling with the ...
0
votes
0
answers
101
views
Invalid HTTP_HOST even after setting nginx default_server block
I have a Django server that has entries like ALLOWED_HOSTS = ['example.domain.com'].
In my nginx config, under sites-available, I have a bunch of sites listed, all listening on different servers like ...
0
votes
1
answer
76
views
Nginx config to display files using file server
Nginx config to display files using file server
I want to display two mount points using nginx and they should be password protected.
What will be the config.
/data and /reserv - i need to display on ...
0
votes
0
answers
998
views
nginx error - (2: No such file or directory) when making req through frontend
In an ubuntu server I have two versions of a node.js + express & reactjs app , one for test and another for prod. Their path is something like (sorry for the bad representation. Tell me if you ...
0
votes
0
answers
123
views
Does a redirection to a 'mailto:' URL as response to an HTTP GET request qualify as a 303/seeother HTTP status?
The title pretty much says it all, but for those wanting a bit more context: in our specific use case, the back-end API must reply to some HTTP GET requests with a redirection to an email address (...
0
votes
1
answer
694
views
Do I need to do anything to manage many outgoing connections to an outside service from a kubernetes cluster?
In my kubernetes cluster I'm running many small pods per node (about 30) and each pod creates a few TCP connections to a single service on the internet to send HTTP requests to. So each node on the ...
0
votes
0
answers
274
views
nginx set up reverse proxy from subfolder to a port
I'm trying to set up a Nginx reverse proxy and I'm slowly losing my mind trying to figure it out.
I have my Nginx server listening at 80, and it performs great. I have a page with a form where I want ...
0
votes
0
answers
190
views
How to solve 400 bad request returned from XAMPP server
I am sending data from 2 devices. Data format from both device is similar. I have a XAMPP server running on Windows Server 2019.
Device One Server Log:
> 202.134.10.136 - - [28/Mar/2024:12:19:57 +...
0
votes
1
answer
8k
views
Browser displays black "xxx took too long to respond" for 3 seconds then displays the expected page
There are two apps A and B.
A is used to authenticate users and passes a token to B, B adds a cookie.
Something strange happens whenever the cookie expires or after a long period of time or hard ...
2
votes
0
answers
56
views
Apache deadlock when writing in file
Apache v2.4.56 on Solaris, with libapr 1.6.2. When starting, it spawns 5 httpd processes.
Occasionally the server hangs and does not accept requests. It's even impossible to connect to port 80.
I did ...
0
votes
0
answers
21
views
When does HTTP server send response header Connection: <number> or TE?
I am confusing with a proprietary CWMP ACS sending me these values in the header. What's main purposes of that?
0
votes
0
answers
139
views
OHS and ProxyPass and RewriteRule / RedirectMatch
i've setted up this virtualhost,
<VirtualHost *:443>
ServerName test.domain.org
DocumentRoot "/u02/config/www/tst-12c"
RewriteEngine on
RewriteCond %{...
1
vote
1
answer
206
views
Fetching Netcat Response
Netcat is being used to create a listener on port :1000
while true; do echo -e "HTTP/1.1 200 OK\n\n $(date)" | nc -l -p 1000 -q 1; done;
Navigating to X.X.X.X:1000 in a browser, ...
0
votes
0
answers
56
views
Confirm these 301 redirects are correctly setup in my htaccess file
i have in my root directory my english page and in subdirectory folder arabic page but the rule but as per https://htaccess.madewithlove.com/ :
RewriteCond %{HTTP_HOST} ^arianamedicaretour\.com$ [NC]
...
0
votes
0
answers
66
views
Can not find path:'/root/.acme.sh/*.poemhub.top_ecc'
I renew the ssl certificate using acme.sh and store in folder like this:
[Sun Mar 3 11:36:44 CST 2024] Your cert is in: /root/.acme.sh/*.poemhub.top/*.poemhub.top.cer
[Sun Mar 3 11:36:44 CST 2024] ...
0
votes
0
answers
68
views
Website redirects are not working when using Pihole on docker instead of VM
I’m currently in the middle of moving some infrastructure to containers from a ton of VM’s running simple things.
I’m trying to move our pihole DNS server to a container. All was working well, until I ...
-1
votes
1
answer
56
views
What are cons of websockets? [closed]
I mean why at first place polling and server events exist if websocket can not only solve the problems they are solving but also allow additional functionalities (like bidirectional nature). I guess ...
0
votes
1
answer
490
views
ETag-based content revalidation
My CMS generates pretty complex pages and thus takes a little while to do so (about 2 seconds), which is well above my time budget to serve pages to the client.
However it's very cheap for me to know ...
0
votes
0
answers
192
views
How to replace response code sent to client when using Apache httpd to reverse proxy
I have a database that accepts HTTP POST requests with JSON payloads and correctly returns an HTTP 201 Created status response and some JSON content.
Garmin has a service that will POST JSON to a ...
0
votes
0
answers
214
views
NGINX listing is correctly configured to accept HTTP traffic, but reciving 'The plain HTTP request was sent to HTTPS port' 400 error
We have some IIS sites hosted locally on some servers which we are upgrading. These sites need to be accessed by both HTTP and HTTPS, both on the new and old servers. We have assigned unique port ...
0
votes
0
answers
185
views
HTTP Status 400-Bad Request Glassfish "The request sent by the client was syntactically incorrect"
error message on android application
After reading these QNAs:
https://stackoverflow.com/questions/12990717/spring-mvc-the-request-sent-by-the-client-was-syntactically-incorrect
https://stackoverflow....
0
votes
0
answers
208
views
HAPROXY http response 200 but response data missing
I have been working on troubleshooting mobile application issue, each and every request from mobile application will hit to domain lets say https://example.com with request payload in post body, this ...
0
votes
0
answers
299
views
Connection refused for http requests intermittently on multiple certain networks but not others, OPNSense Firewall, maximum confusion
I have been using an OPNSense firewall at my business for about a year now and its worked great. We use it to host some websites, an email server, and wireguard for remote connections. All on a ...
0
votes
0
answers
71
views
SUBdomain redirection not working for https (apache)
I have a problem with redirecting the address: aa.bb.cc to bb.cc/aa
DNS is under the control of OVH. Redirection works for http calls and redirects on a page that is https.
However, if he calls https:/...
0
votes
0
answers
1k
views
How to SSL Passthrough on HAProxy while routing based on full URL?
I'm new to HAProxy admin so it may be a stupid question. So I wanted to do SSL pass though on our HAProxy load balancer. The diagram look like this:
client -> HAProxy -> server
where, all ...
4
votes
2
answers
519
views
Verification: can an ISP limit regional access to a website?
As I lined out here on serverfault my web-hosters support claims the following:
because they can access my subdomain from the US
while from Germany it resolves to a 403 error
it must me my Internet ...
0
votes
0
answers
1k
views
GCP load balancer can't connect to instance group: unhealthy upstream error
My Goal
I want to connect my domain (dashboards.example.com) to my Google VM instance on port 3000 to showcase Metabase. I do so through a Google DNS and load balancer.
My problem
While trying to do ...
0
votes
0
answers
997
views
Firewalld: restrict ssh access to specific IP and allow that IP to access services in the interface zone
The target setup is the following: I want to restrict ssh access to the server to a specific IP, and allow the http service to all. Now, to start from "scratch" I defined a new zone which I ...
1
vote
1
answer
493
views
Asycio/hypercorn/SSL error, all unhandled, in a Quart based restapi
I'm writing a restapi in quart, served by Hypercorn, using a TLS certificate made by BenMorel's scripts. My single python file's structure is something like this:
import asyncio
from quart import ...
-2
votes
1
answer
409
views
How to change domains network route to custom IP when curl?
On Linux I do curl to api.binance.com website and it gives me very long ms latency 0.177s, although the server is located just near binance servers.
# curl -o /dev/null -s -w 'Total: %{time_total}s\n' ...
0
votes
0
answers
138
views
How to route requests with the same query parameter to the same backend servers?
I have three Nginx reverse proxy servers with ModSecurity installed acting as WAF servers which route requests to my Kubernetes Cluster ingress-nginx, Istio service mesh is installed on the Kubernetes ...