Jump to content

Websocket doesn't send message


emin

Recommended Posts

I decided to use WebSocket in my application running on IIS as HyperServer. I set the WebSocket option to True in both MainModule and ServerModule. I set the Aux_port to 8081 in ServerModule. Then, in the hyperserver.cfg file, I set 'enabled=true' and 'aux_port=8081' in the websockets parameters. However, messages are not being sent. It works in standalone mode. I tried to follow the documentation. What might be missing?

Link to comment
Share on other sites

I checked according to the document. But didn't work. What's wrong

This is cfg file:

server_direct_url=http://localhost/pilclaw/pilclaw.dll
token=itscpy230822065235123
[websockets]
enabled=1
aux_port=0

This is the log file of  node zero

pilclaw.exe: 00000190: 19:21:07 []:>--------------------------------------------------------------<
pilclaw.exe: 00000190: 19:21:07 [TUniServerModule]:Server First Init.
pilclaw.exe: 00000190: 19:21:07 [TUniServerModule]:Start Path = C:\_uygulamalar\PilclawTest\
pilclaw.exe: 00000190: 19:21:07 [TUniGUISessionManager]:Cache erase job created, Folder count: [1]
pilclaw.exe: 00000190: 19:21:07 [TUniHyperServer]:RelayServer Url = http://localhost/pilclaw/pilclaw.dll
pilclaw.exe: 00000190: 19:21:07 [TUniHyperServer]:RelayServer Token = itsc...
pilclaw.exe: 00000190: 19:21:07 [TUniHyperServer]:Node Application Alias set to: "pilclaw_exe"
pilclaw.exe: 00000190: 19:21:07 [TUniServerModule]:Node Id = 0
pilclaw.exe: 00000190: 19:21:07 [TUniServerModule]:Node MaxSessions = 250
pilclaw.exe: 00000190: 19:21:07 [TUniServerModule]:Starting HTTP Server on Port: 16452...
pilclaw.exe: 00000190: 19:21:07 [TUniServerModule]:HTTP Server Started on Port: 16452
pilclaw.exe: 00001660: 19:21:16 [TUniWebSocketStack.Execute()]:TUniHTTPRequest.SendRequest(): HTTP/1.1 404 Not Found
pilclaw.exe: 00001660: 19:21:23 [TUniWebSocketStack.Execute()]:TUniHTTPRequest.SendRequest(): HTTP/1.1 404 Not Found

Link to comment
Share on other sites

All parameters are below. Still something wrong. Could you check again please

Server module

image.png.8e0b76806f895877d73bd98cf653c3d7.png

MainModule

image.png.3229c99c5d27a9ebf749adcdf626f3d4.png

IIS website

image.png.bbab701ac8d7100b3b8a9aac51f4148d.png

Site Bindings

image.png.72d32482ef0dbe74428fa25bbff1e553.png

Server firewall 

image.png.afabccf4cf8c5110bdf87172ed34154d.png

HyperServer config file

server_direct_url=http://localhost/destek/hyper_server.dll

[websockets]
enabled=1
aux_port=81

 

 

 

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...