Jump to content

[uniGUI Pro 1.95.0.1595] An Exception has occured in application: Failed to initialize node: 2


Recommended Posts

Posted

i added another application in the hyper_server.cfg file :

[application-0]
enabled=1
alias=other
binary_name=mySecondApp.exe
max_nodes=10
persistent_node=0

[hyper_server]
binary_name=myApp.exe
initial_nodes=2
max_nodes=10
max_sessions=0
sessions_per_nodes=0
prompt_login=0
persistent_node_zero=0
port=8077

...

in the hyper_server log file i've got :

hyper_server.dll: 000033E4: 18:15:57 []:Creating Node: #2
hyper_server.dll: 000033E4: 18:15:57 [Attempting to Create]:"\\?\P:\DEV\dll\mySecondApp.exe" /node_id=2 /mode=node /app="other" /rel_server_url="&aexhxy230905090123656" /cluster_mode=0 /service=true /port=16386
hyper_server.dll: 000033E4: 18:15:57 [New Node Created.]: Process Id: 4860
hyper_server.dll: 000033E4: 18:15:57 [Waiting Node...]:2
hyper_server.dll: 000033E4: 18:15:57 []:Started Pinging Node: 2
hyper_server.dll: 000033E4: 18:15:59 []:Ping Failed Node: 2 Retry: 0
hyper_server.dll: 000033E4: 18:16:01 []:Ping Failed Node: 2 Retry: 1
hyper_server.dll: 000033E4: 18:16:04 []:Ping Failed Node: 2 Retry: 2
hyper_server.dll: 000033E4: 18:16:07 []:Ping Failed Node: 2 Retry: 3
hyper_server.dll: 000033E4: 18:16:09 []:Ping Failed Node: 2 Retry: 4
hyper_server.dll: 000033E4: 18:16:12 []:Ping Failed Node: 2 Retry: 5
hyper_server.dll: 000033E4: 18:16:14 []:Ping Failed Node: 2 Retry: 6
hyper_server.dll: 000033E4: 18:16:17 []:Ping Failed Node: 2 Retry: 7
hyper_server.dll: 000033E4: 18:16:19 []:Ping Failed Node: 2 Retry: 8
hyper_server.dll: 000033E4: 18:16:22 []:Ping Failed Node: 2 Retry: 9
hyper_server.dll: 000033E4: 18:16:25 []:Ping Failed Node: 2 Retry: 10
hyper_server.dll: 000033E4: 18:16:27 []:Ping Failed Node: 2 Retry: 11
hyper_server.dll: 000033E4: 18:16:27 [TUniHyperNode.Terminate]:Node #2 forcefully terminated.
hyper_server.dll: 000033E4: 18:16:27 [TUniHyperNode.Terminate]:Node #2 successfully terminated.
hyper_server.dll: 000033E4: 18:16:27 [HttpExtensionProc[::1]]:Exception : Failed to initialize node: 2 : Addr: $0641F1B9


So what's wrong in the configuration file or elsewhere ?

Posted

i log Unisession.UrlReferer in the procedure TUniMainModule.UniGUIMainModuleBeforeLogin(Sender: TObject; var Handled: Boolean); but its value is empty.

i need to get the url (with the alias) from that event handler because i'll make a POST request to keycloak from here

Posted

i get the alias /other with ARequestInfo.URI in the procedure TUniServerModule.UniGUIServerModuleHTTPCommand(ARequestInfo: TIdHTTPRequestInfo;
  AResponseInfo: TIdHTTPResponseInfo; var Handled: Boolean);

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