Starts in:
2 DAYS
0 HR
0 MIN
57 SEC
Starts in:
2 D
0 H
0 M
57 S

Activities of "hakan.uskaner"

Hi, its Blazor Server not Wasm.

I really need this, because i need to publish that solution internally for further test as soons as possible. So when do you expect to update them ? can you provide me a working sample with blazor server or the etc/k8s folder ?

Hi @gterdem,

the added microservie also uses Blazor. Maybe you would like to check my solution remotly ?

Yes, this fixed it. Can you explain why ? Will it be replaced in the template or through abp-cli for future ?

No, sorry a page refresh wont change something. There error still persits. i did misunderstood you.

Yes this works fine. also cleared all cookies in browser. If i generate a product from blazor app menu the product is created fine.

but in swagger i receive the above error. Same swagger problem also with the other services.

Answer

"app.UseCors();" was missing in the NewServiceHttpApiHostModule in OnApplicationInitialization.

After adding it ,it works. Seems to be an issue in abp-cli.

Hi @gterdem,

yes indeed "app.UseCors();" was missing in the NewServiceHttpApiHostModule in OnApplicationInitialization. Seems to be an error in generation through abp-cli. but this did resolve it..

I thank you. I needed that fix. When will that be fixed in cli ?

Answer

I have the same error, please look here: https://support.abp.io/QA/Questions/3310/Howto-integrate-a-standard-template-pro-solution-as-new-service-in-a-microservice-solution

I did try to add my newservice to all appsettings, without success. i also did replace the port number of product-service with my new service in ocelot.json without success. so from my point liangshiwei advise didn't work for me

Hi,

till now i dont got any solution for this. Cors gives the error for the new service but i didn't any differerence to product service. The cors setting is exactly the same in appsettings.

I hope the support team will solve this for us. I need this fixed.

  • your document "https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice" contain infos about the internal gateway and project reference which doesn't exist anymore, this one needs an update

  • if i try to follow you document how to change to mongodb. i receive a lot of errors in vs

  • The Port 44325 is port of the WebGateway, The Port 44472 is the port of my new microservice. I also receive this error on the PublicWebGateway which runs at Port 44353. Both Gateways are added to the new microservice appsettings Cors configuration per default. Also if i open the new microservice page in tye directly (https://localhost:44472) . it works fine but not if try to access it over an gateway. I did follow also the section about the gateways in your microservcice document any didn't find any difference.

I did reproduce it with these steps:

  • generate microservice: abp new AppMicro -t microservice-pro -u blazor-server -csf
  • abp new AppZero -t microservice-service-pro
  • follow gatway document to add it.
  • Start tye and test the new microservice appzero directly .. it will work. try to access it over one gateway. i do get the same error.
Showing 21 to 30 of 68 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06