diff --git a/requirements.txt b/requirements.txt
index 1310108e..703d1f25 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -21,6 +21,7 @@ pyqryptonight>=0.99.9
 pyqrandomx>=0.3.0,<1.0.0
 Flask>=1.0.0,<=1.1.2
 json-rpc==1.10.8
+idna==2.6
 cryptography==2.3
 mock==2.0.0
 daemonize==2.4.7
diff --git a/setup.cfg b/setup.cfg
index 60cd5ff2..2910f5df 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -47,6 +47,7 @@ install_requires =
     pyqrandomx>=0.3.0,<1.0.0
     Flask>=1.0.0,<=1.1.2
     json-rpc==1.10.8
+    idna==2.6
     cryptography==2.3
     mock==2.0.0
     daemonize==2.4.7