Hi there,
we are experiencing strange behavior of our application in an Azure Environment. At first the application is working as intended. Any request gets to the point where AbpUserConfiguration/GetAll is pending until a HTTP 500 error is returned.
The developer console shows the following (sensible information blurred):
We have already checked the logs, but there are no ERRORS/FATALS and all the INFO/DEBUG entries are looking good. I won't upload the logs here since they contain sensible information. If necessary I am willing to mail them.
Also we are unable to reproduce this error locally, it seems to be an Azure problem.
We are using Boilerplate version 4.5.0 and Zero version 6.9.1.
I hope you can help out with that problem and if you need more information please let me know.
Best regards
5 Answer(s)
-
0
hi
If the server returns a 500 error, in general there will be an error log in the log.
Can you share your log with me? [email protected] If your angular has a url I can access, please share it with me at the same time.
-
0
It is hard for us to understand with such a limited info. Can you request the
AbpUserConfiguration/GetAll
URL seperately and see logs. You can share the logs with us ([email protected]) so we try to understand it.I suppose this is an Angular application. One potential problem can be the database connection. Please double check it. Maybe it timeouts. How many seconds it gets until you get HTTP 500?
-
0
hi kpmg
May be related to this: https://github.com/aspnetboilerplate/aspnetboilerplate/issues/4235#issuecomment-465961924
-
0
Yes, this is an Angular application. I've sent you the logs so you have a better understanding from what is happening.
There are some CORS issues in these logs, but we were able to resolve them.
@maliming We have some of those labels in our application and I have replaced them now with proper ones. If this helps I will inform you.
@hikalkan It takes about 240 seconds until we get the HTTP 500. If we increase the timeout, the HTTP error gets delayed too
-
0
Hi @kpmg
Thank you for sharing the applicaiton logs. There are several error logs but none of them seems related to this issue. Your problem might be related to https://github.com/aspnetzero/aspnet-zero-core/issues/2538. Referencing Microsoft.AspNetCore.App on your host project and re-deploying the host project might solve your problem. Could you try that ?
You can also check the pull request for this issue https://github.com/aspnetzero/aspnet-zero-core/pull/2584/files
Thanks,