How to get previous error message after I fixed error - apache

Ok this sounds pretty dumb.
We use apache/tomcat # my company for our products.
I was fixing an internal server error and pressed refresh on chrome. It worked but now trying to make an internal article for my team and forgot what the second part of the error message said.
Is there anyway to see that previous page on Chrome.

Related

Should an automatically performed once-a-day operation for users be responded with an error code from the server for further attempts?

I'm working on a project in which users automatically gain points if it's been more than 24h since their last login and a friendly message appears on the screen telling them that. If they log in again, nothing happens. But for me, as the dev of the project, I get a lot of scary red error messages in the browser logs showing me that a forbidden action has been tried, because when the backend detects that already made the transaction, it returns a 403, and this happens every time someone logs in or close and reopens the site.
I'm a bit confused whether this should really be the treatment for the case and wondering about how messed up error statistics of the site could get because of things like this, where nobody actually tried to perform a forbidden action, just the scheduled predictable behavior of the platform.
Should I change it to a 2xx status code?

Prestashop Technical Error: Details: Error Thrown: [Object Object] Text Status: Parsererror

I am getting this error when trying to add weight ranges to shipping carriers that I have. It mostly seems to happen at random and I have been able to complete some of the carriers but others will cause the error every time. The console reports the following: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
Is there a solution for this? I couldn't find anything online about it.
I have v. 1.6.1.4
Thank you!
You have to use firefox developper and when you get the "Parseerror"
using the developper tools you go to network and select your last query.
On the right you have a window with all the options of the query : cookies parameters... select response.
You should see the response of the parse error.
For me it was just a parameter of the form that could not be empty.
Putting a random word made everything work fine.
The same thing happened to me when adding weight ranges.
The annoying thing is i had to restore a backup of the tables ps_range_weight and ps_carrier.. as for every single instance of
"Prestashop Technical Error: Details: Error Thrown: [Object Object] Text Status: Parsererror" it made a new entry and i ended up with over 700 weight ranges.
Anyways, i restored to the last fucntioning versions of ps_range_weight and ps_carrier (needed doing) and disabled the standard paypal plugin from prestashop. After that it worked fine.
.
Hope this helps someone.
I have found a solution for this on Prestashop 1.7
This happened to me as well when I changed the theme, however, I checked the Database and found that the carrier ID in ps_range_weight has randomly changed!
Solution
Fix the carrier ID in the database to the correct one and this error should not be appearing again! Good luck
ps_range_weight

C# HttpRequest sequence succeeds while running Fiddler, but otherwise fails

Background: I'm trying to log into an HTTPS site with my valid credentials, navigate to a page that has a frequently updated list, and then scrape the list.
I was using code someone else wrote, which worked until a few weeks ago. I am new to this, but even i can see that the code was not very good, so i am trying to rewrite.
First I log into the site and create an tunnel. Then I move to the page where my list is and grab the list, etc.
Here's what's weird. The login fails every time, until I turn on Fiddler. With Fiddler running it succeeds every time.
Any idea about why this would happen and how to fix?
Many thanks.
I got it working!
For anyone who finds themselves in the same situation (I've seen a number of posting of similar questions - but the answers hadn't worked for me, so I expect I am not alone), I eventually saw that I needed to set the security protocol to TLS. The specific syntax I used was:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls;
The setting needs to be specified before the Httpwebrequest get or post event occurs.
If you have a similar problem, I hope this helps.
I had an invalid "User-Agent" header. It contained invalid characters (ä, ö, ü).

System error. The error has been logged and we will investigate

I started getting this result from BigQuery around 5pm PST. I haven't changed anything in my app. I can still make queries via the online browser tool. Is this happening to anyone else? Our project ID is decent-surf-855.
We changed the wording of the error message from the old "Unexpected. Please try again." Perhaps you already had code to detect or filter based on that error text?

LinkedIn button XMLHttpRequest cannot load

I am using the LinkedIn developer button on a live server. I'm getting the following error:
XMLHttpRequest cannot load is not allowed by Access-Control-Allow-Origin.
I understand generally what that problem is. But I wouldn't expect there to be an issue when using something as popular and as big as linkedIn. Am I doing something wrong here or should everyone who uses the linked developer buttons be receiving the same error?
Update
I've tried just the basic apply button default code on one of my pages and it works fine. I get no errors. But there is another page I have and it brings up this error. I'm not sure why, surely it either works for my site on a whole or it doesn't?
I have solved this issue. Hopefully my naivety will save others time. I had an inline javascript statement that referenced 'token'. Something the linkedIn script also used.