KotlinSyft icon indicating copy to clipboard operation
KotlinSyft copied to clipboard

"Key status is missing in the map" error in demo-app

Open aghia98 opened this issue 4 years ago • 3 comments

Description

When launching the demo app with pygrid server hosting the included example (create-plan), a message is displayed: "There was an error. org.openmined.syft.execution.JobErrorThrowable$ExternalException: Key status is missing in the map". After debugging using Pygrid server log, it appears the error occurs after " POST /model-centric/cycle-request HTTP/1.1" request.

How to Reproduce

  1. Download Pygrid: https://github.com/OpenMined/PyGrid
  2. Execute example/model-centric/Create-plan (without the optional Authentication part)
  3. Correct one issue in the demo-app to avoid HTTP 401 UNAUTHORIZED (see here: https://github.com/OpenMined/KotlinSyft/issues/282)
  4. Execute the demo-app with Emulator
  5. See the error

Expected Behavior

Training plan is downloaded by the emulated device

Screenshots

Screen of the error message: ibb.co/R6CF81K Screen of the pygrid server log: ibb.co/n6g5Nsg

System Information

  • OS: Windows 10
  • OS Version: v2004
  • demo app launcher: Android Studio Emulator

aghia98 avatar Nov 03 '20 14:11 aghia98

by the way, this error seems to appear only on "foreground" mode

aghia98 avatar Nov 03 '20 18:11 aghia98

if the error occurs only in forground mode, the error might be coming from https client. Can you run the android debugger and let me know what request is being sent. I will check on my end as well

vkkhare avatar Dec 02 '20 07:12 vkkhare

I have the same issue

yuechaor avatar Mar 16 '21 12:03 yuechaor