Unable to login to the WEB UI Unexpected character ('<' (code 60))....

Hi, I installed oVirt on my local server, and trying to login to the web UI from another computer on the same local network. No DNS server. Unfortunaly i'm getting this error : Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: java.io.StringReader@29cf6878; line: 1, column: 2] In ovirt-provider-ovn.log, i get this error : File "/usr/share/ovirt-provider-ovn/auth/plugins/ovirt/sso.py", line 47, in wrapper raise BadGateway(e) BadGateway: ('Connection aborted.', gaierror(-2, 'Name or service not known')) In ovirt-engine.log : 2018-08-05 16:49:33,594+02 ERROR [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-83) [40e9406d] Command 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: EngineException: (Failed with error Bad Gateway and code 5050) 2018-08-05 16:49:33,645+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-83) [40e9406d] EVENT_ID: PROVIDER_SYNCHRONIZED_FAILED(216), Failed to synchronize networks of Provider ovirt-provider-ovn. Boot.log looks ok Trying to understand this fix : https://bugzilla.redhat.com/show_bug.cgi?id=1336838 1. Which certificates i have to install ? 2. Configure HTTPS certificate in Apache : How ? Thanks for your help. Halsk

On Sun, Aug 5, 2018 at 1:39 PM <sylvain.palous@gmail.com> wrote:
Hi, I installed oVirt on my local server, and trying to login to the web UI from another computer on the same local network. No DNS server. Unfortunaly i'm getting this error :
Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: java.io.StringReader@29cf6878; line: 1, column: 2]
Where do you see that error -- in the UI itself? Can you share a screenshot of the app, your browser console (F12 for chrome), and also ui.log from the server.
In ovirt-provider-ovn.log, i get this error : File "/usr/share/ovirt-provider-ovn/auth/plugins/ovirt/sso.py", line 47, in wrapper raise BadGateway(e) BadGateway: ('Connection aborted.', gaierror(-2, 'Name or service not known'))
In ovirt-engine.log : 2018-08-05 16:49:33,594+02 ERROR [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-83) [40e9406d] Command 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: EngineException: (Failed with error Bad Gateway and code 5050) 2018-08-05 16:49:33,645+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-83) [40e9406d] EVENT_ID: PROVIDER_SYNCHRONIZED_FAILED(216), Failed to synchronize networks of Provider ovirt-provider-ovn.
cc'ing Marcin. I would be very surprised if this is related to the failure to log in.
Boot.log looks ok
Trying to understand this fix : https://bugzilla.redhat.com/show_bug.cgi?id=1336838
I don't think that bug is related (and I think ovn came later).
1. Which certificates i have to install ? 2. Configure HTTPS certificate in Apache : How ?
Thanks for your help.
Halsk _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/ELQGPPVTN2JXX5...
-- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig>

+marcin for real :) On Sun, Aug 5, 2018 at 1:55 PM Greg Sheremeta <gshereme@redhat.com> wrote:
On Sun, Aug 5, 2018 at 1:39 PM <sylvain.palous@gmail.com> wrote:
Hi, I installed oVirt on my local server, and trying to login to the web UI from another computer on the same local network. No DNS server. Unfortunaly i'm getting this error :
Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: java.io.StringReader@29cf6878; line: 1, column: 2]
Where do you see that error -- in the UI itself? Can you share a screenshot of the app, your browser console (F12 for chrome), and also ui.log from the server.
In ovirt-provider-ovn.log, i get this error : File "/usr/share/ovirt-provider-ovn/auth/plugins/ovirt/sso.py", line 47, in wrapper raise BadGateway(e) BadGateway: ('Connection aborted.', gaierror(-2, 'Name or service not known'))
In ovirt-engine.log : 2018-08-05 16:49:33,594+02 ERROR [org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-83) [40e9406d] Command 'org.ovirt.engine.core.bll.provider.network.SyncNetworkProviderCommand' failed: EngineException: (Failed with error Bad Gateway and code 5050) 2018-08-05 16:49:33,645+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engineScheduled-Thread-83) [40e9406d] EVENT_ID: PROVIDER_SYNCHRONIZED_FAILED(216), Failed to synchronize networks of Provider ovirt-provider-ovn.
cc'ing Marcin. I would be very surprised if this is related to the failure to log in.
Boot.log looks ok
Trying to understand this fix : https://bugzilla.redhat.com/show_bug.cgi?id=1336838
I don't think that bug is related (and I think ovn came later).
1. Which certificates i have to install ? 2. Configure HTTPS certificate in Apache : How ?
Thanks for your help.
Halsk _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/ELQGPPVTN2JXX5...
--
GREG SHEREMETA
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
Red Hat NA
gshereme@redhat.com IRC: gshereme <https://red.ht/sig>
-- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig>

