Skip to content

Problem receiving a plan in Syft.js #245

@michaelhuber1937

Description

@michaelhuber1937

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Question ❔Question about implementation or some technical aspect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions