On 13/03/2019 00:22, Dušan Vejnovič via shifter-users wrote: > It's my fault, sorry for the noise. It's always preferable to explain what mistake you made so that others may avoid repeating it in the future. Mandatory xkcd reference: https://xkcd.com/979/
Cheers, Antoine > > Bye > Dušan > > Dušan Vejnovič je 6. 03. 19 ob 18:44 napisal: >> Hello! >> >> I get error after 1 minute connections with the server. >> >> Bye >> Dušan >> >> Dušan Vejnovič je 6. 03. 19 ob 18:15 napisal: >>> I debug the HTML5 client to understand when to send the ack packet >>> back to the server. I cannot find any rules for this. >>> Have I to make some delay before send the ack packet, or is there any >>> other rule? >>> >>> Bye >>> Dušan >>> >>> Dušan Vejnovič je 3. 03. 19 ob 17:21 napisal: >>>> Thank you >>>> >>>> Antoine Martin via shifter-users je 3. 03. 19 ob 16:24 napisal: >>>>> On 03/03/2019 22:13, Dušan Vejnovič via shifter-users wrote: >>>>>> I'm writing my own client in Java. Client works first 5 second OK. >>>>>> After >>>>>> that I can't get any draw packet from the server, but got the >>>>>> message: >>>>>> >>>>>> Warning: delayed region timeout >>>>>> region is 15 seconds old, will retry - bad connection? >>>>> For each draw packet you receive, you need to send an ack packet >>>>> back to >>>>> the server. >>>> >>>> I create an ack packet with the damage sequence packet. And server >>>> now report: >>>> >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:14:55,173 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:14:56,174 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:14:57,174 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:14:58,174 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:14:59,174 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:15:00,175 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:15:01,176 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:15:02,177 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:15:03,177 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:15:04,178 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:15:05,179 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:15:06,179 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:15:07,180 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:15:08,181 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:15:09,182 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> 2019-03-03 17:15:10,183 error on window 1 >>>> Traceback (most recent call last): >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/encodings_mixin.py", >>>> line 159, in recalculate_delays >>>> len(maximized_wids)>0 and wid not in maximized_wids) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/window_source.py", >>>> line 958, in calculate_batch_delay >>>> calculate_batch_delay(self.wid, self.window_dimensions, >>>> has_focus, other_is_fullscreen, other_is_maximized, self.is_OR, >>>> self.soft_expired, self.batch_config, self.global_statistics, >>>> self.statistics, self.bandwidth_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/window/batch_delay_calculator.py", >>>> line 41, in calculate_batch_delay >>>> factors += global_statistics.get_factors(low_limit) >>>> File >>>> "/usr/lib/python2.7/dist-packages/xpra/server/source/source_stats.py", >>>> line 154, in get_factors >>>> factors.append(calculate_for_target(metric, l, >>>> self.avg_client_ping_latency, self.recent_client_ping_latency, >>>> aim=0.95, slope=0.005, smoothing=sqrt, weight_multiplier=wm)) >>>> File "xpra/server/cystats.pyx", line 183, in >>>> xpra.server.cystats.calculate_for_target (xpra/server/cystats.c:4583) >>>> ValueError: cannot convert float NaN to integer >>>> >>>>> >>>>>> I'm doing ping from client to server every 5 seconds and answering on >>>>>> ping from server with ping echo. >>>>>> HTML5 work without problem. >>>>>> >>>>>> In client I use two threads: >>>>>> - the first thread is for communication with the server >>>>>> - the second one is for sending ping data to the server >>>>> I don't think you need a thread just for that. >>>>> Wouldn't a timer be more efficient? >>>>> >>>>> Cheers, >>>>> Antoine >>>>> >>>>> >>>>>> Xpra is running on Debian 9. >>>>>> >>>>>> Bye >>>>>> Dušan >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> shifter-users mailing list >>>>>> shifter-users@lists.devloop.org.uk >>>>>> http://lists.devloop.org.uk/mailman/listinfo/shifter-users >>>>> _______________________________________________ >>>>> shifter-users mailing list >>>>> shifter-users@lists.devloop.org.uk >>>>> http://lists.devloop.org.uk/mailman/listinfo/shifter-users > > _______________________________________________ > shifter-users mailing list > shifter-users@lists.devloop.org.uk > http://lists.devloop.org.uk/mailman/listinfo/shifter-users _______________________________________________ shifter-users mailing list shifter-users@lists.devloop.org.uk http://lists.devloop.org.uk/mailman/listinfo/shifter-users