logoalt Hacker News

noduermetoday at 2:30 AM1 replyview on HN

Yeah, it's weird but I have an initial API call near the start of a program that makes a NetConnection.call() to an http address. The program should not run at all beyond that point until it gets a result from the server, after which it initializes a bunch of client-side variables and starts the main loop. With Ruffle, I see nothing go over the wire to that http address, but it's as if the client does get a result, because the rest of the program proceeds through the function defined in the Responder and onto the main loop. But it does so as if the server returned an undefined value, so then it just starts throwing errors related to those master values being undefined. Unfortunately there was no error-checking on the client side for that call; it assumed it either got some values or it failed to connect.

Maybe for some reason Ruffle thinks it's not a plain http call. I can start a GH issue if it would help.


Replies

nosamutoday at 7:53 AM

Yes please open a GitHub issue and attach all materials needed to reproduce the issue. Thank you!