Questions tagged [requests]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
21 views

NGINX Buffer parameters causing issues with Python requests library

'm having problems uploading files through the Python requests library when I activate the parameters below in my NGINX proxy (where the connection goes) proxy_buffering off; proxy_request_buffering ...
0 votes
1 answer
318 views

What are all these requests?

I was checking my server's web server log where I'm installing a wordpress website, and found all these requests, the site is new! Should I be worried? Is my site hacked or something? I don't ...
0 votes
0 answers
225 views

Python library installed and working, but not found in jenkins

I am running a python script that uses the requests and de pymysql module, I had to install it manually from a tar.gz file in the server (because the server doesn't have access to the internet, and ...
1 vote
0 answers
490 views

Multiple CA certs - How to convert them in single file (may be .pem ) and use them?

I am using python http.client for making requests to server. I am using multiple ssl_ca certs and I specify them using the load_verify_locations multiple times. However, in python requets only a ...
0 votes
1 answer
325 views

IIS 8.5 and 10, max value that can be set for IIS Requests/Recycle?

Per DISA we're required to set the recycling option for requests. I can't seem to track down what the max value for this should be or when the counter gets restarted? If app pools are configured to ...
1 vote
2 answers
64 views

Apache "ghost" requests?

I lack the ability to formulate my problem, otherwise I'd probably find the solution. I notice there are quite a number of pointless requests in my access log :~/$ cat /var/log/apache2/access.log | ...
0 votes
0 answers
49 views

Is my server sending malicious requests?

I'm running a VPS with Ubuntu 20.04. Yesterday I received notice from my VPS provider that they got an abuse report pointing to the ip of my server. After some back-and-forth they asked the reporter ...
1 vote
0 answers
42 views

many connections to one of our website

We are hosting multiple websites with Nginx as an SSL terminator. All traffics are proxied through Nginx to backend servers. There are many connections to one of our websites, netstat shows: # ...
0 votes
1 answer
50 views

How to defend against attackers looking for faulty code?

I have a production IIS running on WS2012R2 on AWS. I was looking at the C:\Windows\System32\LogFiles\HTTPERR when I noticed some unusual requests in the logs. You can look at some of what they tried ...
  • 103
0 votes
1 answer
549 views

How do I obtain requests per second and latency per request for a UDP Request

I have an HTTP Api Server that is querying a UDP Server. I used wrk to test the requests per second for the HTTP Api Server and now I want to test the UDP Server requests per second and latency per ...
4 votes
2 answers
3k views

Plain uWSGI error: uwsgi_response_write_body_do() TIMEOUT

This looks like a well-known issue with Nginx+uWSGI timeouts, but my setup is different and I couldn't find information about it. I run a Flask app on uWSGI, on http protocol (not sockets). When I ...
  • 153
0 votes
1 answer
3k views

Server load handling : One single batch request vs multiple requests

I was talking to a developer about different apis for create, update and delete and he was saying that it was better to have a single batch request to server to do operations like create, update and ...
0 votes
1 answer
252 views

A bot with blocked ip still causes exceptions on server

I manage a website which is being "attacked" by a very stupid bot. The bot tries the same requests all the time, it always gets a bad request response because ASP.NET detects "A potentially dangerous ...
0 votes
0 answers
10 views

Server specs for big ChatBot launch? [duplicate]

We're releasing a Messenger Platform ChatBot on a page with approx. 130k fans soon. At the moment we host on an EC2 instance with 2 Cores and 4GB RAM, which runs smoothly with our 30 users atm. Our ...
  • 688
0 votes
1 answer
108 views

Windows Firewall log shows insane amount of ICMP SEND/RECEIVE requests. Normal?

I was checking my Windows Firewall logs after receiving a website notice that my connection was banned for sending too many requests, and noticed the following entries: 2017-05-18 03:39:23 ALLOW ...
4 votes
0 answers
416 views

REQUEST CACHING IN NGINX

I am trying to cache my requests in nginx. I have connected my django server as upstream. Now, I am trying to cache my requests. proxy_cache_path /var/cache/nginx/ keys_zone=one:10m; location / { ...
0 votes
1 answer
7k views

Block POST PUT and DELETE but allow GET from specific referrer

I'm using nginx and I want to block post, put and delete requests when they come from an unknown referrer. Meaning, I have the referrer: ".example.com" and from this referrer I want to allow all GET, ...
3 votes
0 answers
103 views

How many HTTP transactions through a connection in Haproxy

I want to know how many http transactions occur through a specific connection of Haproxy with a client (frontend). If I could associate connection (session) id with the frontend's request I would be ...
  • 195
-1 votes
1 answer
2k views

Connect Timeout for REST client

I have REST client which uses python requests library for REST calls. What are the parameters need to be accounted to set connect timeout ?
  • 139
0 votes
2 answers
18k views

Python Requests image upload HTTP POST

I am having some problem with a POST request that is driving me crazy. I am trying to upload an image using a POST using python requests by replicating the original request First of all, this is the ...
  • 19
2 votes
2 answers
2k views

is there any difference between a request vs a hit?

In metrics such as "requests per second" and "hits per second" for web servers, are the terms "request" and "hit" synonymous? Can you think of a context in which a request is not a hit?
0 votes
0 answers
104 views

Dealing with a large volume of json requests from site - apache maxing out requestWorkers

I am managing a service that is serving JSON files to my users. They all are loading the same cached json file, however there are a lot of users! On an average day I get over 2 million loads on the ...
2 votes
1 answer
4k views

Nginx redirect all request that does not match a file to a php file

I'm trying to get all request to: http://example.com/downloads/* redirect to http://example.com/downloads/index.php except if the requested file exist in /downloads/ ex: http://example.com/downloads ...
  • 123
2 votes
2 answers
137 views

Strange "GET /api/levels/ " and "GET /play/" requests in logs

I've setup new Amazon EC2 instance. In a day or two started to get strange "GET" requests from the "google bot-like" IP's (eg 66.249.76.84, 66.249.74.152) about one in 10 seconds (some examples): 66....
  • 23
1 vote
1 answer
348 views

Setting up proxy to handle subdomain requests

I have setup a proxy for a site which works with the following nginx config: server { listen 80; server_name proxy.example.com; access_log /dev/null; error_log /dev/null; ...
  • 221
2 votes
1 answer
118 views

Strange requests being made to my site

I've recently started hosting my dev site from my laptop and I see these requests being made on my domain. I've no idea what these are. Please help. /avtomaticheskaya-blokirovkaautomatic-key-lock....
  • 123
2 votes
2 answers
3k views

What is a good live request monitor for Apache httpd?

I have used SeeFusion to monitor ColdFusion requests. Is there a similar tool that would allow me to monitor Apache httpd requests in real time? We have a server that was fast and responsive for ...
1 vote
2 answers
660 views

Lots of requests for same URL at new IP address

Just got a new VPS with two IPs. I'm getting a tonne of requests from multiple different client IPs for a single path on one of the IPs, almost one per second. The path is "/lzb/gz.php". Any ideas ...
-3 votes
1 answer
119 views

Optimizing requests that requires several request

I have a request that requires my server to establish like 3 external requests before it returns to the user. This makes this request takes like 0.8s to execute per user. What tips should one follow ...
2 votes
4 answers
97 views

keep a count of each file served

I've inherited a php project from an offshore firm and I'm pretty sure that ~50% of the files are no longer used. I want to weed out the unused files so I was thinking of just tracking the number of ...
1 vote
2 answers
297 views

Strange code in URL request \x18\xbaL\x03@\xea$\x03HZm ... how can I find out what they are up to?

Well someone is requesting some URL's with really strange hex codes. How can I find out what they are up to. The problem is I don't even know what code that is, it's not a hex code. How can I find ...
  • 330
3 votes
1 answer
1k views

how to get list of http request currently getting handled by nginx server?

i am using ab command to hit the http request to my local host . now on server side i want to check how many request currently getting handled by my nginx server. like in case of DB we can check ...
  • 31
0 votes
3 answers
333 views

apache2 http monitoring on Debian Lenny

Is it possible to know if a php file on my server is being accessed by a user? Is there a command I can use through ssh that will list every IP addresses and which page they're requesting? My ...
  • 123
-1 votes
1 answer
980 views

how many people can access the web server at once? [duplicate]

Possible Duplicate: How do you do Load Testing and Capacity Planning for Web Sites That's a simple question. I am curious to how many people can access the web server at once on Linux? My ...
  • 161
0 votes
2 answers
547 views

How to process requests twice in Apache

In order to perform realistic tests for a new backend server, I'd like to process all Apache requests twice. So simply handle all the live requests with the old server, as it's done right now, but ...
  • 1,369
14 votes
4 answers
29k views

Apache: Limit the Number of Requests/Traffic per IP?

I would like to only allow one IP to use up to, say 1GB, of traffic per day, and if that limit is exceeded, all requests from that IP are then dropped until the next day. However, a more simple ...
user avatar
0 votes
1 answer
216 views

Source of Unexplained Requests in Server Logs

I am baffled by some entries in my server logs, specifically the web-server logs. Other than normal, expected traffic, I have noticed three types of request errors (eg 404, etc.): Broken links, ie ...
  • 908