tag:support.arachni-scanner.com,2012-07-01:/discussions/problems/3323-error-500-every-time-you-generate-a-xml-or-afr-reportArachni: Discussion 2015-03-05T17:55:59Ztag:support.arachni-scanner.com,2012-07-01:Comment/359213542015-01-30T16:31:34Z2015-01-30T16:31:37ZError 500 every time you generate a XML or AFR report<div><p>Hi,<br>
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."</p>
<p>When I check the logs I get these errors:</p>
<pre>
<code>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</code>
</pre>
<p>Hope you can help me.</p>
<p>Renzo</p></div>Renzotag:support.arachni-scanner.com,2012-07-01:Comment/359213542015-01-30T21:03:20Z2015-01-30T21:03:20ZError 500 every time you generate a XML or AFR report<div><p>Hello,</p>
<p>Are there any error logs under
<code>system/logs/framework/</code>?</p>
<p>Cheers</p></div>Tasos Laskostag:support.arachni-scanner.com,2012-07-01:Comment/359213542015-02-02T14:38:19Z2015-02-02T14:38:20ZError 500 every time you generate a XML or AFR report<div><p>yep, I found these 2.</p>
<p>Thanks</p></div>Renzotag:support.arachni-scanner.com,2012-07-01:Comment/359213542015-02-02T16:27:36Z2015-02-02T16:27:36ZError 500 every time you generate a XML or AFR report<div><p>Ah right right, the <a href=
"https://github.com/Arachni/arachni/commit/c4b4ac4ea5616ada44c67fc1246fc226cdc50fd4">
fix</a> for that is in the <a href=
"https://github.com/Arachni/arachni/tree/v1.1">v1.1 dev
branch</a>.</p>
<p>For now you can either apply the patch yourself or <a href=
"https://github.com/Arachni/arachni/tree/v1.1#linux-and-osx">grab
the v1.1 dev code</a>, I'm closing in on completing the milestone
and I could really use some more testers.</p>
<p>If you prefer to work via the WebUI you can <a href=
"https://github.com/Arachni/arachni-ui-web/tree/framework-v1.1#linux-and-osx">
do that</a> as well.</p>
<p>Let me know what you think.</p>
<p>Cheers</p></div>Tasos Laskos