stomp.startConnect() not pointing to right host
See original GitHub issue //configuration
stomp.configure({
**host:'127.0.0.1:8080',
debug:true,
queue:{'init':true}
});
AFter doing stomp.startConnect() , chrome console shows this error:
zone.js:2744 GET http://localhost:4200/127.0.0.1:8080/info?t=1505100250266 404 (Not Found)
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Angular2 with Stomp.js - Stack Overflow
I not found working with angular2.rc6/final example or lib. How can I reaplace Stomp.js something else? In my previously project with Angular 1....
Read more >Messaging with .NET and ActiveMQ - Re.Mark - WordPress.com
Sending and receiving messages using ActiveMQ is enabled by NMS and Spring.Messaging.NMS. We've seen how to create a simple set up using .NET...
Read more >[Solved]-How to add SockJS into Angular 2 project?-angular.js
In your project you're pointing to vendor/sockjs-client/lib/entry.js instead you ... private wsConf = { host:'test.com' } constructor(stomp: StompService) ...
Read more >Group Policies Going Rogue - CyberArk
Server_ProcessRefresh()requests GPO objects from the domain controller, “give me my group policies so I can update them,” upon getting the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Are you sure you are using ng2-stompjs? Your code does not seem to be using ng2-stompjs.
Try using ‘http://127.0.0.1:8080’ instead of ‘127.0.0.1:8080’.
Not a bug really. That is how HTTP resources are supposed to be addressed - URLs that are not absolute are considered relative and resolved relative to the URL of current page.
In case of Angular apps URL of current page (in development setup) is http://localhost:4200/
I hope the above is helpful.