Open Closed

New microservice Http.Api Host closes #7499


User avatar
0
stehalv created
  • ABP Framework version: 8.2
  • UI Type: MVC
  • Database System: EF Core SQL Server
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace: No Stack trace
  • Steps to reproduce the issue:
  • Add a new microservice to the solution
  • Set *.HttpApi.Host as startup project
  • Start the service

Host never starts and get message that the connection closed, other services in the solution works fine. Only new services created with the command abp new OrderService -t microservice-service-pro has this behaviour.

I have tested setting up a new microservice template nd repeating and the same thing happens. The Host will not start. SO I cannot use dbMigrator or complete the setup.

I can take the ProductService from the microservice template, and manually change all the classes names and namespaces, and follow instructions on Add new Microservice and it works fine.


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you share some logs of this problem?

    Thanks

    liming.ma@volosoft.com

  • User Avatar
    0
    stehalv created

    That is the thing, there is no logs, the host is not even starting, so the Program.Main is not even reached. Seem to be an issue with IIS or something. But it is weird that it is only happening to services created from the ABP CLI. It is not happening when I do create the project from a VS template.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    What are output if you run dotnet run in your new service?

  • User Avatar
    0
    stehalv created

    Weird. I have had this issue for a few days trying to add multiple services. Now when trying a an ew service to run your test it works like it should, so I guess we can close this ticket.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Great

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15