Skip to content

Webhook subscription issue on local setup canvas with docker #89

@bilalcontent

Description

@bilalcontent

@Ardena thanks for you solution.. I was struggling regarding tool app activation issue but found nothing. when I clicked enable button, it throws unauthorize code error. but with your solution, tool app is activated and also launching.

Now I moved forward, and creating a webhook that will notify my tool whenever a new event fires.

{ … "service_offered": [{ "@id": "my.tool.com/service#vnd.Canvas.SubmissionEvent", "endpoint": "http://my.tool.com/subission_endpoint", "@type": "RestService", "format": ["application/json"], "action": ["POST"] }], … }

but I see there's no webhook called by canvas when student upload file. I also confirm by using this repo code which also subscribing webhook but it does seems to be work.

I assumed that the line you asked to comment out in app/models/lti/tool_proxy.rb:31 (after_save :manage_subscription) causing this issue. am I right?
if yes, then how I test it in my local setup canvas with docker.

Thanks for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions