Forum Discussion

ikga's avatar
ikga
Newbie
3 years ago

Application Packager: Falied to package returns No such file

 

Error 500: Internal Server Error
CGI program sent malformed or too big (>16384 bytes) HTTP headers: [init_ca_bundle_stat: stat /common/certs/ca-bundle.crt: No such file or directory
plugin_package: /build/work/7bee3a1850ffbe4e/os/RokuOS/ToolsLib/ToolsCryptoConcur/ToolsCryptoConcur.cpp:28: virtual int Roku::PlatformCryptoBase::getRandomBytes(unsigned char*, unsigned int): Assertion `f >= 0' failed.
]

 

3820R2 - Streaming Stick 4K
Software Version: 12.0.0 build 4184-E6

The zip version is well tested, but failed to build to pkg.

12 Replies

  • I am getting this same issue. There is very little info found searching this forum or the internet. Did you ever get it working?? I have tried everything I can think of. 

    CW

    Streaming Stick 4K

  • errors like that arrive when the data is to large or information is not present and missing!

    Just run the telnet again but reboot or clear cache first!

    Also ensure your putty is connecting to the right server!

    In Putty we use telnet

    you connect to your Roku device!

    You simply enter the roku ip address without the http or https

    113.1.123.12.12 not http://123.23.1.123

    port 8080

     

    watch this video I made

    https://c.themediacdn.com/embed/media/W3s3aS/iTtnaWjsAtP/O4JyNhsMeRe_1?preview=1

    • ferdiworks's avatar
      ferdiworks
      Roku Guru

      errors like that arrive when the data is to large or information is not present and missing!

      Just run the telnet again but reboot or clear cache first!

      Also ensure your putty is connecting to the right server!

      Also check your package for excess backup files and images you don't need!

      The device we use has different data space to use available too!
      Example a Roku TV vs a Roku premium devece vs a Roku streaming stick or 4K stick!

      • cwilliamson's avatar
        cwilliamson
        Channel Surfer

        My zip file is only 1.78MB large. 

        On the install page it says....

        Currently Installed Application:
        20f6806a2d0a993a9b86ad3582a5f778
        cramfs file in internal memory (1871872 bytes)

        Is that too large?!

        When I go to the package link, the dev id matches what I got from telnet. Is there really a need to keep running keygen??

    • cwilliamson's avatar
      cwilliamson
      Channel Surfer

      I appreciate you trying to help, but I am am doing all of these steps correctly. The problem arises after enter the password on the packager page and click package.... I get a white screen with the 500 error mentioned above.