Open Dan-Do opened 2 years ago
After changing to Duo::State::Idle
, it compiled ok. But there is exeption:
Unhandled exception: (Duo::Error)
from /home/ali33/lib/duo/src/duo/connection.cr:217:9 in 'read_frame_header'
from /home/ali33/lib/duo/src/duo/connection.cr:62:7 in 'call'
from /home/ali33/lib/duo/src/duo/client.cr:33:7 in 'initialize'
from /home/ali33/lib/duo/src/duo/client.cr:10:5 in 'new'
Is the client
usable when connecting to other host other than localhost?
I manually changed the max_frame_size
value, then it can connect to the server. But the server responded with message HTTP/1.1 400 Bad Request\r\nDate: Tue, 30 Nov 2021 09:11:31 GMT\r\nContent-Type: text/html; charset=UTF-8\r\nContent-Length: 166\r\nConnection: close\r\n\r\n<html>\r\n<head><title>400 Bad Request</title></head>\r\n<body bgcolor=\"white\">\r\n<center><h1>400 Bad Request</h1></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n
@Dan-Do thanks for reporting this. Let me know if you have a fix for this if yes
feel free to create a PR
Allow me a few days to look into this issue.
@Dan-Do thanks for reporting this. Let me know if you have a fix for this if
yes
feel free to create a PR
No, I tried but no solutions works. Now I have to move to libcurl.
When compiling the client