-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu #152
Comments
You should checkout the server's logs and at least you should see what's the response of the requested image. Open the network's tab of the browser's developer tools and see the responses. |
"GET /DNTCaptchaImage/Show?data=Lq3czSmPZ4-ohUzc_YK2e61LhT3DNUM1gPIaQo1mN_qo6chFrNMUkntpxoaQDfs1eYkg1FidTeKByuqmL87OGw HTTP/1.1" 400 Bad Request |
On my local and windows host, everthing works well but I've had problems on ubuntu linux and the image doesn't display properly Error is : Couldn't deserialize the model. |
This means something is cutting/changing some parts of the query string and on the server, this corrupted data can't be decrypted properly. Do you have any filter here such as |
I found this in my logs : Failed to show the captcha image. |
|
I use this version Include="DNTCaptcha.Core" Version="4.3.3" |
You should use a custom font for Linux systems, because they don't have the Tahoma by default. |
Summary of the issue
In Ubuntu Linux Captcha not displaying image
I Did " Linux (and containers) support" this too.
net Core 6
![image](https://private-user-images.githubusercontent.com/15322304/241950933-655e7b03-819b-4c98-a313-4050e4794dd2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxMDY2MDEsIm5iZiI6MTcyNjEwNjMwMSwicGF0aCI6Ii8xNTMyMjMwNC8yNDE5NTA5MzMtNjU1ZTdiMDMtODE5Yi00Yzk4LWEzMTMtNDA1MGU0Nzk0ZGQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDAxNTgyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkwZGUwNjE4MDNmNzgwYTU3ZDJiZjExZmIwMDY4ZjA2YTFhNjJiMjBjOWQ2OTBlODRjYTIwMzI3MTk0NWY1MWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.p33utoS1wtyPrrkZmqw19ybZdZWwwJw25lCWpvM3e6U)
ubuntu 22.04
DNTCaptcha.Core 4.3.3
The text was updated successfully, but these errors were encountered: