reeeeeee
reeeeeee
CC#
Created by reeeeeee on 2/26/2024 in #help
ReCaptcha verify - The response ended prematurely
okay. Thank you for your help!
18 replies
CC#
Created by reeeeeee on 2/26/2024 in #help
ReCaptcha verify - The response ended prematurely
aha okay. I assume this should be done by sysadmin, or could I do that without any particular permissions?
18 replies
CC#
Created by reeeeeee on 2/26/2024 in #help
ReCaptcha verify - The response ended prematurely
ah yes i see. This is the error:
The certificate received from the remote server was issued by an untrusted certificate authority. Because of this, none of the data contained in the certificate can be validated. The TLS connection request has failed. The attached data contains the server certificate.
The SSPI client process is Ssms (PID: 10876).
The certificate received from the remote server was issued by an untrusted certificate authority. Because of this, none of the data contained in the certificate can be validated. The TLS connection request has failed. The attached data contains the server certificate.
The SSPI client process is Ssms (PID: 10876).
18 replies
CC#
Created by reeeeeee on 2/26/2024 in #help
ReCaptcha verify - The response ended prematurely
No description
18 replies
CC#
Created by reeeeeee on 2/26/2024 in #help
ReCaptcha verify - The response ended prematurely
sadly not.. i can access this server only from RDP inside RDP... I dont know how can i duplicate the issue
18 replies
CC#
Created by reeeeeee on 2/26/2024 in #help
ReCaptcha verify - The response ended prematurely
in debug, the application is sending reques to this site:
System.Net.Http.HttpClient.IReCaptchaService.LogicalHandler: Information: Start processing HTTP request POST https://www.google.com/recaptcha/api/siteverify
System.Net.Http.HttpClient.IReCaptchaService.ClientHandler: Information: Sending HTTP request POST https://www.google.com/recaptcha/api/siteverify
System.Net.Http.HttpClient.IReCaptchaService.LogicalHandler: Information: Start processing HTTP request POST https://www.google.com/recaptcha/api/siteverify
System.Net.Http.HttpClient.IReCaptchaService.ClientHandler: Information: Sending HTTP request POST https://www.google.com/recaptcha/api/siteverify
which can be opened in chrome for example, so idk why would it fail when calling from the API
18 replies
CC#
Created by reeeeeee on 2/26/2024 in #help
ReCaptcha verify - The response ended prematurely
ah yes, sorry... i am only getting this:
System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.IO.IOException: The response ended prematurely.
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.IO.IOException: The response ended prematurely.
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
18 replies
CC#
Created by reeeeeee on 2/26/2024 in #help
ReCaptcha verify - The response ended prematurely
Yeah ik, but I dont know what else could I say more... I am using var isCaptchaValid = await _recaptchaService.VerifyAsync(model.CaptchaResponse); and it throws and exception
System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.IO.IOException: The response ended prematurely.
System.Net.Http.HttpRequestException: An error occurred while sending the request.
---> System.IO.IOException: The response ended prematurely.
It works locally and on first server, but not on the second server. (I am using correct Captcha keys for specific domain)
18 replies
CC#
Created by reeeeeee on 1/11/2024 in #help
LDAP authentication stopped working for one user
Yes i logged everything so I could find anything useful.. which I can't, sooo... 😄
13 replies
CC#
Created by reeeeeee on 12/3/2023 in #help
How well do deployed .NET Framework apps handle .net update?
And adding an additional version shouldnt be a problem as well, right?
13 replies
CC#
Created by reeeeeee on 11/24/2023 in #help
Decoding RFID tag
ah so if two scanning apps show different results it doesnt mean either of them is wrong, it just means that they interprete it differently? There would be multiple types of RFID card, I dont know upfront which types will be used..
6 replies
CC#
Created by reeeeeee on 11/24/2023 in #help
Decoding RFID tag
Sorry for "short" post, but i really don't know what else could i add that would be actually helpful.
6 replies
CC#
Created by reeeeeee on 7/7/2023 in #help
✅ Problems with NHibernate, FluentNHibernate, StructureMap
Holy shit this was depressing... Finally found it, it was problem with PostSharp reference. I am not entirely sure why do I need it separately, becuase my project doent use it, but looks like the FLuentNHIbernate was using it so my project needed reference to it as well. Actually, it already had it, but looks like it was broken or something, so when I readded it, it worked. 😄 Thanks for the advice, had to improve my exception handling to catch that loadedException 😄
7 replies
CC#
Created by reeeeeee on 7/7/2023 in #help
✅ Problems with NHibernate, FluentNHibernate, StructureMap
the code which is executing is this:
return NHDatabaseConfiguration.Configure()
.Database(() =>
DatabaseConfigurer.GetConfigurer(TSeConfiguration.GetServerKind(), StandardDatabaseCredentialStore.Default)
)
.Mappings(mappings => mappings.FluentMappings
.AddFromAssemblyOf<Setting>()
.AddFromAssemblyOf<ApplicationApiKeyMap>()
.AddFromAssemblyOf<Logging.Auditing.AuditEntryMap>()
.AddFromAssemblyOf<DataAccess.Mappings.UserMap>()
.Conventions
.Add<EnumAsIntConvention>()
)
.CreateFactory();
return NHDatabaseConfiguration.Configure()
.Database(() =>
DatabaseConfigurer.GetConfigurer(TSeConfiguration.GetServerKind(), StandardDatabaseCredentialStore.Default)
)
.Mappings(mappings => mappings.FluentMappings
.AddFromAssemblyOf<Setting>()
.AddFromAssemblyOf<ApplicationApiKeyMap>()
.AddFromAssemblyOf<Logging.Auditing.AuditEntryMap>()
.AddFromAssemblyOf<DataAccess.Mappings.UserMap>()
.Conventions
.Add<EnumAsIntConvention>()
)
.CreateFactory();
7 replies
CC#
Created by reeeeeee on 7/7/2023 in #help
✅ Problems with NHibernate, FluentNHibernate, StructureMap
could be something in webconfig? or any other config?
7 replies
CC#
Created by reeeeeee on 6/24/2023 in #help
❔ Razor pages - Filtering data (shown in table) by some random filters
Aight, I guess we are keeping it the same way, thanks for help!
18 replies
CC#
Created by reeeeeee on 6/24/2023 in #help
❔ Razor pages - Filtering data (shown in table) by some random filters
Yeah I kinda know how its done - I have an older project which did this, but it was made like 7 years ago, still using .net framework.. so I was looking if there is any "newer/better" way to do it (and not spend 2x time for research than an actual development)
18 replies
CC#
Created by reeeeeee on 6/24/2023 in #help
❔ Razor pages - Filtering data (shown in table) by some random filters
which one is the most common practice?
18 replies
CC#
Created by reeeeeee on 6/24/2023 in #help
❔ Razor pages - Filtering data (shown in table) by some random filters
hmm... is there any benefit generating it on the API vs generating it in JS? Or vice versa?
18 replies
CC#
Created by reeeeeee on 6/24/2023 in #help
❔ Razor pages - Filtering data (shown in table) by some random filters
I have one more question regarding filtering.. As mentioned above, on first load I load whole page with table data. After entering some data, how should I handle this filter submit: - action which redirects to Controller with filters, which will redirect to url like localhost/Controller?serial=S00123. This, I assume, will refresh a whole page and load new content. - ajax request: this would call the same controller action as above, but would then get data in JS,where I would need to manually generate table. Honestly, I would rather take the first one, since generating html data in js might be pretty ugly.. But I really like reloading content without refreshing whole page.. Can I do some kind of mix of those two options, or is there any othe option?
18 replies