• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Autologin problem with IPv6

multikreher

New Pleskian
Hello all,

I am currently working on an automatic login for different Plesk servers for my final project in my apprenticeship.

Everything works as expected only I have one problem!

I make the XML request as described in the documentation. It also works and gives me a token to create a login link.
Request looks like this:

XML:
  <packet version="1.6.9.1">
    <server>
      <create_session>
        <login>${loginData.user}</login>
        <data>
          <user_ip>${loginIp}</user_ip> // in BASE64
          <source_server></source_server>
        </data>
      </create_session>
    </server>
  </packet>

I am currently running the application locally on my pc.

Now about the problem:
I create the login link and it works fine. But when I try to log in to my network at home or via a hotspot with the link, it only redirects me, but does not log me in as usual.
At home my network uses IPv6 by default.

when I force my PC to use IPv4 the link works again as usual.
But now it's getting funny. At work it works with IPv6 too. In addition, the servers are not located locally.

Does anyone have any idea what the problem is?

Thanks for reading :)
 
I have found a way to do it differently. With the help from the user mjauvin and the Rest API!

 
Back
Top