Sometimes log error status 0 appears. From the log below, can you help me determine the cause?
ERROR {
"headers": {
"normalizedNames": "[Map]",
"lazyUpdate": null,
"headers": "[Map]"
},
"status": 0,
"statusText": "Unknown Error",
"url": [URL],
"ok": false,
"name": "HttpErrorResponse",
"message": "Http failure response for [URL]: 0 Unknown Error",
"error": {
"isTrusted": true
- ABP Framework version: v8.3.2
- UI Type: Angular
- Database System: MySQL
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace:
- Steps to reproduce the issue:
26 Answer(s)
-
0
Hi,
Can you share the full applicaation error logs
-
0
@liangshiwei pls give me your email, i will sent log file to email
-
0
Hi,
my email is shiwei.liang@volosoft.com
-
0
@liangshiwei i sent log to your email, pls check it
-
0
-
0
open , write
-
0
sorry, i didn't get it.
-
0
Sorry...! We've entered text to keep the page open.
Please wait a little longer.
-
0
@liangshiwei It seems that because the server cannot be connected, API returns an error with status 0. There is only the client side log as I originally sent. This problem happens quite often so I don't think the cause is the internet.
-
0
-
0
-
0
Hi,
So I think this http status code 0 error is not related to the db connection being temporarily interrupted :(
Make sense, but I didn't see any error message in logs about http code 0
-
0
@liangshiwei Thank you for your help, I think you won't be able to find http status code 0 from auth server log (netcore), api server log (netcore)
Because this is an angular client issue where the request cannot go to the server or is canceled for some reason
With my limited understanding, I can sometimes reproduce this error when the browser has an unstable internet connection (I try disconnecting the internet then operating on the angular app, I will see the status code http 0).
However, I would like to find another cause
-
0
Hi,
Okay, If so, it's a network problem; the requests are not even sent to the backend.
-
0
-
0
We can invite you to our datadog. Want to see datadog first-hand?
-
0
Hi,
Could there be a cause on the ABP side?
I'm not sure, but I have never seen this problem on the support website before.
We can invite you to our datadog.
sure, please
-
0
・あなたのメールアドレスに招待状が送信されました。
・以下は0エラーの一覧です。 https://ap1.datadoghq.com/rum/sessions?query=%40type%3Aerror%20%40application.id%3Adf488732-043f-48ca-ba63-5561fe80a05e%20env%3Aprod%2 0%40error.message%3A%2A%5C%22status%5C%22%5C%3A%5C%200%2A&agg_m=count&agg_m_source=base&agg_t=count&cols=&fromUser=true&graphType=wate rfall&p_tab_h_event=AwAAAZNHUvZUwcEdawAAABhBWk5IVXZxMEFBQTJiNTRkcWR1RENRQUQAAAAkMDE5MzQ3NjUtOTU3Zi00MjVlLWE0NjEtYjcwY2UwZGE0ZWI4AAAEFg &panel_tab=flamegraph&shouldShowLegend=true&spanViewType=logs&track=rum&viz=stream&from_ts=1731471475700&to_ts=1732076275700&live=true
-
0
Hi,
Thanks, I can login to datadog, how do I to use it to check.
-
0
As for the screenshot and content, for example, there is an error like the one below. https://bit.ly/491MYKI
I'm sure you don't know the cause, but is there any way to deal with it?
-
0
Hi,
Yes, I can see many error records. But it's not enough to find the problem.
You can try check the webserver(nginx, IIS etc.) logs, maybe you can find something.
-
0
I wish I could find something in there, but logically, the nginx web server no longer plays a role in this issue because:
- nginx webserver has served js resource to the browser
- js code (angular app) execute on browser remote call to auth server, api server and some time we got http status 0
And i double check api | auth server log on datadog link here But couldn't find anything useful
-
0
for example, the following URL is the web server log when 0error occurred, but there was no error. https://bit.ly/4fEme5i
I don't need to know the cause, but is there any way to deal with it?
-
0
Hi,
Sorry, but I can't find anything.
-
0
You can try to check if this issue can be reproduced locally or in other environments.