Jump to content

Websockets with Hyperserver + IIS C++ Builder cannot Send/Receive messages


RobertoLopes

Recommended Posts

Has been a while since I don't have any issues with unigui but now I am stuck.

I have condigured the system to use it, different port to not conflict with IIS, the console logs show Websocket Opening, Websocket Opened but no broadcast messages ever arrive and NO error on any log is shown.

Here is my Hyperserver and ssl configurations

.ssl.cfg

object TUniHyperSSL
  SSL.Enabled = True
  SSL.SSLOptions.RootCertFile = 'root.pem'
  SSL.SSLOptions.CertFile = 'cert.pem'
  SSL.SSLOptions.KeyFile = 'key.pem'
  SSL.SSLOptions.Method = sslvTLSv1_2
  SSL.SSLOptions.SSLVersions = [sslvTLSv1_2]
  SSL.SSLOptions.Mode = sslmUnassigned
  SSL.SSLOptions.VerifyMode = []
  SSL.SSLOptions.VerifyDepth = 0
  SSL.SSLPort = 8888
end

 

.cfg

[websockets]
enabled=1
aux_port=8888
max_queue_length=1000
binding=
global_binding=
global_port=0
external_server_url=
external_server_token=
always_use_http=0
 

Also the same configuration on the server module (Websockets and ssl options)

 

What is wrong ????


 

 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...