Yes on the UI : https://ibb.co/nMHfJz What do you about "browser console" ? The file /var/log/ovirt-engine/ui.log is empty

I mean this: https://imgur.com/a/AFIKtYE You should have some errors in there. Please screenshot that. On Sun, Aug 5, 2018 at 2:35 PM <sylvain.palous@gmail.com> wrote:
Yes on the UI : https://ibb.co/nMHfJz What do you about "browser console" ? The file /var/log/ovirt-engine/ui.log is empty _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/JKNFTKNVZGDJ2O...
-- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig>

There is any error : https://ibb.co/jN4XWK

Try this: https://kb.mailster.co/how-can-i-open-the-browsers-console/ On Sun, Aug 5, 2018 at 3:01 PM <sylvain.palous@gmail.com> wrote:
There is any error : https://ibb.co/jN4XWK _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/PAVX2THG5PDV5X...
-- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig>

It doesn't show any errors : https://ibb.co/cD2A1K Test with another site : https://ibb.co/cnVDMK

On Mon, Aug 6, 2018 at 6:25 AM <sylvain.palous@gmail.com> wrote:
It doesn't show any errors : https://ibb.co/cD2A1K
Thanks. This is a bug, so adding devel. So that console being empty + an empty ui.log means it's not a gwt problem. Are you logging in with the default admin user? Does it happen with English selected as the locale? Does it happen when you connect via a browser on the same machine? Can you try adding entries to /etc/hosts and connect via a hostname instead of IP? Adding @Ravi Nori <rnori@redhat.com> in case this is some known issue with connecting via IP.
Test with another site : https://ibb.co/cnVDMK _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FQZ5GDBFLJLQDF...
-- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig>

Are you able to login from the browser on same host you are running engine? Please check if the FQDN os the engine host is resolvable on the engine host and from the host you are trying to access the Web Admin Also do you have any other setup on Apache that is interfering with Apache redirecting the request to engine SSO? On Mon, Aug 6, 2018 at 7:22 AM, Greg Sheremeta <gshereme@redhat.com> wrote:
On Mon, Aug 6, 2018 at 6:25 AM <sylvain.palous@gmail.com> wrote:
It doesn't show any errors : https://ibb.co/cD2A1K
Thanks. This is a bug, so adding devel.
So that console being empty + an empty ui.log means it's not a gwt problem.
Are you logging in with the default admin user? Does it happen with English selected as the locale? Does it happen when you connect via a browser on the same machine? Can you try adding entries to /etc/hosts and connect via a hostname instead of IP?
Adding @Ravi Nori <rnori@redhat.com> in case this is some known issue with connecting via IP.
Test with another site : https://ibb.co/cnVDMK _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community- guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/ message/FQZ5GDBFLJLQDF2EXPCL5NXQAQUSMQTD/
--
GREG SHEREMETA
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
Red Hat NA
gshereme@redhat.com IRC: gshereme <https://red.ht/sig>

