fxlauncher
fxlauncher copied to clipboard
sometimes stuck on upgrading process, only restart application can reslove
When the first time starting, it will download about 100M data from S3, sometimes will stack, here is the systemd log:
● application.service - application service Loaded: loaded (/etc/systemd/system/application.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2018-08-27 09:27:21 CST; 23min ago Main PID: 28204 (python2) CGroup: /system.slice/application.service ├─28204 python2 /home/app/launcher └─28207 java -classpath lib/fxlauncher.jar fxlauncher.HeadlessMainLauncher --uri=http://domain.com/app/
Aug 27 09:28:53 application[28204]: INFO: Progress: 76% Aug 27 09:28:53 application[28204]: Aug 27, 2018 9:28:53 AM fxlauncher.HeadlessMainLauncher updateProgress Aug 27 09:28:53 application[28204]: INFO: Progress: 76% Aug 27 09:28:53 application[28204]: Aug 27, 2018 9:28:53 AM fxlauncher.HeadlessMainLauncher updateProgress Aug 27 09:28:53 application[28204]: INFO: Progress: 76% Aug 27 09:28:53 application[28204]: Aug 27, 2018 9:28:53 AM fxlauncher.HeadlessMainLauncher updateProgress Aug 27 09:28:53 application[28204]: INFO: Progress: 76% Aug 27 09:28:53 application[28204]: Aug 27, 2018 9:28:53 AM fxlauncher.HeadlessMainLauncher updateProgress Aug 27 09:28:53 application[28204]: INFO: Progress: 76% Aug 27 09:28:53 application[28204]: Aug 27, 2018 9:28:53 AM fxlauncher.HeadlessMainLauncher updateProgress
this time, if won't wait, but restart application, upgrading process will be done, and normal start application.
This indicates that the download stream simply isn't receiving any more data. It could be a connection issue or something else network related. Try checking the data stream with wireshark or similar tools.