callback took too long time to complete. Forcing it…
Hi,
When I use commands that are in connection with group aliasing (like listHttpStreamingSessions or addGroupNameAlias) it fails to complete.
Groupname aliasing is enabled (streamname aliases also). I restarted the server several times, but no change.
A few line from the logs:
version:
1455706424:0:/applications/evorouter/src/protocols/cli/cliappprotocolhandler.cpp:4435:GetListGroupNameAliasesResult:Unable to get all group name aliases. Check if group name aliasing is enabled. webserver: 1455711672:0:/webserver/src/application/webserverapplication.cpp:1120:Logger:MHD: Failed to bind to port 8888: Address already in use\n\n
[01;33m/webserver/src/application/webserverapplication.cpp:1811 Web Server was not instantiated.[22;37m
1455711672:2:/webserver/src/application/webserverapplication.cpp:1811:Initialize:Web Server was not instantiated.
[01;31m/thelib/src/configuration/module.cpp:195 Unable to initialize the application: webserver[22;37m
1455711672:0:/thelib/src/configuration/module.cpp:195:ConfigApplication:Unable to initialize the application: webserver
[01;31m/thelib/src/configuration/configfile.cpp:219 Unable to configure acceptors[22;37m
1455711672:0:/thelib/src/configuration/configfile.cpp:219:ConfigApplications:Unable to configure acceptors
[01;31m/webserver/src/webserver_main.cpp:277 Unable to configure applications[22;37m
1455711672:0:/webserver/src/webserver_main.cpp:277:Initialize:Unable to configure applications
[01;33m/webserver/src/webserver_main.cpp:307 Shutting down protocols manager[22;37m
1455711672:2:/webserver/src/webserver_main.cpp:307:Cleanup:Shutting down protocols manager
[22;36m/webserver/src/application/webserverapplication.cpp:1944 Web Server stopped.[22;37m Any ideas? Thanks
1.7.0 build 4283
evostream:
1455706424:2:/applications/evorouter/src/protocols/variant/originvariantappprotocolhandler.cpp:392:FinishCallbacks:callback took too long time to complete. Forcing it…1455706424:0:/applications/evorouter/src/protocols/cli/cliappprotocolhandler.cpp:4435:GetListGroupNameAliasesResult:Unable to get all group name aliases. Check if group name aliasing is enabled. webserver: 1455711672:0:/webserver/src/application/webserverapplication.cpp:1120:Logger:MHD: Failed to bind to port 8888: Address already in use\n\n
[01;33m/webserver/src/application/webserverapplication.cpp:1811 Web Server was not instantiated.[22;37m
1455711672:2:/webserver/src/application/webserverapplication.cpp:1811:Initialize:Web Server was not instantiated.
[01;31m/thelib/src/configuration/module.cpp:195 Unable to initialize the application: webserver[22;37m
1455711672:0:/thelib/src/configuration/module.cpp:195:ConfigApplication:Unable to initialize the application: webserver
[01;31m/thelib/src/configuration/configfile.cpp:219 Unable to configure acceptors[22;37m
1455711672:0:/thelib/src/configuration/configfile.cpp:219:ConfigApplications:Unable to configure acceptors
[01;31m/webserver/src/webserver_main.cpp:277 Unable to configure applications[22;37m
1455711672:0:/webserver/src/webserver_main.cpp:277:Initialize:Unable to configure applications
[01;33m/webserver/src/webserver_main.cpp:307 Shutting down protocols manager[22;37m
1455711672:2:/webserver/src/webserver_main.cpp:307:Cleanup:Shutting down protocols manager
[22;36m/webserver/src/application/webserverapplication.cpp:1944 Web Server stopped.[22;37m Any ideas? Thanks
3 Answers
Based on the log file the web server was not able to start due to bind issues — “1455711672:0:/webserver/src/application/webserverapplication.cpp:1120:Logger:MHD: Failed to bind to port 8888: Address already in use\n\n”
Group name aliases commands to the EMS time out because the web server is not running.
If other applications are using the port, 8888, please specify a different port for the web server by changing the port attribute in webconfig.lua.
Hi, I’m back
I have encountered this problem again. On that server the EVOStream is the only service that uses the port 8888. The webserver is running. How does it stop? Why? And why can’t it restart by itself? Maybe when the program switches between processes (or internal restarts etc.), it does it too fast and when the previous process is listening to the port, the new process cannot bind to it, the previous process dies while the new one didn’t start…or something like this. What do you think?