Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aghia98 opened this issue Nov 3, 2020 · 3 comments
Open

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

aghia98 opened this issue Nov 3, 2020 · 3 comments
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended

Comments

@aghia98
Copy link

aghia98 commented Nov 3, 2020

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: HTTP 401 UNAUTHORIZED #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 aghia98 added the Type: Bug 🐛 Some functionality not working in the codebase as intended label Nov 3, 2020
@aghia98
Copy link
Author

aghia98 commented Nov 3, 2020

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

@vkkhare
Copy link
Member

vkkhare commented Dec 2, 2020

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

@yuechaor
Copy link

I have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐛 Some functionality not working in the codebase as intended
Projects
None yet
Development

No branches or pull requests

3 participants