file has changed while sending response to a client - windows

I'm using W10 with Docker Desktop.
I have a Docker project with site running on localhost.
The site runs.
Problem comes up when I send a GET request (from browser or Postman) for a project file (.css file or .jpg for example) with size bigger than a certain threshold, size very close to 64KB being the threshold.
When I have a file of threshold size, GET returns the contents of file with no problem, but when I add just one character, I get
Empty reply from server
The docker logs error is:
2022/03/17 19:48:19 [error] 45#52 *292 file "/var/www/public/document_root/file.css" has changed while sending response to a client
I believe the problem is Windows specific, because on Mac this problem does not occure.
I've tried increasing upload_max_filesize in php.ini of Docker and my local php.ini.
I've also tried increasing some values is IIS Manager->Configuration Editor->system.web and system.webServer which I believed could fix this issue but the problem persists.

Related

Unable to render HTML. Unable to access URL. COM error 800c0019 in FACILITY_INTERNET. The drive cannot locate a specific area or track on the disk

I am getting the above error message in production when trying to call the AddImageUrl section of ABCPdf (version 10). This started occurring yesterday just after midday my hosting provider assures me nothing has changed I am the only developer on the project as was working on something else entirely.
The URL provided in the stack trace can be accessed in IE on the web server without any error messages (including SSL). There is also a UAT environment on the same web server in which the PDF works, the UAT environment is identical in code and application pool settings, the only difference is the web address and database.
The HTML the PDF is calling can take a little time to come up on first load. Given that data is different I have increased the timeout from 15 seconds to 2 minutes.
I have arranged a reboot to see if that fixes it, but I have run out of things to check.
Edit: I did think of one further check, could I add the image of a page not on the site (https://www.google.co.uk/), doing this resulted in the same error so it appears not to be a blocking issue on the worker process.
—
Edit2: switched to the gecko engine and it is now working.
You can sometimes get this error if the web browser within Abcpdf cant access the URL.
On the webserver add the URLs directly to the local machine hosts file
C:\Windows\System32\drivers\etc\hosts
The entry should look something like this
127.0.0.1 example.com

MSDeploy get error during upload big file to IIS server

I get following error, when I try to deploy a web app to IIS server using MSDeploy. I believe the cause of the issue is the size of the file. The file, which cause the problem, is the biggest file in the package with size 8M. May I know how to deal with it?
We had this same error a while back and it was a network issue. Pulled in our Network Operations team and they ran a diagnostic test and found the issue. Not sure what it was but I bet this is the same.
The issue was caused by firewall rules. Our network team found the traffic from the deployment server to IIS server was treated as an attack by firewall, then lock the traffic. After they make an exception between those two servers, the issue be resolved. Thanks again Chief7

Why shows no input file specified in Codeigniter on Online Linux Server?

My codeigniter project under one folder shows No input file specified. in linux server.
Worked perfectly in local server... Problem occured only in online server
my project url is http://kenknack.com/healthcare/
Given all connections correctly with database connections.
Thanks in advance

WebSphere Returning 503 Error(Servlet has become temporarily unavailable for service) on Static File

I have a WebSphere 8.5.0 application server for development. It is returning a 503 error on a static JavaScript file.
This is the HTML that is returned with the error:
<H1>Servlet has become temporarily unavailable for service</H1><BR><H3></H3><BR><I>IBM WebSphere Application Server</I>
I tried replacing the file with a blank text file. The server still returned the same 503 error.
I tried changing the name of the file, and it returned the file correctly with the new name and the server returned 404 if I tried the original name.
I figured there would be a solution somewhere online for this, but I couldn't find it.
I found two possible leads:
The file is somehow locked on the server.
There is a routing issue.
If it matters, I deploy the application to the server as an ear file.
I checked all the logs and the only thing that appears in any of them is this in SystemOut:
[2/10/15 8:50:31:696 PST] 00001b48 webcontainer E com.ibm.ws.webcontainer.internal.WebContainer sendUnavailableException Servlet.has.become.temporarily.unavailable.for.service
[2/10/15 8:50:33:120 PST] 00001b48 webcontainer E com.ibm.ws.webcontainer.internal.WebContainer sendUnavailableException Servlet.has.become.temporarily.unavailable.for.service
And I should probably mention that the exact same ear file is deployed on my local machine and 2 production servers with no problems. It is just my development server that has the problem.
After deploying an new version of an application, the
this message appear in the Websphere output
This then requires a restart of the server in order for app
processing to continue. The problem is due to the way that
cached servlet wrappers are handled when an application
is destroyed upon redeploy.
Restarting the server after redeploy is the current local fix.
you can visit :
http://www-01.ibm.com/support/docview.wss?uid=swg1PK47748
I had a similar problem with was 8.0.0, I tried using a blank file, also changing the file name, but nothing works. The log didn't tell me anything about the problem. Always the same message:
<H1>Servlet has become temporarily unavailable for service</H1><BR><H3></H3><BR><I>IBM WebSphere Application Server</I>
The solution was restart the server, maybe the problem was that the file was locked by some kind of process.

zend studio debugger timing out

I am attempting to setup a remote profiling session with a server. I have downloaded the latest version of Zend Debugger, and have installed it on the server with the following setup - http://puu.sh/3ezyh/39247f2f15.png . With my local machine, I have setup a putty session to the remote server, and forwarded port 10137 as per the KB article listed on zend.com.
I am able to debug the remote server without a problem, however when I goto profile the page, the page will process, then a dialog will pop up with a "Waiting for the debugger's response" message. After approximately ~20 seconds, I get the following error: http://puu.sh/3ezDk/57f6dc1bb5.png .
However, there will be profiling information displayed , as well as execution statistics, but no execution flow, almost like it's getting part of the data but not all of it.
The page in question does have anywhere from a 20-30 second page load (which is why I'm tyring to profile to find the problem.)
The only error I can find is in the server's error_log, which just says "[Zend Debugger] Cannot send message"
Is there anyway to diagnose why I'm not getting the complete response?
I wonder if it is getting your IP address and trying to send directly to it instead of over the local forwarded connection. You might need to set your host IP to 127.0.0.1 as the address like in http://screencast.com/t/7lheaOlx. If that doesn't work I would say do a
tcpdump port 10137
And see what you can see. Also, depending on your local OS you may have a firewall blocking access to your instance of Studio.

Resources