Issue in getting responses from API
-
@admin
I am continuously getting error while login and fetching orderBook.
Due to this, I'm unable to place orders using my application.
What causes this error to occur? and how should I resolve this?Error is:
" Invalid return character or leading space in header: X-ClientPublicIP "Hoping for a speedy response.
-
@James-Bond
python 3.6
pip 19.0.3 -
First try to install
pip3 install cryptographyand then try
pip3 install pyOpenSSLIf you get error while installing latest cryptography lib, then use previous version,
pip install cryptography==2.9.1Run this commands and if error persist, please attach screenshot here.
Which python version you're using ?This is not a big issue to solve but I can't help you much without knowing which Python version you're using.
-
@James-Bond
Getting this error from long time.
-
@sayed
Confirm your Python and pip version you're using and then try. If you're using Python > 3, use pip3 to install pyOpenSSL. -
@sayed
type this in cmd : pip install pyOpenSSL -
@rajanprabu if i use angel python sdk i receive this errors
from OpenSSL import SSL
ModuleNotFoundError: No module named 'OpenSSL'Even after installing OpenSSL it is showing same.
-
@rajanprabu okay
-
@sayed I don't give the headers myself.. I just use the python SDK provided by Angel. It works just fine..
-
@rajanprabu
hi can u explain what this error is?,
res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11004] getaddrinfo failed -
This occurs everyday for me..
-
@leena-1234 said in Issue in getting responses from API:
" Invalid return character or leading space in header: X-ClientPublicIP "
It's most probably server side issue. I also came across same problem today.