andrewbyrley
08/06/2023, 4:32 PMapi_domain
on my python backend to be an AWS Public IPv4 DNS address is throwing this error?
Traceback (most recent call last):
...
File "/home/andrew/PycharmProjects/reminderFastApi/venv/lib/python3.10/site-packages/supertokens_python/__init__.py", line 35, in init
return Supertokens.init(
File "/home/andrew/PycharmProjects/reminderFastApi/venv/lib/python3.10/site-packages/supertokens_python/supertokens.py", line 209, in init
Supertokens.__instance = Supertokens(
File "/home/andrew/PycharmProjects/reminderFastApi/venv/lib/python3.10/site-packages/supertokens_python/supertokens.py", line 157, in __init__
self.app_info = AppInfo(
File "/home/andrew/PycharmProjects/reminderFastApi/venv/lib/python3.10/site-packages/supertokens_python/supertokens.py", line 108, in __init__
self.top_level_api_domain = get_top_level_domain_for_same_site_resolution(
File "/home/andrew/PycharmProjects/reminderFastApi/venv/lib/python3.10/site-packages/supertokens_python/utils.py", line 279, in get_top_level_domain_for_same_site_resolution
raise Exception(
Exception: Please make sure that the apiDomain and websiteDomain have correct values
andrewbyrley
08/06/2023, 4:33 PMAPI_DOMAIN='http://ec2-18-XXX-XXX-145.compute-1.amazonaws.com'
WEBSITE_DOMAIN='https://www.reminderloop.com'
andrewbyrley
08/06/2023, 4:34 PMandrewbyrley
08/06/2023, 4:35 PMrp_st
08/07/2023, 5:55 AMKShivendu
08/07/2023, 7:44 AMec2-xx-yyy-zzz-0.compute-1.amazonaws.com
, which is a bit suprising. I'll look into this but in the the meantime, you can use the normal public ipv4 address (ex: 54.172.238.0
)andrewbyrley
08/07/2023, 12:09 PMrp_st
08/07/2023, 12:10 PMandrewbyrley
08/07/2023, 5:09 PMrp_st
08/07/2023, 5:47 PM