One-to-One-WebSockets-Chat
One-to-One-WebSockets-Chat copied to clipboard
failed to load resources error.
hello i have one last question about this project. i cant connect sock js with spring web socket. it says failed to load resources with 500 or 401 error status codes as you see in screen shot. thank you.
Please make sure that chat-service and auth-service are up and running
i put them in one service not two different service. Is this problem?
Yes, it is a problem
Because they are running on two different ports. Chat Service -> 8080 Auth Service -> 8081
hello, I didnt clone your project, I just use this chat-app codes in my project, i didnt seperate them in different services. just one application.yml, one pom.xml. so do i have to use chat app in different ports or one port enough for everything. Eventually, in deployment there will be one website and one port will be better. So in this stiation, what can be problem about loading resources?
Please check and change this file according to your new configuration https://github.com/amrkhaledccd/One-to-One-WebSockets-Chat/blob/master/jwt-social-login-client/src/util/ApiUtil.js
Note: I can't support you if you have different configuration, I don't know exactly what you have done.