Getting 500 error while submitting moderation request - xenforo

I am getting 500 error while sending Moderation request in Xenforo. All other pages are working absolutely fine.
Anyone has the idea for this problem?

Thanks, Uwe Keim.
In my application, only a few pages were giving 500 errors all other pages were working fine.
The issue was happening because those pages were blocked by web hosting pertner's ModSecurtiy firewall. I have connected to them and whitelisted the URLs. Then it's working fine.

Related

Errors on requests for resources, http instead of https and some net::ERR_FAILED

I manage a site and if I open the browser console with disabled cache, there are sometimes errors in queries on some resources. Among other things, errors are GET https://www.domainname.topdomain/wp-content/uploads/2018/04/AN-IMAGE-150x150.jpg net::ERR_FAILED These errors are not always, and not on the same resources. One time there was an http request on the emoji script instead of https. And I then saw in the html code that the address had the protocol http instead of https for this script. How can that be? It is a wordpress site, https is set in admin. So it should be https everywhere. The error with http in a script src attribute in html should not happen (have only seen it once, but still ..). Maybe this is more related to just wordpress, I do not know.
For the net::ERR_FAILED errors, I dont see any response headers i the browser.
I dont see any net::ERR_FAILED errors in Firefox, I see them in Chrome and Edge.

error on Google Page Speed Insights and doesn't run on one website I made,

I tried to run Google Page Speed Insights and got this error message. I've searched and can't seem to find how to fix that. I also ran Page Speed Insights with other websites that I made and every time it worked.
Lighthouse returned error: FAILED_DOCUMENT_REQUEST. Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Details: net::ERR_CONNECTION_FAILED)
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fexecfarm.com%2F
Several of us in comments
have tried the link you gave and have not experienced any errors.
However, I have been refreshing the page and the Google Speed insights result has been showing different values for the page overall score From 34%, to 40% to 70% (then back to 40%).
This would possibly imply that the page is being worked on or that there is some other (database) stuff that is changing each time the page is loaded.
If you are not cloudhosting (ie Cached copies) then when your server is taking up a new file uploaded from your IDE, while that file is uploaded to the server it can not be "read" while it's being "written". So maybe Google is trying to access the file when it is being replaced which will cause momentary drops.
You should also be forcing the HTTPS, currently the website is still fully accessible on the insecure http://execfarm.com URL.
try to force redirection to https instead of http by activate SSL
I tried the test 10 times and all of them failed with
Lighthouse returned error: FAILED_DOCUMENT_REQUEST. Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Details: net::ERR_CONNECTION_FAILED)
This could mean multiple things. Either your page failed to render in Google's PageSpeed Insights, an internet backbone broke, or something else happened.
It may be that an internet backbone outage that caused your server's connection with Google to be broken. When an internet backbone outage happens, user A may be able to connect to your server, but user B may not. To rule this out, check your logs when you go to your Google PageSpeed Insights and look for any IP address associated with Google's IPs.
To rule out that page rendering is the cause, move your index.html file to somewhere else, and replace it with a dummy index.html, to ensure that page rendering isn't the cause.
To rule out an internet backbone outage, switch to a temporary server and move everything there. If Google PageSpeed Insights works, then you know that it was an internet backbone outage.
Hope this helps.
I faced this problem because of my SSL integration. After fixed it, my problem solved. Try to run lighthouse test without SSL.
Also please check this answer:
This issue is quite often reported by many users.
It occurs because of the following issues:
Unresponsive server Unstable internet connection. Please try to rerun
the test then it will work.
For more clear and better result follow instructions in this link.
https://stackoverflow.com/a/53318088/4766521

Website/domain being blocked by google in Google Chrome

Since few days we are experiencing an issue in one of our a domain named "id-validation.us".
Google is blocking this domain on browsing from google-chrome. We tried to rectify the issue and found that google blocking all hits which is being done to id-validation.us. We are using a wildcard certificate on this domain and certificate is fine as it is working well on rest of the domain. We tried to remove the code from a web server as well but the result is still same.
Google is throwing below error once you browse the website from google-chrome. Currently, an index.html file is placed on this web-server for this domain but the response is same.
error message
Can someone help me find the solution to this problem?
You may have some automated script that may affect the computer or browser settings. Google recognizes any automatic redirection or setting-changing code in a server/website as malware.

Google Maps Embed Issue - 403 On HTTPS requests but Works Fine on HTTP requests

For example:
https://maps.googleapis.com/maps/api/staticmap?center=38.890390,-77.084140&zoom=12&size=220x220&maptype=roadmap?key=xxxx
returns a 403
but
http://maps.googleapis.com/maps/api/staticmap?center=38.890390,-77.084140&zoom=12&size=220x220&maptype=roadmap?key=xxxx
works fine, but obviously this is not a solution because it will caused mix content issues on a secured site.
This only happens when embedding in a page, getting served the linking directly works.
Anyone more knowledgable than me run into this issue with Google before?

ERR_TOO_MANY_REDIRECTS error after using Cloudflare

After I started using Cloudflare I started facing this error in my website(frequently in chrome and opera).
Some of the points I have found out after testing multiple times are:
So far I have faced this problem in Google Chrome, Chromium, and Opera. Chrome being the major one for my visitors.
The inner pages are working fine. For example example.com/about-us is working fine but the error occurs when we visit example.com .
I once thought this is because of too many links in my home page. So tried removing all the links on home page but the error continued.
If I type example.com/node instead of example.com it works fine(example.com/node being the default home page of drupal website). But users generally type example.com so it can't be the solution.
In cloudflare settings I have changed the SSL mode to "Full Strict" from "Flexible" as suggested in this answer. It's been more than 10 hours but it hasn't helped so far.
I am using Godaddy's linux hosting. It's a Drupal Website.
Any clue is appreciated. Thanks in advance.
Since you are using SSL the issue most likely is due to the fact that you have some redirects on your website ( .htaccess ) to the httpS version of the site . On top of that Cloudflare have features in their Crypto section that allow you to make redirects directly from there. Thus if you have set such rules both places, you will most likely get a redirect looop.
My advice would be for you to check the Crypto section of your CloudFlare account and make sure that
Automatic HTTPS Rewrites
and
HTTP Strict Transport Security
are disabled.
Then clear the Cloudflare cache and try accessing your website from a fresh browser.
This should do the trick, if not , you should provide us with your .htaccess content so that the case can be resolved.