Skip to content

parsing of the rpc.discover document hangs #334

@ivy-rew

Description

@ivy-rew

Describe the bug
I've implemented a service, supporting 'rpc.discover' requests. The returned document is parsed automatically, but it freezes the inspector UI and will not end.

To Reproduce
Steps to reproduce the behavior:

  1. Enter the endpoint URI to a service implementing 'rpc.discover'
  2. Change the transport to 'websocket'
  3. The UI is freezed

Expected behavior

  • OpenRPC doc tab/icon should be shown
  • The monaco editor should give completion support, just as it does when passing the openrpc spec via ?schemaUrl query parameter.

Screenshots

Desktop (please complete the following information):

  • Firefox 124.02

Additional context
Here's my jsonrpc discovery trace log:
jsonrpc-request.txt
And this is the returned schema as dedicated file: https://json-schema.axonivy.com/openrpc/11.3.0/inscription.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions