Starts in:
2 DAYS
6 HRS
26 MIN
18 SEC
Starts in:
2 D
6 H
26 M
18 S
Open Closed

Chat Hub signalr connections not working when we move Volo.Chat.SignalR to microservice' HttpApi.Host project. #7074


User avatar
0
ahmet.ulusoy created
  • ABP Framework version: v8.0.1
  • 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:
  • Steps to reproduce the issue:

I created a new microservice solution which is name chatservice and installed needed packages and made needed configurations in needed solutions. I can chat on web client applications with users and everything is fine with signalr connection.

After a while I want to add a mobile application written with flutter and I changed place of Volo.Chat.Web package from microservice web project to backoffice web project and also changed place of Volo.Chat.SignalR package from microservice web project to chat microservice HttpApi.Host project.

I also added needed yarp configurations for Gateways and everything is fine except signalr connections. After I changed place of given packages signalr connections looks like working in web development console but they are not working .

Can you help me please?


31 Answer(s)
  • User Avatar
    0
    ahmet.ulusoy created

    Hi maliming,

    I added SignalRClient project to under apps folder.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I see, I will find a way.

  • User Avatar
    0
    ahmet.ulusoy created

    If i add ChatSignalR module to ChatSercice.HttpApi.Host project I can connect it over a gateway.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The SignalR works on the web and SignalRClient projects.

    Can you test it?

    Thanks

    https://github.com/ahmet-ulusoy/ForYou.Exchange/commit/c5f0d1487c12ba53a8645f62aba48af2deebb6b1

  • User Avatar
    0
    ahmet.ulusoy created

    hi

    The SignalR works on the web and SignalRClient projects.

    Can you test it?

    Thanks

    https://github.com/ahmet-ulusoy/ForYou.Exchange/commit/c5f0d1487c12ba53a8645f62aba48af2deebb6b1

    Hi maliming,

    Great solution, everything works perfectly.

    Thank you so much for everything.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Good news.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06