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

Problem receiving a plan in Syft.js #245

Open
michaelhuber1937 opened this issue Apr 15, 2021 · 1 comment
Open

Problem receiving a plan in Syft.js #245

michaelhuber1937 opened this issue Apr 15, 2021 · 1 comment
Labels
Type: Question ❔ Question about implementation or some technical aspect

Comments

@michaelhuber1937
Copy link

I am currenty trying to integrate Syft.js into my project. Currently I have reached the point where I can connect to a PyGrid-Domain, authenticate, retrieve a model but what is not working: I can't receive a plan.

Sniffing in the developer-tools of Firefox tells me that Syft.js is trying to receive the plan via HTTP-GET-Request:

http://localhost:5000/model-centric/get-plan?worker_id=e1077833-24e9-4a0f-b6d9-011a444edf2e&request_key=d7c6c72d58ca87dd3cc60bdeee52e04cc397286d6eb176f0327f9294ee2e3f90&plan_id=27&receive_operations_as=tfjs

The last parameter "receive_operations=tfjs" is the problem, because I receive an empty-file of 0 bytes. Changing the parameter to "receive_operations=list" gives me valid content.

Whats the problem here? Do I need to install something specific server-side?

Thanks!

@michaelhuber1937 michaelhuber1937 added the Type: Question ❔ Question about implementation or some technical aspect label Apr 15, 2021
@cereallarceny
Copy link
Member

cereallarceny commented Apr 15, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question ❔ Question about implementation or some technical aspect
Projects
None yet
Development

No branches or pull requests

2 participants