Is there a limit to POST over HTTPS for IIS 7? - php

I am building a web service in PHP that processes data received from a Windows application through a SOAP request. The Windows application is a bit of a black box but it generates a long stream of messages and then POSTS them as a single SOAP request.
Using HTTP this works and requests sized in multiple Mb's work fine.
Using HTTPS only small requests work larger requests fail with a Internal Server Error 500 and never make it to the PHP web service.
The PHP application itself runs on a W2008 server, under IIS7
Is there a setting that influences this or is there a known limit to HTTPS requests?

Related

JWT not working with Laravel 5.6 behind load balancer. Returning Unauthenicated

Setup:
We have two Laravel projects. One of them is acting as API client(Laravel 5.4) and another is the API server(Laravel 5.6). Both of them are hosted in AWS behind load balancer(2 instances, so 2 for client server, 2 for api server).
We are using https://github.com/tymondesigns/jwt-auth library in API server to authenticated the client requests through JWT token. Using Redis as cache driver.
What works?
When we use 1 instance in the API server load balancer, it works fine. In local environment of every developer of the team, it works fine.
Problem:
Once we increase the API server to 2 instances in AWS load balancer, it doesn't work anymore. The API server randomly returns Unauthenticated with 401 status. It works sometime, but it send this Unauthenticated response randomly. No idea why is it happening. We tried by increasing instances in our test server. It acts same, so it's seems to be exist with multiple server in load balancer. But why is it so? How can we solve this problem? We are not being able to reproduce this issue in local machine.

Monitor http traffic going from localhost wordpress on Fiddler

I want to monitor all HTTP requests going to the internet from a locally deployed Wordpress instance (on XAMPP server) on Fiddler. I guess I may need to configure XAMPP (or php specifically) to route all the requests going from it to the internet via Fiddler proxy but I am not sure how to do that. Has someone done this before?
Flow:
1. Wordpress (on a local XAMPP instance) makes an ajax call to the internet via a plugin.
2. I want to check the HTTP request and response for debugging.
3. I configured Fiddler to monitor localhost traffic but that does not show me requests sent by XAMPP.
4. Stuck!

Attach Eclipse php debugger to Apache server

I have built an app that sends requests to a server.
I also built a server to response those requests. I have a PHP server locally (LAMP).
Now, for debug purposes , I want to debug the requests that my app is sending to the server. But I don't want to do that separately (printing the app's request and than start debug the server with that request),
I want eclipse (PDT installed and xdebug) to stop at the first line of the PHP script running by the server WHEN the app is sending a request to the server.
How can I do that ?

Error message if IIS 5.1 is stopped?

Is there a way to show any error message if IIS(5.1) is stopped or not working? We have got few websites on server 2000 and we want to show some message to end user if IIS doesn't respond due to any reasons.
I have tested this scenario on the test server, i just stopped the IIS and then try to access one of the website to see if i get any error message from IIS but i didn't get any IIS error message (IE: Internet Explorer cannot display the webpage)
Since IIS is the web server that receives HTTP requests and responds to them, you'd need to run another web server that does the same thing instead of IIS. If you're running a web server that can respond to HTTP requests with an error message though, you may as well use it to run your website. In short, unless you have another system sitting in front of your actual web server that can detect when the web server is down (say, a load balancer)... it's kind of an unrealistic proposal.

Capturing outgoing traffic from localhost MAMP using Wireshark

I'm trying to capture outgoing SOAP (over HTTP) requests generated by one of my PHP scripts (being run on my localhost). I'm running MAMP and using the PHP NuSOAP library for sending the request, I filter to HTTP traffic in Wireshark but nothing shows up when I run the script (which is sending a SOAP request to an external server via HTTP). Any ideas?
Thanks

Categories