Starts in:
2 DAYS
5 HRS
49 MIN
22 SEC
Starts in:
2 D
5 H
49 M
22 S

Activities of "Neozzz"

Hi,

I created a new microservice solution with the CLI:

abp new MainProject -t microservice-pro -u angular

Then I created a service inside the microservice solution using CLI:

abp new SubProject -t microservice-service-pro -d mongodb -u angular

  1. I couldn't find angular UI. Does it get added to the main angular project?
  2. I couldn't find any mongodb project inside.
  3. When I try to run the solution using dotnet run after I dotnet build I get License code is not valid error from the terminal. I copy pasted the license code from productservice appsettings into the newly created microservice appsettings. But it's showing the same error.

Please let me know if I am missing something. Thank you

  • ABP Framework version: v4.3

  • UI type: microservice service

  • DB provider: EF Core

  • Exception message and stack trace:

  • Steps to reproduce the issue:

Answer

Hi, Thanks! That fixed the issue. We added reference to administrationservice and inside the administrationservicemoduleas you said. But even though it showed the service entity under permissions for a brief moment, it is giving "500 Internal Server error" when I try to login after logging off to the web app at 44321 port number.

This is the url: https://localhost:44322/Account/Error?errorId=CfDJ8B_truncated

But at the web page at this address it shows as the user is logged in though.

Any guess why this might be happening?

Thank you :)

Answer

Hi Alper,

I took a look at the product-service example. And that hasn't referenced application.contracts and it still shows under the permissions page.

Question

Hi, I followed the https://docs.abp.io/en/abp/latest/Authorization example as well as the product-service microservice example inside the microservice solution and created a new microservice. However I am not able to see it listed in the permissions screen to grant permission for the user. Could you please let me know how I could share the code with you so that I could see where I might've went wrong?

Thank you

  • ABP Framework version: v4.2.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): microservice
  • Exception message and stack trace:
  • Steps to reproduce the issue:

While trying to POST an entity "organization" to a module solution, it is not accepting saying that the name field is not available. Also I had implemented a separate controller in the HttpApi project for handling requests, but looks like it is not being used. Would like to know why the name field is not being shown on swagger POST request section also should we init when doing a separate controller?

Because it has private setter.

We're alos improving the microservice solution that I highly recommend you to check microservice template docs if you haven't already.

Also please make your repository private, commercial applications shouldn't be host in public repositories.

Hi Thank you for the reply. That worked. Thanks !

I had created a controller inside the httpApi project as well. But it looks like the end point is still handled by the framework itself. How can we configure the framework to use the new controller?

Thank you

While trying to POST an entity "organization" to a module solution, it is not accepting saying that the name field is not available. Also I had implemented a separate controller in the HttpApi project for handling requests, but looks like it is not being used. Would like to know why the name field is not being shown on swagger  POST request section also should we init when doing a separate controller?

I have added the github link for the module solution we created. The idea is to put this module solution to a microservice solution once this module development is finished. Is this approach correct?

Thank you

  • ABP Framework version: v4.2.1
  • UI type: MVC
  • DB provider: EF Core
  • Exception message and stack trace:
  • Steps to reproduce the issue:

I couldn't find a proper solution from that link. It looks like changes made to code in previous versions. The current version should have it already I suppose? If so, what might be the fix?

Thanks

  • ABP Framework version: 4.2.0 (Stable)
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): yes Using microservices architecture.
  • Exception message and stack trace: IOException: Cannot determine the frame size or a corrupted frame was received.
  • Steps to reproduce the issue:
    1. Install Tye 0.6.0-alpha.21070.5+a42e4463943e3136dbd1de38474d8d62b802797c
    1. Navigate to the main solution folder and type "tye init" in the command prompt or shell.
    1. Then change the config as needed and then run "tye run"
    1. We've setup the web app to use the https protocol and when trying to reach the app through https on port 44321we get the above mentioned error.
Showing 121 to 128 of 128 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06