On Mon, Dec 5, 2016 at 1:47 PM, Martin Juhl <m...@casalogic.dk> wrote:
> Hi > > I'm getting these errors/warnings: > > ==> /var/log/copr-backend/backend.log <== > [2016-12-05 11:57:15,358][WARNING][backend.main][frontend.py:_ > post_to_frontend_repeatedly:48] failed to post data to frontend, repeat > #20 > [2016-12-05 11:57:20,452][WARNING][backend.main][frontend.py:_ > post_to_frontend_repeatedly:48] failed to post data to frontend, repeat > #21 > > > /etc/copr/copr-be.conf: > > [backend] > > # URL where are results visible > # default is http://copr > results_baseurl=https://copr02.casalogic.lan > > # default is http://coprs/rest/api > frontend_base_url=http://copr02.casalogic.lan/api > > # must have same value as BACKEND_PASSWORD from have frontend in > /etc/copr/copr.conf > # default is PASSWORDHERE but you really should change it. really. > frontend_auth=mjp123 > > dist_git_url=copr02.casalogic.lan > > > > > /etc/copr/copr.conf: > > # Directory and files where is stored Copr database files > DATA_DIR = '/var/lib/copr/data' > DATABASE = '/var/lib/copr/data/copr.db' > OPENID_STORE = '/var/lib/copr/data/openid_store' > WHOOSHEE_DIR = '/var/lib/copr/data/whooshee' > > # salt for CSRF codes > SECRET_KEY = 'mjp123' > > BACKEND_PASSWORD = 'mjp123' > > #CSRF_ENABLED = True > # as of Flask-WTF 0.9+ > WTF_CSRF_ENABLED = True > > > > Well, is your > > Anything else I need to check??? Or any URLs that are wrong..?? > frontend_base_url should be set to http://copr02.casalogic.lan/ <http://copr02.casalogic.lan/api> if that is were your frontend instance can be found. Also note that your results_baseurl is probably not correct as it should be url of your backend machine with /results (in default setup) at the end. > Regards > > Martin > _______________________________________________ > copr-devel mailing list -- copr-devel@lists.fedorahosted.org > To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org >
_______________________________________________ copr-devel mailing list -- copr-devel@lists.fedorahosted.org To unsubscribe send an email to copr-devel-le...@lists.fedorahosted.org