Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Getting server domain/address/subdomain doesn't work #104

Open

Description

@pythoncat1

When trying to access atserver.domain, atserver.subdomain, or atserver.address this error happens:

Traceback (most recent call last):
  File "c:\Users\pcat1\Programs\aternos\start.py", line 10, in <module>
    print(srvs[1].subdomain)
          ^^^^^^^^^^^^^^^^^
  File "C:\Users\pcat1\AppData\Roaming\Python\Python311\site-packages\python_aternos\atserver.py", line 277, in subdomain
    atdomain = self.domain
               ^^^^^^^^^^^
  File "C:\Users\pcat1\AppData\Roaming\Python\Python311\site-packages\python_aternos\atserver.py", line 311, in domain
    return self._info['ip']
           ~~~~~~~~~~^^^^^^
KeyError: 'ip'

Activity

  1. added
    updateAternos API or security methods were changed
    on Nov 18, 2023
  2. mqopi commented on Nov 22, 2023

    @mqopi

    same

  3. broseraf228 commented on Nov 29, 2023

    @broseraf228

    I have the same problem but atserver._info is empty(equal {})

  4. fedehc commented on Feb 14, 2024

    @fedehc

    Same here.

  5. pythoncat1 commented on Feb 14, 2024

    @pythoncat1
    Author

    Same here.

    I recommend not using this, my aternos account recently got banned due to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    updateAternos API or security methods were changed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions