GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gray screen on android after 48 hours without restart · Issue #70 · zebrunner/mcloud-device

gray screen on android after 48 hours without restart #70

New issue
Copy link
New issue
Copy link
Closed
Closed
gray screen on android after 48 hours without restart#70
Copy link
Labels
bugSomething isn't working
Milestone
2.0

Description

@vdelendik
vdelendik
opened on Dec 13, 2021
Issue body actions

issue with gray screen was repro again using new 2.0 deployment schema as well: zebrunner/mcloud-agent#44

so we have to inspect stream.js and define why some message like start and on not sent for android

Activity

  1. vdelendik
    added a commit that references this issue on Dec 13, 2021

    #267: added more verbose log messages to define the problematic place

    5a60e3e
  2. vdelendik commented on Dec 21, 2021

    @vdelendik
    vdelendik
    on Dec 21, 2021
    ContributorAuthor
    More actions

    problem is pretty old and is repro when subscriber and publisher are on different hosts:
    openstf/stf#728
    openstf/stf#100

    As a fix STF provided an option to register zmq tcp connection vars:
    https://github.com/openstf/stf/pull/104/files

    recommended settings are:

    sub.setsockopt(zmq.ZMQ_TCP_KEEPALIVE, 1)
    sub.setsockopt(zmq.ZMQ_TCP_KEEPALIVE_IDLE, 600000)
    

    current codebase has:

    module.exports.socket = function() {
      var sock = zmq.socket.apply(zmq, arguments)
    
      ;['ZMQ_TCP_KEEPALIVE', 'ZMQ_TCP_KEEPALIVE_IDLE', 'ZMQ_IPV6'].forEach(function(opt) {
        if (process.env[opt]) {
          try {
            sock.setsockopt(zmq[opt], Number(process.env[opt]))
          }
          catch (err) {
            log.warn('ZeroMQ library too old, no support for %s', opt)
          }
        }
      })
    
      return sock
    }
    
  3. vdelendik
    transferred this issue fromzebrunner/stfon Dec 21, 2021
  4. vdelendik
    added
    bugSomething isn't working
    on Dec 21, 2021
  5. vdelendik
    added this to the 2.0 milestone on Dec 21, 2021
  6. vdelendik
    added a commit that references this issue on Dec 21, 2021

    #70: declared customized zmq tcp env vars to fix gray screen

    13d3510
  7. vdelendik commented on Dec 21, 2021

    @vdelendik
    vdelendik
    on Dec 21, 2021
    ContributorAuthor
    More actions

    hopefully fixed by adding such env vars:

    ENV ZMQ_TCP_KEEPALIVE=1
    ENV ZMQ_TCP_KEEPALIVE_IDLE=600
    

    testing started using zebrunner/device:1.0-beta16 docker image

  8. vdelendik
    closed this as completedon Dec 21, 2021
  9. dhreben commented on Dec 29, 2021

    @dhreben
    dhreben
    on Dec 29, 2021
    More actions

    Fixed.
    Checked after 48 hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      • 2.0

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.