MissionPlanner icon indicating copy to clipboard operation
MissionPlanner copied to clipboard

Unable to reconnect on UDP when connection is terminated at remote end

Open mday299 opened this issue 12 years ago • 9 comments

When connecting to a remote MAVLink source via UDP (in my case MAVProxy), when the connection is terminated by MIssion Planner using the "connect button" all is well. I can reconnect at will from Mission Planner.

If the connection is terminated on the remote end the connection ends -- as expected -- on Mission Planner. However, when the connection becomes available again at the remote end, when I try to reconnect Mission Planner I get a "There was an unexpected error." message in a pop up dialog. Only way to overcome this at present is to restart Mission Planner.

mday299 avatar Feb 12 '14 19:02 mday299

can i get the log file to go with this? or a SS of the error.

meee1 avatar Feb 12 '14 22:02 meee1

when i say log file I mean MP log file.

meee1 avatar Feb 13 '14 05:02 meee1

Screen shot attached. Looks like the socket needs to be closed before attempting to reopen.

missionplannerudpconnecterror

I have logs from before the connection loss, and a second set of logs for the second connection attempt. Attempting to post them here fails -- maybe because I already attached an image? I'll try again in a subsequent post.

Incidentally, while generating this data there is an nuance to this issue I hadn't noticed: even after cancelling out of the error the "Mavlink Connecting" dialog never goes away and Mission Planner is essentially frozen.

mday299 avatar Feb 13 '14 15:02 mday299

hmm, I can't seem to attach anything but images to these posts. I sent a friend request on diydrones to see if I can send them to you that way, if you'd like.

mday299 avatar Feb 13 '14 15:02 mday299

ok, ive fixed this, and will upload a beta shortly.

meee1 avatar Feb 13 '14 22:02 meee1

Has the fixed been uploaded? I'm still getting the same problem on version 1.2.97 (build 1.1.5167.2404).

mday299 avatar Mar 13 '14 20:03 mday299

it should be, please try the beta. 1.2.97.5

meee1 avatar Mar 13 '14 22:03 meee1

Problem persists on the beta. Version 1.2.97.5 (build 1.1.5186.13810)

mday299 avatar Mar 14 '14 02:03 mday299

this should now be fixed. MP is a lot less picky.

meee1 avatar Aug 24 '14 23:08 meee1