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.
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
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!
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.
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??
At this point, I think it is associated with the these streaming stick devices. Seems like everyone with this issues has a stick device. Unfortunately, this is the only device I have access to. I bought it just for this project. Seems like this is a roku issue. If it won't work on these devices, they should never let go into dev mode. And it should be documented.
That should be fine
BTW you don't need to keep running the putty app!
You can run it once and save the password and reuse it for other apps being packaged!
Try Converting to squashfs not Cramfs that always works for me!
Try Converting to squashfs not Cramfs
You do know you can clear space on your stick in settings: clear apps you don't need or clear data and cache on installed apps! This will help clear some space for packaging!