Open grahamperrin opened 3 years ago
It's a Firefox restriction on file://
. From what I recall it is against javascript and cross-site requests.
@bsdjhb What did you do to fix this?
Thanks, now I see:
file:///usr/local/poudriere/data/logs/bulk/main-default/latest/build.html
/usr/local/poudriere/data/logs/bulk/main-default/latest/build.html
That's enough for me, but if there's a reasonably simple workaround for e.g. Firefox it'll be welcome.
In Firefox the following setting in about:config helps. security.fileuri.strict_origin_policy=false
Just wanted to write that this is also happening on Chromium - Version 106.0.5249.119 (Official Build) (64-bit)
(I'm guessing for similar reasons). Besides disabling these security settings (or using a different browser), would it be possible to have an easier/official way to get access to all build information? Essentially it would be nice to get some sort of print out like synth. I don't use synth (just poudriere on both my server and my laptop, but the synth ui output list was nice ;D - showing packages currently being built, and a list of pending packages). I do know "Ctrl + t" displays a list of the current ports it is looking at, and it shows the queue number as well, but doesn't show a easy to list of of queued ports).
Just a quick note: the issue can also be server side: I ran into this issue using Safari on the Mac.
When I looked at the page using the Developer Console, I found that apache24
was throwing 403s for */.data.json
files, as my server is locked down to prevent serving most files that start with a dot.
I tweaked my httpd-vhosts.conf
file to permit these files, and all is well.
My solution was this: /usr/local/share/poudriere/include/html.sh seems two lines calling paste command are the problem: paste -s -d , - change to: /usr/bin/paste -s -d , -
Prerequisites
Describe the bug
At (for example):
file:///usr/local/poudriere/data/logs/bulk/main-default/2021-05-28_14h04m32s/build.html
– whilst packages are built:
How to reproduce
Steps to reproduce the behaviour:
poudriere ports -u
poudriere bulk -b latest -J 3 -j 13 print/pdfarranger
/usr/local/poudriere/data/logs/bulk/main-default/latest/build.html
Expected behaviour
Screenshot
Environment
Additional context
I get the same – Invalid request or no data available yet. – with poudriere-devel-3.3.99.20210521 on 14.0-CURRENT.