Questions tagged [requests]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
44 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 ...
0
votes
0answers
18 views

Could the length of my PATCH request be the reason for this unreliability?

In my application. I currently have a REST API method that basically does a patch request. The API request basically updates a few fields in the db.Since its updating an image as well. The length of ...
0
votes
1answer
143 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 ...
2
votes
1answer
1k 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 ...
0
votes
1answer
986 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
1answer
184 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
0answers
8 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 ...
0
votes
1answer
75 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
0answers
335 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
1answer
4k 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
0answers
83 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 ...
-1
votes
1answer
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 ?
-1
votes
2answers
9k 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 ...
0
votes
2answers
1k 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
0answers
57 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 ...
1
vote
1answer
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 ...
2
votes
2answers
91 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....
1
vote
1answer
336 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; ...
2
votes
1answer
114 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....
2
votes
2answers
2k 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
2answers
167 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
1answer
116 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
4answers
93 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
2answers
280 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 ...
3
votes
1answer
879 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 ...
0
votes
3answers
324 views

apache2 http monitoring on Debian Lenny

I am pretty new to the whole linux web servers so please bare with me. 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 ...
-1
votes
1answer
826 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 ...
0
votes
2answers
463 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 ...
10
votes
4answers
18k 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 ...
0
votes
1answer
183 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 ...