Jump to content

How To Debug These Hyperserver Errors?


Frederick

Recommended Posts

hyper_server.exe: 00002AFC: 23:06:52 []:>--------------------------------------------------------------<
hyper_server.exe: 00002AFC: 23:06:52 [TUniServerModule]:Server First Init.
hyper_server.exe: 00002AFC: 23:06:52 [TUniServerModule]:Start Path = C:\ict\callback\
hyper_server.exe: 00002AFC: 23:06:52 [TUniHyperServer]:InitInterceptor
hyper_server.exe: 00002AFC: 23:06:52 []:Transport.PoolSize: 750
hyper_server.exe: 00002AFC: 23:07:23 [TUniHyperNode.Terminate]:Node #0 forcefully terminated.
hyper_server.exe: 00002AFC: 23:07:23 [PostInit]:Failed to initialize node: 0
hyper_server.exe: 00002AFC: 23:07:23 [TUniServerModule]:Starting HTTP Server on Port: 8085...
hyper_server.exe: 00002AFC: 23:07:23 [TUniServerModule]:HTTP Server Started on Port: 8085
hyper_server.exe: 0000201C: 23:07:33 [TUniHyperNode.Terminate]:Node #1 forcefully terminated.
hyper_server.exe: 0000201C: 23:07:33 [TUniHyperNodeManagerWorker]:Failed to initialize node: 1
hyper_server.exe: 0000201C: 23:08:28 [TUniHyperNode.Terminate]:Node #0 forcefully terminated.
hyper_server.exe: 0000201C: 23:08:28 [TUniHyperNodeManagerWorker]:Failed to initialize node: 0

I can run my standalone application directly from the command line and it works OK. However, when I run it via Hyperserver, it won't start and I get multiple "failed to initialize node" errors.

I have configured Hyperserver for several applications before and this is the first time I have encountered these errors.

What should I be looking for to resolve this? Is there a limit to the number of Hyperserver instances that can run at the same time?

--
Frederick
(UniGUI Complete - Professional Edition 1.90.0.1568)
 

Link to comment
Share on other sites

I have managed to find out what the problem was.

In my ServerModule's OnHttpCommand event, I have the following line at the end:-

Handled:=True;

The reason is this application is meant to handle callback requests only and the main form does not need to be shown.

However, this trips up HyperServer and no nodes are created because the main form is not displayed.

Is it possible to not show the main form for an application running under HyperServer?

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