Error 500 every time you generate a XML or AFR report
Hi,
I'm having issues generating XML and AFR reports, the scans
finished successfully but when I try to generate a XML report I get
an error 500, the same goes with the AFR report, I get the
following message: "We're sorry, but something went wrong."
When I check the logs I get these errors:
Started GET "/scans/2/report.xml" for 127.0.0.1 at 2015-01-30 10:52:55 -0500
Processing by ScansController#report as XML
Parameters: {"id"=>"2"}
Completed 500 Internal Server Error in 618ms
Errno::ENOENT (No such file or directory @ unlink_internal - /tmp/08fb65ab471801ed5e5b8668fa03d493):
app/controllers/scans_controller.rb:101:in `block in report'
app/helpers/framework_helper.rb:15:in `call'
app/helpers/framework_helper.rb:15:in `framework'
app/controllers/scans_controller.rb:101:in `report'
Started GET "/scans/2/report.afr" for 127.0.0.1 at 2015-01-30 11:08:01 -0500
Processing by ScansController#report as
Parameters: {"id"=>"2"}
Completed 500 Internal Server Error in 2549ms
SystemStackError (stack level too deep):
activerecord (4.1.7) lib/active_record/connection_adapters/abstract/connection_pool.rb:629
Hope you can help me.
Renzo
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Tasos Laskos on 30 Jan, 2015 09:03 PM
Hello,
Are there any error logs under
system/logs/framework/
?Cheers
2 Posted by Renzo on 02 Feb, 2015 02:38 PM
yep, I found these 2.
Thanks
Support Staff 3 Posted by Tasos Laskos on 02 Feb, 2015 04:27 PM
Ah right right, the fix for that is in the v1.1 dev branch.
For now you can either apply the patch yourself or grab the v1.1 dev code, I'm closing in on completing the milestone and I could really use some more testers.
If you prefer to work via the WebUI you can do that as well.
Let me know what you think.
Cheers
Tasos Laskos closed this discussion on 05 Mar, 2015 05:55 PM.