From guillaume.gardet@free.fr Tue Jun 4 20:40:59 2013 From: Guillaume Gardet To: buildservice@lists.opensuse.org Subject: [opensuse-buildservice] Private OBS instance - webui problems Date: Tue, 04 Jun 2013 22:40:48 +0200 Message-ID: <51AE50D0.6080507@free.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7273987897614709139==" --===============7273987897614709139== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, I am trying to get OBS on a private server but I face some issues. I followed= this README: http://gitorious.org/opensuse/build-service/blobs/master/dist/README.SETUP When I want to login to the webinterface with default id/password (Admin / op= ensuse), I get this error: "Authentication failed" When I try to register a new user I get a 401 error: *********************************************************** Authentication required! Authentication required! This server could not verify that you are authorized to access the URL "/person/register". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. In case you are allowed to request the document, please check your user-id and password and try again. If you think this is a server error, please contact the webmaster. Error 401 api.opensuse.org Tue Jun 4 22:33:56 2013 Apache/2.2.12 (Linux/SUSE) *********************************************************** Otherwise OBS server seems to be ok since osc commands works fine such as: osc -A https://192.168.0.21:444 ls Any idea what could be wrong in my setup ? If I use the OBS appliance (based on openSUSE 12.2), no problem, but I would = like to get OBS working on openSUSE 12.3. Guillaume --=20 To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org --===============7273987897614709139==-- From adrian@suse.de Wed Jun 5 08:15:53 2013 From: Adrian =?utf-8?q?Schr=C3=B6ter?= To: buildservice@lists.opensuse.org Subject: Re: [opensuse-buildservice] Private OBS instance - webui problems Date: Wed, 05 Jun 2013 10:15:51 +0200 Message-ID: <1397120.anbpgeKqNt@scherben.suse.de> In-Reply-To: <51AE50D0.6080507@free.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8731358389377845770==" --===============8731358389377845770== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Am Dienstag, 4. Juni 2013, 22:40:48 schrieb Guillaume Gardet: > Hi, >=20 > I am trying to get OBS on a private server but I face some issues. I > followed this README: > http://gitorious.org/opensuse/build-service/blobs/master/dist/README.SETUP >=20 > When I want to login to the webinterface with default id/password (Admin / > opensuse), I get this error: "Authentication failed" ... > This server could not verify that you are authorized to access > the URL "/person/register". > You either supplied the wrong credentials (e.g., bad password), or your > browser doesn't understand how to supply the credentials required. You have enabled=20 new_user_registration: allow=20 in config/options.yml of the api? > Any idea what could be wrong in my setup ? >=20 > If I use the OBS appliance (based on openSUSE 12.2), no problem, but I would > like to get OBS working on openSUSE 12.3. I know that the boot order is not corrent on 12.3 using systemd. You may want to restart mysqld and apache2 to be sure. But I think that is not cause in=20 this case. bye adrian=20 --=20 Adrian Schroeter email: adrian(a)suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer, HRB 2= 1284 (AG=20 N=C3=BCrnberg) Maxfeldstra=C3=9Fe 5 =20 90409 N=C3=BCrnberg=20 Germany=20 --=20 To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org --===============8731358389377845770==-- From guillaume.gardet@free.fr Wed Jun 5 08:40:48 2013 From: Guillaume Gardet To: buildservice@lists.opensuse.org Subject: Re: [opensuse-buildservice] Private OBS instance - webui problems Date: Wed, 05 Jun 2013 10:40:33 +0200 Message-ID: <51AEF981.2040607@free.fr> In-Reply-To: <1397120.anbpgeKqNt@scherben.suse.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0490920974005270757==" --===============0490920974005270757== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, Thanks for quick answer Adrian. Le 05/06/2013 10:15, Adrian Schr=C3=B6ter a =C3=A9crit : > Am Dienstag, 4. Juni 2013, 22:40:48 schrieb Guillaume Gardet: >> Hi, >> >> I am trying to get OBS on a private server but I face some issues. I >> followed this README: >> http://gitorious.org/opensuse/build-service/blobs/master/dist/README.SETUP >> >> When I want to login to the webinterface with default id/password (Admin / >> opensuse), I get this error: "Authentication failed" > ... > >> This server could not verify that you are authorized to access >> the URL "/person/register". >> You either supplied the wrong credentials (e.g., bad password), or your >> browser doesn't understand how to supply the credentials required. > You have enabled > > new_user_registration: allow > > in config/options.yml of the api? Yes, it is the default value. > > >> Any idea what could be wrong in my setup ? >> >> If I use the OBS appliance (based on openSUSE 12.2), no problem, but I wou= ld >> like to get OBS working on openSUSE 12.3. > I know that the boot order is not corrent on 12.3 using systemd. You may wa= nt > to restart mysqld and apache2 to be sure. But I think that is not cause in > this case. No effect, still the same problem... Guillaume > > bye > adrian > --=20 To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org --===============0490920974005270757==-- From hvogel@opensuse.org Wed Jun 5 10:52:58 2013 From: Henne Vogelsang To: buildservice@lists.opensuse.org Subject: Re: [opensuse-buildservice] Private OBS instance - webui problems Date: Wed, 05 Jun 2013 12:52:50 +0200 Message-ID: <51AF1882.5030302@opensuse.org> In-Reply-To: <51AE50D0.6080507@free.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3919704480435550184==" --===============3919704480435550184== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hey, On 04.06.2013 22:40, Guillaume Gardet wrote: > I am trying to get OBS on a private server but I face some issues. I follow= ed this README: > http://gitorious.org/opensuse/build-service/blobs/master/dist/README.SETUP >=20 > When I want to login to the webinterface with default id/password (Admin / = opensuse), I get this error: "Authentication failed" How about some webui logs? :) And check that you have set the correct frontend_port in webui/config/options.yaml Henne --=20 Henne Vogelsang http://www.opensuse.org Everybody has a plan, until they get hit. - Mike Tyson --=20 To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org --===============3919704480435550184==-- From guillaume.gardet@free.fr Wed Jun 5 15:52:08 2013 From: Guillaume Gardet To: buildservice@lists.opensuse.org Subject: Re: [opensuse-buildservice] Private OBS instance - webui problems Date: Wed, 05 Jun 2013 17:51:56 +0200 Message-ID: <51AF5E9C.4050004@free.fr> In-Reply-To: <51AF1882.5030302@opensuse.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8309072231696123890==" --===============8309072231696123890== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Le 05/06/2013 12:52, Henne Vogelsang a =C3=A9crit : > Hey, > > On 04.06.2013 22:40, Guillaume Gardet wrote: > >> I am trying to get OBS on a private server but I face some issues. I follo= wed this README: >> http://gitorious.org/opensuse/build-service/blobs/master/dist/README.SETUP >> >> When I want to login to the webinterface with default id/password (Admin /= opensuse), I get this error: "Authentication failed" > How about some webui logs? :) > > And check that you have set the correct frontend_port in > > webui/config/options.yaml Nearly. frontend_host was api.opensuse.org, so I need to set it to my server = name. But now, I have an application error instead of the webui... :( I need to debug it, probably logs will help in this case. Anyway, thanks for the hint. Guillaume > > Henne > --=20 To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org --===============8309072231696123890==-- From seiler@b1-systems.de Tue Jul 16 14:09:04 2013 From: Philipp Seiler To: buildservice@lists.opensuse.org Subject: Re: [opensuse-buildservice] Private OBS instance - webui problems Date: Tue, 16 Jul 2013 16:08:54 +0200 Message-ID: <20130716160854.0217f42a@tesla.site> In-Reply-To: <51AF5E9C.4050004@free.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2832953510527607072==" --===============2832953510527607072== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Guillaume, On Wed, 05 Jun 2013 17:51:56 +0200 Guillaume Gardet wrote: >=20 > Le 05/06/2013 12:52, Henne Vogelsang a =C3=A9crit : > > Hey, > > > > On 04.06.2013 22:40, Guillaume Gardet wrote: > > > >> I am trying to get OBS on a private server but I face some issues. > >> I followed this README: > >> http://gitorious.org/opensuse/build-service/blobs/master/dist/README.SET= UP > >> > >> When I want to login to the webinterface with default id/password > >> (Admin / opensuse), I get this error: "Authentication failed" > > How about some webui logs? :) > > > > And check that you have set the correct frontend_port in > > > > webui/config/options.yaml >=20 > Nearly. frontend_host was api.opensuse.org, so I need to set it to my > server name. But now, I have an application error instead of the > webui... :( >=20 > I need to debug it, probably logs will help in this case. Do you use selfsigned ssl certificates? Search for a error in your logs. If so, copy your certificate cat /srv/obs/certs/server.key /srv/obs/certs/server.crt > /srv/obs/certs/server.pem (Be sure to redirect the output into the file server.pem. The Mail client might display the last command line wrong.) cp /srv/obs/certc/server.pem /etc/ssl /etc/ssl/certs/ c_rehash /etc/ssl/certs > Anyway, thanks for the hint. I branch the OBS documentation and some missing things since the change to obs 2.4 . Regards, Philipp --=20 Philipp Seiler Linux Consultant Tel.: +49-175 2958714 Mail: seiler(a)b1-systems.de GPG Key: 0x75911461 B1 Systems GmbH Osterfeldstra=C3=9Fe 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 --===============2832953510527607072== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIuMC4xOSAoR05V L0xpbnV4KQoKaUVZRUFSRUNBQVlGQWxIbFUvb0FDZ2tRekFOT3RIV1JGR0UzL1FDZ3RKNVV4aG5i b2MwcHhDWVVDZUx6MmlwbAozVmNBbmpvWUM0enRuN1VFMDBSTlo3Y3ErN1JhL09ITAo9SXFoQQot LS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0K --===============2832953510527607072==--