maris.vigulis的活动

问题
  • ABP Framework version: v7.2.2
  • UI Type: Angular (Lepton)
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

https://nuget.abp.io/ is down, all pipelines are pipelines are failing. Please react asap.

Example: https://nuget.abp.io/32503e08-0df9-4c11-a4a4-60e93d2e55af/v3/package/system.servicemodel.nettcp/index.json

  • ABP Framework version: v7.1.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: see decription below
  • Steps to reproduce the issue:
  1. Create a empty ABP project of version 7.1.0 with angular frontend.
  2. run next command in command prompt: ng add @nguniversal/express-engine
  3. run next command in command prompt: npm run dev:ssr Result: Failure on startup inside @abp/ng.oauth (code inside compiled vendor.js included below):

To investigate problem deeper I have replaced directly in vendor.js that line with: const oAuthStorage = {getItem: function() {}, setItem: function(){}, removeItem: function(){}, clear: function(){}, keys: function(){}}; This line has passed however it failed further. I found out that there is a chain of other troubles inside of ABP:

  1. Then LeptonX failed, cause it has a direct access to window object in it. Fortunately I had a sourceCode of it, so I found out that I can replace createWindowProvider in ThemeLeptonXModule with my own like so:
  2. Also I had to do a next manipulation in server.ts to make it work: (but it's typical for SSR setup in angular),
  3. Finally nodejs server launched and started to listen to 4000 port, however endpoints calls to .NET backend are failing with status 0, to endpoints 'https://localhost:44328/.well-known/openid-configuration', 'https://localhost:44328/api/abp/application-configuration'. I have checked with browser, both URLs are accessible. My wild guess that there is some Abp request interceptors that prevents a requests from being sent in SSR mode(cant investigate deeper, since I don't have enough knowledge of underlying kitchen of abp).

Similar issue was reported here on github, here: https://github.com/abpframework/abp/issues/15782

显示 2 个条目中的 1 到 2 个.
Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11