Hacker News new | ask | show | jobs
by qyron 3324 days ago
Does no work on my Nexus 5x (Android 7.1). Screenshot attached https://www.dropbox.com/s/0fhrueh9gv5s2a1/Screenshot_2017050...
2 comments

Is there no "Server ID?" prompt?

When the keyboard appears, it should be asking you to enter a server ID (and you should type in "soft1").

I also have Nexus 5x. Black screen with input field but no prompt. Keyboard pops up but doesn't seem to give input.
Try the new APK, does it help?
"Error The local firewall is blocking my UDP packets. Do you have another way to connect to the Internet? (ErrFleet5)"
Ok! The Android problem is fixed (whew!), and now we're left with the fact that your network connection is blocking Melondream's packets.

Are you on a public WiFi network (library, coffeeshop, etc.) Or at work?

Can you use your phone's data plan, or your home Internet connection?

I've tried phone data and public. Same fail (and verified connection was indeed different.)
RichardHeart, as we discussed with Qyron below, the APK has been modified to print golang's standard library net package error message directly to the user.

If you get a moment, could you run the new APK and tell us what the net package is saying?

We expect something like "write to UDP6 ... network unreachable", but if would be informative if the error is something different.

We're really sorry about that, don't know how to proceed. App is failing to communicate using UDP, don't know why

Just to make sure the other problem is fixed, can you confirm that you see the "Server ID?" prompt?

I do get the server id prompt
Same error, android 7.0
When it prompts for a "Server ID?", you should enter "soft1", without the quotes.

Are you doing that?

On the first blank screen I try to input "soft1", then I see some sort of connection dialog but then I get error message which, again, is not visible. Attaching link to Dropbox folder with screenshots. https://www.dropbox.com/sh/tagc4veaeco8umm/AAA2xcvvLQoM_lUh1...
The error message (which you can't see) is probably telling you that your Internet connection is blocking Melondream's UDP packets. Are you connecting from work or public WiFi?

Btw, the lesson here for developers is: don't use UDP, use TCP. We made a big mistake

Any idea when this mistake will be resolved?
The system was built from the ground up to use forward error correction over UDP. The point was to allow a much less expensive, super-efficient server. We had no idea how poorly UDP is treated on the Internet. Huge, fatal mistake
Ok, download the APK again, see if it fixes the problem.

The new APK changes the target SDK number to be 23 (Marshmallow, 6.0.1), since that's the latest we've tested against.

Thanks for the bug report!

Now interface works well. But still no connection. I've tried both cellular internet (where UDP is most probably blocked) and home WiFi which doesn't block UDP (for sure, I tried pinging from phone).
Qyron, you've been very helpful.

We uploaded a new APK that passes the golang net error message straight through to the app's user.

So instead of seeing the ErrFleet5 message, you will see "write to UDP6 .... network is unreachable" or something else.

If you have a moment, would you reinstall the APK, rerun Melondream, and tell us what the error message says?

Thank you for your time