An error occurred while sending a logout request to the vcenter single sign on server

Solution: But your screenshot shows you using only the NetBIOS name and this is why it is not working.The error is also advising you what to do"Verify that the

check
Best Answer

  • Author Rod McGarrigle

    pure capsaicin

    VMware Expert

    • check
      360
      Best Answers
    • thumb_up
      999
      Helpful Votes

    But your screenshot shows you using only the NetBIOS name and this is why it is not working.

    The error is also advising you what to do

    «Verify that the server URL is correct and is in FQDN format»


    Was this post helpful?
    thumb_up
    thumb_down

  • View Best Answer in replies below

    10 Replies

    • Author Rod McGarrigle

      pure capsaicin

      VMware Expert

      • check
        360
        Best Answers
      • thumb_up
        999
        Helpful Votes

      I never understand why people do this in workstation, but your DNS FQDN needs to be correct and you need to be able to resolve the DNS name of the VCSA server.

      https://servername.domain.com Opens a new window not simply https://servername/ Opens a new window this doesn’t work with SSO

      Both your forward and reverse DNS must exist for this VCSA and your VCSA must be able to see it in DNS using the DNS servers you configured.

      It is by design this does not work with only the NetBIOS name.


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Huud Rych

      both forward and reverse lookups are resolving fine for the vCenter FQDN..


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Rod McGarrigle

      pure capsaicin

      VMware Expert

      • check
        360
        Best Answers
      • thumb_up
        999
        Helpful Votes

      But your screenshot shows you using only the NetBIOS name and this is why it is not working.

      The error is also advising you what to do

      «Verify that the server URL is correct and is in FQDN format»


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Huud Rych

      The screenshot happened to have been taken after the webclient.properties file was changed to see if it accepts w-vcsa-sddc.

      Whether I use https://servername.domain.com Opens a new window or  https://servername/ Opens a new window the result is the same as in the screenshot.


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Rod McGarrigle

      pure capsaicin

      VMware Expert

      • check
        360
        Best Answers
      • thumb_up
        999
        Helpful Votes

      I can’t say I’ve ever named a VCSA with hyphens, your issue could be related to this if it works with an IP.

      Since this is clearly a lab, you could try again without hyphens


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Huud Rych

      Thanks I’ll try it out and update accordingly..


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Huud Rych

      So I got this working, by using FQDN in initial VMware Workstation setup window instead of using IP unlike vCenter 6.7 which works fine even if IP address is used.

      Image: post content

      Image: post content

      Thanks..


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Rod McGarrigle

      pure capsaicin

      VMware Expert

      • check
        360
        Best Answers
      • thumb_up
        999
        Helpful Votes

      So you did as both myself and the error suggested, yet you get the credit?


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Huud Rych

      My apologies I got excessively happy of the problem being resolved while forgetting the help provided..

      Thanks again Rod-IT​ 😀


      Was this post helpful?
      thumb_up
      thumb_down

    • Author Rod McGarrigle

      pure capsaicin

      VMware Expert

      • check
        360
        Best Answers
      • thumb_up
        999
        Helpful Votes

      FYI, I was not interested so much in the points or the BA, just noting it as people will only help if they get credit for doing so.

      Glad to see it’s sorted though


      1 found this helpful
      thumb_up
      thumb_down

    vSphere Web Client, [400] An error occurred

    Hi All,

    Today I am trying to access my vSphere Web client with my AD account.

    I got the following error:-

    int

    • The VMware vSphere Web Client displays the error:

      A server error occurred.

      [400] An error occurred while processing the authentication response from the vCenter Single Sign-On server. Details: Status: urn:oasis:names:tc:SAML:2.0:status:Responder, sub status: null.

    Check the vSphere Web Client server logs for details.

    • The %ALLUSERSPROFILE%VMWarevCenterServerlogsssovmware-sts-idmd.log file contains errors similar to:

      [YYYY-MM-DDT<Time> vsphere.local        c006bcab-1db9-43ea-bf27-ca8e6ab45251 INFO ] [VmEventAppender] EventLog: source=[VMware Identity Server], tenant=[vsphere.local], eventid=[USER_NAME_PWD_AUTH_FAILED], level=[ERROR], category=[VMEVENT_CATEGORY_IDM], text=[Failed to authenticate principal [vcenter@domain]. Access denied], detailText=[com.vmware.identity.idm.IDMLoginException: Access denied

    This issue occurs when the domain in which the user you are attempting to log in does not exist as a VMware vCenter SSO identity source.

    For more reference VMware KB 2111354

    I resolved the issue, Added the AD authentication to my SSO service.

    Thanks for reading, If you like the post share to others!!!!

    This entry was posted in VMware KEDB. Bookmark the permalink.

    After fixing a failed SSD of one of my lab-hosts I had some minor issues with my vCenter. Whenever I logged on into it I received this error.

    vCenter error 400

    “[400] An error occured while sending an authentication request to the vCenter Single Sign-On server – An error occured when processing the metadate during vCenter Single Sign-On setup – null.”

    fair enough I checked the :5480 VAMI of my PSC and vCenter and the vCenter showed me the SSO was not initialized.


    Screen Shot 2016-05-01 at 17.30.03

    BUUUUT, I figured out that this message is completly ok as long as you are having a distributed installation with a dedicated Platform Service Controller (PSC) virtual machine.

    –> Let’s grab some log-files of the webclient.

    Screen Shot 2016-05-06 at 17.28.19

    “the time now …. does not fall in the request lifetime interval extended with clock tolerance of 600000 ms: … This might be due to a clock skew problem.”

    So what was the problem. My ESXi host had some time-differences within each other based on a longer-outage I had within my home-lab. When I replaced my SSD I did not adjusted my bios-clock and therefore my repaired ESXi host did not match the others. Now the chain reaction takes place. In my lab-environment the vCSA (vCenter and PSC) take their time via VMware-tools based on the ESXi host clock.

    –> vCenter was running on ESXi 1 && PSC on ESXi 2 –> Time difference > 60 seconds

    So verify your ESXi host are having the correct time –> Make sure you have vCSA time-sync configured via NTP or VMware tools and verify the correct settings via the VAMI.

    VAMI VAMI

    –> Once again it’s  always(97%) time and DNS :-)

    Screen Shot 2016-05-06 at 23.53.27

    Recently, I took over management of some servers, and I can no longer connect to our vCenter to manage our VMs. We don’t have SSO and as far as I know, we only have one account «admin».

    When I go on the web using server name, I get error as below:

    A server error occurred.
    [400] An error occurred while sending an authentication request to the vCenter Single Sign-On server — An error occurred when processing the metadata during vCenter Single Sign-On setup — null.

    Check the vSphere Web Client server logs for details»

    When use IP of the sever, I get following error:

    [400] An error occurred while sending a logout request to the vCenter Single Sign-On server — An error occurred when processing the metadata during vCenter Single Sign-On setup — null. Back to login screen

    I see a 90 policy enforced, however nothing I do seems to resolve the issue.

    Solutions i have tried so far and did not help:
    restarting the server, reset password, I have check the logs and nothing to be found of recent. last logs were from 2019. the problem started monday 8/0602020 etc.

    IMG:

    IMG:

    I have got an issue after I have restarted my vCenter VM in my ESXi Host. The error says:
    [400] An error occurred while sending an authentication request to the vCenter Single Sign-On server — An error occurred when processing the metadata during vCenter Single Sign-On setup — Failed to connect to VMware Lookup Service — https://10.20.30.50:443/lookupservice/sdk

    I tried to find something googling but unfortunately, I couldn’t find anything…
    Could someone please help me? I can’t believe, that just a restart can provide this kind of issues… :(

    asked Sep 8, 2021 at 4:26

    caesim's user avatar

    https://kb.vmware.com/s/article/71387

    This is an expected behavior.
    VMware vSphere 7.0 enforce FQDN or IP address reverse resolvable to FQDN to allow authentication for Single-Sign on.

    answered Apr 8, 2022 at 23:36

    ronin's user avatar

    roninronin

    111 bronze badge

    1

    There is a problem with the vCenter’s service discovery and the vSphere Client basically cannot find its authentication service.

    Try to restart VMware Lookup Service from the vCenter Server Management UI (the one on port 5480), subsection Services. If the problem persists, check the lookup service logs. If running the vCenter appliance and not Windows, they should be somewhere under /var/log/vmware

    Have you changed fundamental configuration of vCenter before restart e.g. changing the vCenter host name or root certificates?

    Did you contact VMware support?

    answered Sep 25, 2021 at 17:51

    tony.ganchev's user avatar

    Недавно столкнулся с ситуацией, что перестал работать VCenter (в моём случае версия 6.5 – VCSA, но подобное может быть с любой версией не зависимо от платформы).

    При попытке зайти как под доменной учёткой, так и под локальным админом – не проходила проверка подлинности – постоянно писало – сперва, что неправильные имя пользователя или пароль, а затем и вовсе, что требуется ввести имя пользователя и пароль, хотя они само собой были введены.

    Неожиданно перестало пускать в VCenter - ошибка 503, введите имя пользователя и пароль, не стартуют службы vmware-vpxd и vmware-vpxd-svc  - неверный пароль

    Неожиданно перестало пускать в VCenter - ошибка 503, введите имя пользователя и пароль, не стартуют службы vmware-vpxd и vmware-vpxd-svc  - введите пароль

    После попытки перезагрузить сервер или все службы командами service-control —stop —all и service-control —start —all добрая половина служб не запускалась, при этом на главной странице vcenter – выскакивала ошибка 503

    Неожиданно перестало пускать в VCenter - ошибка 503, введите имя пользователя и пароль, не стартуют службы vmware-vpxd и vmware-vpxd-svc  - ошибка 503 при попытки зайти в vcenter

    При переходе по адресу vcenter/ui – появлялась ошибка

    [400] An error occurred while sending an authentication request to the vCenter Single Sign-On server. An error occurred when processing the metadata during vCenter Single Sign-on setup – null.

    Неожиданно перестало пускать в VCenter - ошибка 503, введите имя пользователя и пароль, не стартуют службы vmware-vpxd и vmware-vpxd-svc  - ошибка 400 при попытки зайти в ui

    В моём случае проблема оказалась в протухшем STS сертификате. Далее я пишу для своего случая, именно для VCSA, если у вас vCenter на винде, то читайте KBшки, ссылки на которые указаны, там есть описания, что делать для виндовых случаев.

    Чтобы посмотреть срок действия STS сертификатов нужно скачать скрипт из KB VMWare. На всякий случай скопировал его.

    Скачать можно при помощи wget, ну или закинуть на сервере через WinSCP, ну или просто скопировать текст скрипта и вставить в файл на сервере.

    Запускается он командой:

    python checksts.py

    После выполнения будут отображены действительные и просроченные STS сертификаты. Если найдется просроченный сертификат, то внизу будет подсказка на какую KB стоит посмотреть.

    Неожиданно перестало пускать в VCenter - ошибка 503, введите имя пользователя и пароль, не стартуют службы vmware-vpxd и vmware-vpxd-svc  - писк просроченных STS сертификатов

    В этой KB имеется скрипт, на всякий случай – копия, для обновления просроченных STS сертификатов, конечно как водится, перед запуском чего-бы то ни было – рекомендуется сделать бэкапы, снапшоты и т.д и т.п. Также обратите внимание, что если у вас в одном SSO домене находится несколько vCenter серверов – то запускать скрипт нужно только на одном.

    В общем качаем скрипт, делаем его исполняемым и запускаем:

    chmod +x fixsts.sh
    ./fixsts.sh
    

    Если всё пройдет без ошибок – можно пробовать перезапустить все службы:

    service-control --stop --all
    service-control --start --all
    

    Если окажется, что есть еще какие-нибудь протухшие сертификаты, то службы всё равно могут не стартануть. Найти все просроченные сертификаты поможет команда:

    for i in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list); 
    do echo STORE $i; 
    /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $i --text | 
    egrep "Alias|Not After"; done
    

    Соответственно нужно будет такие сертификаты обновить и снова попробовать перезапустить все службы. Либо, можно пойти простым и топорным путём, и перевыпустить вообще все сертификаты:

    /usr/lib/vmware-vmca/bin/certificate-manager

    Тут нужно будет выбрать 8й пункт, и далее следовать инструкциям на экране. Но используйте эту команду на свой страх и риск, если используются сторонние сервисы/плагины/кастомизированные шаблоны то это дело скорее всего нужно будет перенастраивать.

    Неожиданно перестало пускать в VCenter - ошибка 503, введите имя пользователя и пароль, не стартуют службы vmware-vpxd и vmware-vpxd-svc  - certificate-manager

    После описанных выше действий у меня vCenter починился, и работает нормально. Вообще какое-то странное решение у VMWare с этим ультраважным сертификатом. Возникает вопрос – почему нельзя было сделать, что б он автоматически перевыпускался, когда походит к концу срок его действия?

    Понравилась статья? Поделить с друзьями:

    Читайте также:

  • An error occurred while saving the snapshot object type requires hosted i o
  • An error occurred while saving the snapshot a required file was not found
  • An error occurred while saving the project vegas
  • An error occurred while saving the project file
  • An error occurred while saving the entity changes see the inner exception for details

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии