Everytime I run an import profile in Magento after about 2 - 3 minutes it logs me out. I have checked the apache error logs, this is the lead up to the log out:
[13/Sep/2012:14:58:41 +0100] "POST /index.php/admin/system_convert_gui/batchRun/key/151d60f07b9e68b0023da294f315c3cc/?isAjax=true HTTP/1.1" 200 52
[13/Sep/2012:14:58:42 +0100] "POST /index.php/admin/system_convert_gui/batchRun/key/151d60f07b9e68b0023da294f315c3cc/?isAjax=true HTTP/1.1" 200 52
[13/Sep/2012:14:58:44 +0100] "POST /index.php/admin/system_convert_gui/batchRun/key/151d60f07b9e68b0023da294f315c3cc/?isAjax=true HTTP/1.1" 200 148
[13/Sep/2012:14:58:44 +0100] "GET /index.php/admin/index/login/key/70f0f08a622f871979b3890c5f769bf4/ HTTP/1.1" 200 1001
In the system log I get:
2012-09-13T14:13:00+00:00 DEBUG (7): Cannot send headers; headers already sent in /var/www/vhosts/httpdocs/app/code/core/Mage/Adminhtml/Block/System/Convert/Profile/Run.php, line 278
2012-09-13T14:13:00+00:00 DEBUG (7): HEADERS ALREADY SENT: [0] /var/www/vhosts/httpdocs/app/code/core/Mage/Core/Controller/Response/Http.php:44
Nothing in the exception log. I have researched the headers already sent issue but nothing has fixed this. Any suggestions would be greatly appreciated.
Magento version 1.4.0.1
It's an annoyance. I get it on ee 1.8 during any import/export process that counts the items processed as it goes.
I solved it by adding ob_start() just before that line throwing the error.
I realize I should override the function, but I'm using an old version and will upgrade soon. Hopefully this is fixed in 1.12
Related
How do I stop this exception from being printed in the log file catalina.out? It takes up a lot of room in the log file.
2018-10-12 02:25:20.394 ERROR 20077 --- [nio-8080-exec-7] o.s.boot.web.support.ErrorPageFilter : Forwarding to error page from request [/home] due to exception [The request was rejected because the URL contained a potentially malicious String ";"]
org.springframework.security.web.firewall.RequestRejectedException: The request was rejected because the URL contained a potentially malicious String ";"
at org.springframework.security.web.firewall.StrictHttpFirewall.rejectedBlacklistedUrls(StrictHttpFirewall.java:265) ~[spring-security-web-4.2.6.RELEASE.jar:4.2.6.RELEASE]
at org.springframework.security.web.firewall.StrictHttpFirewall.getFirewalledRequest(StrictHttpFirewall.java:245) ~[spring-security-web-4.2.6.RELEASE.jar:4.2.6.RELEASE]
+50 more lines
I don't mind the single line ERROR but I'd rather not see the stack trace while scrolling through the log.
They are caused by testing requests like
172.31.43.154 - - [12/Oct/2018:07:52:42 +0000] "POST /dologin HTTP/1.1" 302 0 "-" "python-requests/2.18.4" "99.99.99.99"
172.31.43.154 - - [12/Oct/2018:07:52:42 +0000] "GET /home;jsessionid=4B9B7C8FFC2EA0B7A8E0C2E20E0B4D79 HTTP/1.1" 200 27 "-" "python-requests/2.18.4" "99.99.99.99"
I don't know if the tester is manually adding the cookie to the URL or being redirected to that path. It works in the browser and I already have
server.session.tracking-modes=cookie
I have problem with importing database in Vertica Management console 7.2.3.
Whenever I try to connect to database it complains about password:
{"message":"Could not connect to the database. Invalid Password","status":"invalidPwd"}
That is the same password and user dbadmin which I use to connect to the same database via admintools. It works in admintools.
In the agent.log I could only find following:
INFO:wsgi:10.14.44.102 - - [26/Apr/2017:14:04:09 +0000] "POST /databases/dwh_vertica/users/null HTTP/1.1" 401 167 "-" "Apache-HttpClient/4.5 (Java/1.7.0_80)"
INFO:wsgi:10.14.44.102 - - [26/Apr/2017:14:06:16 +0000] "POST /databases/dwh_vertica/users/null HTTP/1.1" 401 167 "-" "Apache-HttpClient/4.5 (Java/1.7.0_80)"
Could you please do let me know why I can't connect?
I am getting a "Synchronization issues have encountered a problem" along with a NullPointerException while analyzing a project in SonarQube 6.2.
I am using Eclipse Mars 4.5.2 and I tried using SonarLint but didnt find it very useful because it didnt show me SonarQube Issues view and all the errors were not listed in there. So, I instead downloaded the SonarQube plugin (http://downloads.sonarsource.com/eclipse/eclipse/)
I see the below issues in the access.log (in SonarQube directory) -
127.0.0.1 - - [15/Feb/2017:11:40:50 -0500] "GET /api/resources?resource=ffsUser%3AffsUser&verbose=false& HTTP/1.1" 200 237 "-" "Apache-HttpClient/4.3.6 (java 1.5)" "AVpCmoaydo39Zfz7AAAv"
127.0.0.1 - - [15/Feb/2017:11:40:50 -0500] "GET /api/issues/search?componentRoots=ffsUser:ffsUser&pageIndex=1&pageSize=-1&resolved=false HTTP/1.1" 200 - "-" "Java/1.8.0_45" "AVpCmoaydo39Zfz7AAAw"
It's not surprising that you're encountering problems attempting to run the old Eclipse plugin against a current version of SonarQube. There are reasons that plugin as abandoned.
Your best bet would be to try again with SonarLint, which is designed to help you keep new code clean and to clean up the code you're already working on anyway
I'm running Puma 2.8.2 server for stubbing some of my back end services. Occasionally Puma server just dies without any reason.
There is no errors in error.log And here is excerpt from access.log:
10.210.140.21 - - [15/Oct/2014 09:28:22] "GET /status HTTP/1.1" 200 - 0.0030
- Gracefully stopping, waiting for requests to finish
- Goodbye!
=== puma startup: 2014-10-15 09:28:24 +0100 ===
10.210.140.21 - - [15/Oct/2014 09:28:24] "GET /status HTTP/1.1" 200 - 0.0254
Any thoughts what could cause this?
If this problem is becoming in Heroku and you are using Heroku free dyno, the problem is that you use the free dyno. Because your app goes to sleep after 30 minutes of inactivity.
You can find more info at the following link:
https://devcenter.heroku.com/articles/free-dyno-hours
I found the problem in some PHP code I'm working on but I can reproduce it using wget and curl, from the linux terminal. When I use the respective programmes to fetch the same image file from my server, the file sizes are different and the smaller curl file is corrupt. This happens on all image files, but doesn't always corrupt the file.
0.0.0.0 - - [18/Aug/2013:23:41:48 +0200] "GET /test.png HTTP/1.1" 200 555247 "-" "Wget/1.13.4 (linux-gnu)"
0.0.0.0 - - [18/Aug/2013:23:42:53 +0200] "GET /test.png HTTP/1.1" 200 555191 "-" "curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3"
You will notice the png file downloaded with curl is 56bytes smaller, which is enough to corrupt the image.
The server in question is my own server running ubuntu server, and apache, as far as I'm aware there is nothing none standard on it, or my curl\wget setup. (And yes I fudged the IP address for security)
Any help most appreciated.