Websockets Issue in server - spring

When I used https for my webapplication ,Websockets are not working .I used apache as a proxy server.Do Anyone have an idea?
Where exactly the problem is?
Any help would be appreciated.

Related

Create proxy for ipTV using vps server

Hello!
I would like to create proxy on a (VPS) server for (IPTV). however I searched a lot but unfortunately i could not achieve it. any help I would appreciate.
Thanks in advance

I want to fix websocket on localhost

I am running my web app on localhost and I have need to use ns so that chat and messaging, etc could work! now the WebSocket filed to connect! how can I fix that on localhost? anyone?
You can use Pusher.com. I use it for my local development. It is free and works great. It is already supported by Laravel just read this https://laravel.com/docs/8.x/broadcasting#pusher-channels

troubleshoot between plugin and application server?

the request from ihs is passed to plugin then to the application server and server received it.there is no cluster environment here.the server is up and running fine.But the response is not going back to plugin.how to troubleshoot?
(I would have made this a comment, but I don't have enough rep points).
You may need to engage IBM WebSphere Support to assist with this, but typically, for that type of issue, you would need to trace both sides of the connection (IHS plugin and WebSphere). Specifically,
Set LogLevel="Trace" in the plugin-cfg.xml
Set the following trace spec on the AppServer:
=info:com.ibm.ws.webcontainer=all:com.ibm.wsspi.webcontainer*=all:HTTPChannel=all:GenericBNF=all:TCPChannel=all
Reproducing the failure and reviewing the http_plugin.log and trace.log may provide some clues.
Do you receive some type of error in the browser? timeout? Is there anything (firewall, proxy) sitting between the IHS server and WebSphere AppServer?
It could be DNS problem with your WebSphere server. Can you please let us know about your IHS and plugin. Is it installed on same server where WebSphere is or on different server? If IHS and plugin is on different server just check that WebSphere server is able to resolve the IP address of IHS server using hostname. If not try to update host file with IP and hostname of your IHS server. It should work.
Does the client or the plugin not getting the response? Will that the request result in secure connection (i.e HTTPS/SSL...)?
The WAS server should extract most of the ports correctly if IHS/plugin is used in between. If using different webServer/load balancer(LB), the WAS server may not extract the listerning ports on the webServer/LB correctly.
You can take a look at the sample setting in PK55330 where a different web server is used in place of the IHS.
http://www-01.ibm.com/support/docview.wss?uid=swg1PK55330
Regards,

Connection over a proxy Quickfix/j

I am trying to establish a connection with quickfix/j but i am behind the company firewall. So i need to connect over a proxy to the acceptor. I saw on the internet that with the new version 1.6.0 , proxy support was added but I couldn't find any explanations on how to do that. Can someone please explain how i can use the proxy from an initiator to establish a connection to the server (acceptor)?
Thank you
Its not a recent question but i wanted to leave my solution here.
I replaced mina lib with mina-core-2.0.16.jar and i added proxy info to my settings file.
ProxyType=socks
ProxyVersion=5
ProxyHost=XXX.XXX.XXX.XXX
ProxyPort=1080
I connected successfully.

Securing Solr/Tomcat on Windows

I need to secure a Solr/Tomcat instance running on Windows 2008. All read/write clients are within the LAN, so I have followed the Tomcat instructions here and the Solr instructions here. I am unsure that is enough,
could you offer me any additional suggestions? or share how you go about securing Solr/Tomcat+Windows.
I also would appreciate suggestions on how you go about "white-hat" testing for vulnerabilities.
Thanks
I have no idea what you did specifically, so it's hard to answer the question. But if you configured Tomcat to require authentication, and set up your firewall so Tomcat is not reachable from the outside, then it should be good enough for most purposes.

Resources