import asyncio, aiohttp, json

BODY = {"email": "qa-probe@example.com", "name": "QA", "masterPasswordHash": "AAAA",
        "masterPasswordHint": None, "key": "2.aaaa", "kdf": 0, "kdfIterations": 600000}

async def main():
    tout = aiohttp.ClientTimeout(total=15)
    async with aiohttp.ClientSession(timeout=tout, headers={"User-Agent": "Mozilla/5.0"}) as s:
        for base in ("https://129.153.62.97", "https://129.153.62.97:443"):
            for path in ("/api/config", "/identity/accounts/register", "/identity/accounts/prelogin"):
                try:
                    m = s.post if path.endswith("register") else s.get
                    kw = {"json": BODY} if path.endswith("register") else {}
                    async with m(base + path, ssl=False, **kw) as r:
                        t = await r.text()
                    print(f"{base}{path} -> {r.status} {t[:110]!r}")
                except Exception as e:
                    print(f"{base}{path} -> ERR {type(e).__name__}")
            break

asyncio.run(main())
