Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
martinb
Visitor

generalsocketerror received after 4.8 firmware upgrade

Channel name: Fandor

Channel version: version 1.0 - build 30

What is the issue being reported?
We've been seeing lots of errors from our Roku channel lately, which seem to coincide with the Roku 4.8 firmware upgrade that happened a few days ago. The errors occur when streaming: we're getting a roSystemLogEvent which carries an http.error "generalsocketerror" as shown by the code snippet from our channel below.

    else if type(msg) = "roSystemLogEvent"
info = msg.GetInfo()
if info.LogType = "http.error"
metrics.errorCount = metrics.errorCount + 1
message = "HTTP error received while streaming: " + info.Url + " returned " + info.HttpCode.ToStr() + " " + info.Status
print "~~~STREAMING ERROR"
print "~~~SENDING MESSAGE: " + message
print
m.fandor.SendMessage(message)


An example of error message logged is:
HTTP error received while streaming: http://99.99.99.99/new-fandor/_definst/ ... v5.smil/... returned -1 generalsocketerror


We upgraded our Roku firmware internally to 4.8 to try to reproduce the problem but haven't had any luck so far. Is this a known 4.8 issue? Do you know if this error impacts the user experience (e.g. user has to restart the film)? Any help is appreciated.

What are the steps to reproduce?
We are not able to reproduce the problem internally but we know that some of our users are consistently running into this issue since we are being notified by email whenever this error occurs.

Is it reproducible (how many times out of 5 does this happen)?
This is a rundown of how many times our users have run into this issue since beginning of June. Notice the surge on July 13 which seem to coincide with the 4.8 release.

# of errors | Day Month
1 | 6 Jun
7 | 7 Jun
1 | 9 Jun
3 | 11 Jun
64 | 18 Jun
1 | 27 Jun
18 | 4 Jul
144 | 5 Jul
2 | 7 Jul
3 | 8 Jul
10 | 9 Jul
288 | 13 Jul
614 | 14 Jul
486 | 15 Jul
94 | 16 Jul

What software version is the box running? (Roku2 = Settings > About ----- Roku1 = Settings >Player Info)
Roku 4.8
0 Kudos
2 REPLIES 2
RokuJoel
Binge Watcher

Re: generalsocketerror received after 4.8 firmware upgrade

Forwarded this to Engineering for investigation.

- Joel
0 Kudos
dbulli
Visitor

Re: generalsocketerror received after 4.8 firmware upgrade

version 4.8 - Build 3343

I have seen this error too when playing HLS streams. So far I can't see any playback issues, but trying to have server folks look on their end too.


http error: -1
http error: URL: https://strm.ABC.com/00000045/00000145/2250-000324.ts?token=6cd1c81e-310e-4c6e-9a18-f33c27abbf04
http error: OrigUrl: https://strm.ABC.com/00000045/00000145/2250-000324.ts?token=6cd1c81e-310e-4c6e-9a18-f33c27abbf04
http error: Method: GET
http error: Status: generalsocketerror
http error: TargetIp: 127.0.0.1
--
http error: -1
http error: URL: https://strm.ABC.com/00000045/00000145/2250-000417.ts?token=6cd1c81e-310e-4c6e-9a18-f33c27abbf04
http error: OrigUrl: https://strm.ABC.com/00000045/00000145/2250-000417.ts?token=6cd1c81e-310e-4c6e-9a18-f33c27abbf04
http error: Method: GET
http error: Status: generalsocketerror
http error: TargetIp: 127.0.0.1
--
http error: -1
http error: URL: https://strm.ABC.com/00000045/00000145/2250-000444.ts?token=6cd1c81e-310e-4c6e-9a18-f33c27abbf04
http error: OrigUrl: https://strm.ABC.com/00000045/00000145/2250-000444.ts?token=6cd1c81e-310e-4c6e-9a18-f33c27abbf04
http error: Method: GET
http error: Status: generalsocketerror
http error: TargetIp: 127.0.0.1



if type(msg) = "roSystemLogEvent" then
' Handle the roSystemLogEvents:
i = msg.GetInfo()
if i.LogType = "http.error" or i.LogType = "http.connect"
if i.LogType = "http.error"
print "--"
print "http error: "; i.HttpCode
print "http error: "; "URL: ";i.Url
print "http error: "; "OrigUrl: ";i.OrigUrl
print "http error: "; "Method: ";i.Method
print "http error: "; "Status: ";i.Status
print "http error: "; "TargetIp: ";i.TargetIp
end if
end if
end if
- Daniel
http://dbulli.com
0 Kudos