Created on 3 March 2023, almost 2 years ago

Problem/Motivation

Is there a current issue with the explore.jsonapi.dev domain? If I hit the domain directly in the browser it returns a "This site can't be reached" error in chrome (DNS_PROBE_FINISHED_NXDOMAIN.) And when I try to hit the explorer via the drupal URL it errors out presumably for the same reason:

GuzzleHttp\Exception\ConnectException: cURL error 6: Could not resolve host: explore.jsonapi.dev

πŸ› Bug report
Status

Active

Version

1.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States broeker

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @broeker
  • πŸ‡¦πŸ‡·Argentina darwoft

    The jsonapi_explorer drupal module, in a few words, is creating a proxy to a third party service. This third party system use to be hosted and publicly available here: https://explore.jsonapi.dev/ . It is not anymore.

    In that domain, it was available an open source webapp (https://github.com/json-api/explorer). From that page we can see the official web page hosting the service is https://explore.jsonapi.dev (the one not working temporarily at this moment)

    So, two things to share from my experience with this here:

    1. How we can make it work and at the same time, not to depend on this third party system? You can host the webapp by your own and to tell Drupal Jsonapi_explorer module to consume it instead of https://explore.jsonapi.dev/ . High level steps to do that:
    • clone https://github.com/json-api/explorer project.
    • npm install (Clue: It works using node version v10.15.3 )
    • npm run start
    • Host that web application in any server you own and make it available. You can restrict from where...
    • Tell the jsonapi_explorer module to use it. You can create a patch or to override the service from a custom module.

    2) What we can do from the drupal's jsonapi_explorer module as part of a potential fix?

    • Probably a good idea is to allow the admin enter the webapp service as a configuration of the module after installation.
Production build 0.71.5 2024