أنشطة "nqthaitn"

إجابة

Hi Team, I apologize for my confusion, it is now working well. Thanks for your support.

إجابة

Did you configure ocelot for websockets? https://ocelot.readthedocs.io/en/latest/features/websockets.html

yes, i did. it show in i can use postman to post : https://localhost:44325/signalr-hubs/chat/negotiate?negotiateVersion=1 (44325 is the web gateway) and catched this package in my service. As i mentioned before, how to config signalR url in my mvc web ? the signalR url should be https://localhost:44325 (the web gateway) not https://localhost:44321 (the mvc web app)

إجابة

Hi, Yes, my application use microservice template and MVC for UI Framework. I already installed and config Volo.Abp.EventBus.RabbitMQ.

update: After reviewing the code, I realized that the ChatSignalR Module has dependencies in the wrong place.

  • SmartContractServiceWebModule -> [DependsOn(typeof(ChatSignalRModule))]
  • apps/web/src/GoSquidMs.Web/GoSquidMsWebModule.cs depends on SmartContractServiceWebModule so i think the websocket log above:
WebSocket connected to wss://localhost:44321...

this connect is connected to apps/web/src/GoSquidMs.Web/GoSquidMsWebModule, and the gateway is not functioning properly, the issue seems to be that i haven't configured the signalR url for the gateway, i found a post on how to config signalR url in Blazor

but my application is built using MVC, how can i configure it?

إجابة

Hey, simple shot in the dark:

Make the DbSet full properties. You only have {get; } -> {get; set; } Guessing a DI thing based on that.

Let me know if that helped

It works! Thanks a milion. But now i have a new proplem with websocket, receiver not receive message realtime,

ocelot.json

SmartContractServiceHttpApiHostModule

Yes, What's ulimit -a command result on your macbook?

I already set to 64000, restart the macOs , -> still error

hi

Is there any logs in MongoDB(docker) when the unit test fails.

hmm, I think we are misunderstanding the problem, ABP framework is using mongo2go (in-memory) for integration tests, that is not related to MongoDb running on docker at all. right?

hi

You can try increase limit of your macOS

https://www.mongodb.com/docs/manual/administration/production-checklist-operations/#operating-system-configuration https://www.mongodb.com/docs/manual/reference/ulimit/#recommended-ulimit-settings

It appears that the defaults for open files in the docker container are already way larger than the recommended settings

hi

What is your OS?

Hi, I'm using MacBook Pro M1 ( macOS 13.2.1 (22D68))

عرض 1 الي 8 من 8 إدخالات
Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11