- I can't login, this error appears instantly when i reach https://192.168.1.100 - Same error with English as the locale : [root@RH7 ~]# localectl status System Locale: LANG=en_US.UTF-8 VC Keymap: fr-oss X11 Layout: fr X11 Variant: oss - Same error when i try via a browser on the ovirt server. - Added the server on my Windows Client and there is new error with the name instead of ip: error 400 Bad request For informations : [root@RH7 ~]# hostnamectl Static hostname: RH7.1 Icon name: computer-desktop Chassis: desktop Machine ID: XXXXXXXXXXXXXXXXXXXXXX Boot ID: XXXXXXXXXXXXXXXXXXXXXX Operating System: Red Hat Enterprise Linux CPE OS Name: cpe:/o:redhat:enterprise_linux:7.5:GA:server Kernel: Linux 3.10.0-862.9.1.el7.x86_64 Architecture: x86-64 Ovirt version : 4.2 http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm

Try the following 1. systemctl stop ovirt-engine 2. set hostname to rh71.domain.com 3. update /etc/hosts to add <ip> rh71.domain.com 4. Run engine-rename to change name to the new hostname /usr/share/ovirt-engine/setup/bin/ovirt-engine-rename 5. systemctl start ovirt-engine Now you can try accessing engine from web browser at rh71.domain.com On Mon, Aug 6, 2018 at 1:08 PM, <sylvain.palous@gmail.com> wrote:
- I can't login, this error appears instantly when i reach https://192.168.1.100
- Same error with English as the locale : [root@RH7 ~]# localectl status System Locale: LANG=en_US.UTF-8 VC Keymap: fr-oss X11 Layout: fr X11 Variant: oss
- Same error when i try via a browser on the ovirt server.
- Added the server on my Windows Client and there is new error with the name instead of ip: error 400 Bad request
For informations : [root@RH7 ~]# hostnamectl Static hostname: RH7.1 Icon name: computer-desktop Chassis: desktop Machine ID: XXXXXXXXXXXXXXXXXXXXXX Boot ID: XXXXXXXXXXXXXXXXXXXXXX Operating System: Red Hat Enterprise Linux CPE OS Name: cpe:/o:redhat:enterprise_linux:7.5:GA:server Kernel: Linux 3.10.0-862.9.1.el7.x86_64 Architecture: x86-64
Ovirt version : 4.2 http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community- guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/ message/MRRBNVQ3JWDY47CU2KUNR2GVA6FQOCH4/

Hello, I´ve got same error here, tried all above. Same screen like sylvain.palous@gmail.com and no logs.

Please share the contents of file /etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf and /etc/ovirt-engine/engine.conf.d/11-setup-sso.conf On Mon, Aug 6, 2018 at 2:22 PM, Klauber Lucilla <klucilla@gmail.com> wrote:
Hello, I´ve got same error here, tried all above. Same screen like sylvain.palous@gmail.com and no logs. _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community- guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/ message/HF6GG3TSZW4YPQGTPVDYKENXXLFLPOP4/

It works for me ! So, you need a hostname with a domain Update your /etc/hosts file on the server and the clients (C:\Windows\System32\drivers\etc\Hosts for Windows) Thanks a lot !

I think the problem was the host name with a "." in it "RH7.1" On Mon, Aug 6, 2018 at 3:27 PM, <sylvain.palous@gmail.com> wrote:
It works for me !
So, you need a hostname with a domain Update your /etc/hosts file on the server and the clients (C:\Windows\System32\drivers\etc\Hosts for Windows)
Thanks a lot ! _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community- guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/ message/BE5L6S6HLJEG4LWXH5KMNJJOMBHJSP3B/

Thanks Ravi! So this should have presented a helpful message to the user. Can you open a BZ and improve that error message? On Mon, Aug 6, 2018 at 3:51 PM Ravi Shankar Nori <rnori@redhat.com> wrote:
I think the problem was the host name with a "." in it "RH7.1"
On Mon, Aug 6, 2018 at 3:27 PM, <sylvain.palous@gmail.com> wrote:
It works for me !
So, you need a hostname with a domain Update your /etc/hosts file on the server and the clients (C:\Windows\System32\drivers\etc\Hosts for Windows)
Thanks a lot ! _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/BE5L6S6HLJEG4L...
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/MWBZMEDBYY6GRL...
-- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig>
participants (4)
-
Greg Sheremeta
-
Klauber Lucilla
-
Ravi Shankar Nori
-
sylvain.palous@gmail.com