Starts in:
3 DAYS
0 HR
53 MIN
21 SEC
Starts in:
3 D
0 H
53 M
21 S

Activities of "portx-dev"

@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

@Anjali_Musmade previously the .suite folder was in /aspnet-core but now aspnet-core no longer exists. Is that the reason?

{
  "name": "PortX",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start-subdomain": "ng serve --host apps.portx-test.com --disable-host-check --configuration subdomain",
    "start": "ng serve --open",
    "build": "ng build",
    "build:prod": "ng build --configuration production",
    "watch": "ng build --watch --configuration development",
    "test": "ng test",
    "lint": "ng lint",
    "coverage": "ng test --no-watch --code-coverage"
  },
  "private": true,
  "dependencies": {
    "@abp/ng.components": "~8.3.3",
    "@abp/ng.core": "~8.3.3",
    "@abp/ng.identity": "~8.3.3",
    "@abp/ng.oauth": "~8.3.3",
    "@abp/ng.setting-management": "~8.3.3",
    "@abp/ng.theme.shared": "~8.3.3",
    "@abp/signalr": "~8.3.3",
    "@angular/animations": "^18.2.9",
    "@angular/cdk": "^18.2.10",
    "@angular/common": "^18.2.9",
    "@angular/compiler": "^18.2.9",
    "@angular/core": "^18.2.9",
    "@angular/forms": "^18.2.9",
    "@angular/localize": "^18.2.9",
    "@angular/material": "^18.2.10",
    "@angular/platform-browser": "^18.2.9",
    "@angular/platform-browser-dynamic": "^18.2.9",
    "@angular/router": "^18.2.9",
    "@angular/service-worker": "^18.2.9",
    "@ckeditor/ckeditor5-angular": "^6.0.1",
    "@ckeditor/ckeditor5-build-classic": "^38.0.1",
    "@datadog/browser-rum": "^5.26.0",
    "@ng-select/ng-select": "^13.9.1",
    "@volo/abp.commercial.ng.ui": "~8.3.3",
    "@volo/abp.ng.account": "~8.3.3",
    "@volo/abp.ng.audit-logging": "~8.3.3",
    "@volo/abp.ng.file-management": "~8.3.3",
    "@volo/abp.ng.gdpr": "~8.3.3",
    "@volo/abp.ng.identity": "~8.3.3",
    "@volo/abp.ng.language-management": "~8.3.3",
    "@volo/abp.ng.openiddictpro": "~8.3.3",
    "@volo/abp.ng.saas": "~8.3.3",
    "@volo/abp.ng.text-template-management": "~8.3.3",
    "@volosoft/abp.ng.theme.lepton-x": "~3.3.3",
    "apexcharts": "^4.0.0",
    "exceljs": "^4.3.0",
    "file-saver": "^2.0.5",
    "jszip": "^3.10.1",
    "moment-timezone": "^0.5.43",
    "ng-apexcharts": "^1.12.0",
    "ngx-extended-pdf-viewer": "^21.3.5",
    "ngx-spinner": "^16.0.2",
    "rxjs": "^7.8.1",
    "tslib": "^2.1.0",
    "xlsx": "^0.18.5",
    "zone.js": "~0.14.2"
  },
  "devDependencies": {
    "@abp/ng.schematics": "~8.3.3",
    "@angular-devkit/build-angular": "^18.2.10",
    "@angular-eslint/builder": "~18.4.0",
    "@angular-eslint/eslint-plugin": "~18.4.0",
    "@angular-eslint/eslint-plugin-template": "~18.4.0",
    "@angular-eslint/schematics": "~18.4.0",
    "@angular-eslint/template-parser": "~18.4.0",
    "@angular/cli": "^18.2.10",
    "@angular/compiler-cli": "^18.2.9",
    "@angular/language-service": "^18.2.9",
    "@types/jasmine": "~3.6.0",
    "@types/node": "^12.11.1",
    "@typescript-eslint/eslint-plugin": "^5.59.2",
    "@typescript-eslint/parser": "^5.59.2",
    "eslint": "^8.39.0",
    "jasmine-core": "~4.0.0",
    "karma": "~6.3.0",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage": "~2.1.0",
    "karma-jasmine": "~4.0.0",
    "karma-jasmine-html-reporter": "^1.7.0",
    "ng-packagr": "^18.2.1",
    "typescript": "~5.5.4"
  }
}

This is a post that you can just reopen.

@liangshiwei

I experimented with disconnecting the database while the angular app was running and the error I received was http code 500, not http code 0.

So I think this http status code 0 error is not related to the db connection being temporarily interrupted :(

This is a dummy write to keep it open.

@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.

Sorry...! We've entered text to keep the page open.

Please wait a little longer.

open , write

@Anjali_Musmade I tried the steps above but still get the error Can I send you the project to try?

Hi Masum,

I have a bug. ABP Framework version: v8.3.3

  1. Create a new ABP project using the following command: abp new Acme.BookStore -u angular -dbms MySQL -m none --separate-auth-server --theme basic --pwa -csf
  2. Configure the AccessTokenLifetime in your ABP (ASP.NET Core) back-end application to a short duration, such as 2 minutes.
  3. Open Multiple Tabs: Launch your Angular application and open it in multiple browser tabs.
  4. Wait for Token Expiry: Wait for the access token to expire after the 2-minute lifetime. Once the token expires, a Refresh Token process should be initiated in one or more tabs to acquire a new access token.
  5. Observe the Behavior: All pages reload and get logged out.

Showing 11 to 20 of 103 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06