Base solution for your next web application
Open Closed

chat integration #10036


User avatar
0
kansoftware created

What is your product version - v10.1.0 What is your product type (Angular or MVC) angular

  • What is product framework type (.net framework or .net core)?

i want to integrate chat in my angular project using SignalR but getting error in building hub connection Access to XMLHttpRequest at 'http://udaifit.sfittest.com/signalr/negotiate?enc_auth_token=wNYmO41%2F48SHNstaLVXxHCCre29BZQl1NhC6NM3R3rwZiL572M4gBaHf6sHsTGZf6uWgl%2FhVN2zMpb6FUEfu%2FOMt5sMHKoigz59HOdLCzZS4DuZgZ%2BM6DEcJ4CnbqkSg6njpx1AWKJdpLUKMqCD2BmLFzXGTzpV%2B8TQtoRePzN6X2jWotjnL9Eu%2BRxdo1ch%2F%2Bd06C%2B98UrDwmyhXKIDVWSPDjGuw6a5wi6DEg5Pw4gHkrrE0LSc9ChFfwIpIOoRryv2FVmOCWwzvjPcORT%2BEX6mG%2FNlgo%2BfWEJ%2BIJqItBAWysZOS%2B%2FRr2Ddj%2BubH%2B9%2FBUXzDW0gKVdnvvCEnOZjsCb2F2TJ%2FDqMx1ICl6IctYGJPgRduOzuY%2Fb12CFDRLkTJpNvwNw13gj05SlwWJnFfYw%2FA9D5zhyevcaU2mjEWUBlSkBZc%2BtrNepyYfGUcNkAVvXnutsSJw4aPecgO1zvvKjUFvLQVDD8mht9xcTdjlktV2A5R8enr%2BzviVLeo2x00Ka7S42pg0hleWIjGSemaKqlaCGPLqAUhkLh0qPzPZAMSfZZ76l3pW6OAqVHRgVlLmLC%2BbB52Kb0FNb7f%2FZgarSEAN2frbApfU7IPD0nu%2FFa%2BonjSxJysqfHCz3rikTN6lbPrzFkKs9Ls2srkQ8kxFx25l1w%2Bsm0etw3p6gRWaX7SqBxbOqfQxljdGsUlCgI9OeQsQMspITDra37BM%2B4nbGDEhG%2FGJY8%2Fd97v3qESNsCtE33%2FG9bkdjcU937ONEq3H510MsMBcj%2BeZS7rttE0BS5SaNbZit3rMOPk67A2uYB7swygPcXCn4hHfF39NjNKm4yuN1sc0PJAWsQlKVrFGGY3JYlDchYEz3UrFenGhzk%3D&negotiateVersion=1' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.


3 Answer(s)