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

request to https://accounts.shopify.com/oauth/introspection failed, reason: connect ETIMEDOUT #3283

Closed
2 tasks done
kanasagraj opened this issue Jan 19, 2024 · 6 comments
Closed
2 tasks done
Labels
no-issue-activity Type: Bug Something isn't working

Comments

@kanasagraj
Copy link

Please confirm that you have:

  • Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
  • Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?

Extension

Expected behavior

Facing issue when run "npm run dev" command

image (86)

Actual behavior

When I try to run "npm run dev" command at that time I am facing TIMEOUT error from last 3-4 days. Please check the issue

Verbose output

No pending migrations to apply.

> dev
> shopify app dev --verbose

2024-01-19T06:56:15.717Z: Running command app dev
2024-01-19T06:56:15.744Z: Getting a random port...
2024-01-19T06:56:15.764Z: Random port obtained: 59735
2024-01-19T06:56:15.809Z:
Running system process:
  · Command: C:/xampp/htdocs/shopify/bevillesextensions/bevilles-extension/node_modules/@shopify/plugin-cloudflare/bin/cloudflared.exe tunnel --url http://localhost:59735 --no-autoupdate
  · Working directory: C:/xampp/htdocs/shopify/bevillesextensions/bevilles-extension

2024-01-19T06:56:15.823Z: Ensuring that the user is authenticated with the Partners API with the following scopes:
[]

2024-01-19T06:56:15.830Z: Getting session store...
2024-01-19T06:56:15.838Z: Validating existing session against the scopes:
[
  "openid",
  "https://api.shopify.com/auth/shop.admin.graphql",
  "https://api.shopify.com/auth/shop.admin.themes",
  "https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
  "https://api.shopify.com/auth/shop.storefront-renderer.devtools",
  "https://api.shopify.com/auth/partners.app.cli.access",
  "https://api.shopify.com/auth/destinations.readonly"
]
For applications:
{
  "partnersApi": {
    "scopes": []
  }
}

2024-01-19T06:56:15.841Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2024-01-19T06:56:15.856Z: Sending POST request to URL https://accounts.shopify.com/oauth/introspection
With request headers:
 - User-Agent: Shopify CLI; v=3.53.1
 - Keep-Alive: timeout=30
 - Sec-CH-UA-PLATFORM: win32
 - Content-Type: application/json

2024-01-19T06:56:16.072Z: 2024-01-19T06:56:16Z INF Thank you for trying Cloudflare Tunnel. Doing so, without a Cloudflare account, is a quick way to experiment and try it out. However, be aware that these account-less Tunnels have no uptime guarantee. If you intend to use Tunnels in production you should use a pre-created named tunnel by following: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps
2024-01-19T06:56:16Z INF Requesting new quick Tunnel on trycloudflare.com...

2024-01-19T06:56:18.687Z: 2024-01-19T06:56:18Z INF +--------------------------------------------------------------------------------------------+
2024-01-19T06:56:18Z INF |  Your quick Tunnel has been created! Visit it at (it may take some time to be reachable):  |

2024-01-19T06:56:18.691Z: 2024-01-19T06:56:18Z INF |  https://ie-scientific-merchant-tourism.trycloudflare.com                                  |
2024-01-19T06:56:18Z INF +--------------------------------------------------------------------------------------------+
2024-01-19T06:56:18Z INF Cannot determine default configuration path. No file [config.yml config.yaml] in [~/.cloudflared ~/.cloudflare-warp ~/cloudflare-warp]

2024-01-19T06:56:18.708Z: 2024-01-19T06:56:18Z INF Version 2023.5.1
2024-01-19T06:56:18Z INF GOOS: windows, GOVersion: go1.19, GoArch: amd64
2024-01-19T06:56:18Z INF Settings: map[ha-connections:1 no-autoupdate:true protocol:quic url:http://localhost:59735]
2024-01-19T06:56:18Z INF Generated Connector ID: cb0b8256-fc9b-4cb6-9996-4ffd80d33753

2024-01-19T06:56:18.715Z: 2024-01-19T06:56:18Z INF cloudflared will not automatically update on Windows systems.

2024-01-19T06:56:18.728Z: 2024-01-19T06:56:18Z INF Initial protocol quic

2024-01-19T06:56:18.733Z: 2024-01-19T06:56:18Z INF ICMP proxy will use 192.168.29.234 as source for IPv4

2024-01-19T06:56:18.768Z: 2024-01-19T06:56:18Z INF ICMP proxy will use fe80::4aa6:2471:6a26:16e1 in zone Wi-Fi as source for IPv6

2024-01-19T06:56:18.817Z: 2024-01-19T06:56:18Z INF cloudflared does not support loading the system root certificate pool on Windows. Please use --origin-ca-pool <PATH> to specify the path to the certificate pool

2024-01-19T06:56:18.818Z: 2024-01-19T06:56:18Z INF Starting metrics server on 127.0.0.1:59740/metrics

2024-01-19T06:56:18.978Z: 2024-01-19T06:56:18Z WRN Your version 2023.5.1 is outdated. We recommend upgrading it to 2024.1.3

2024-01-19T06:56:19.762Z: 2024-01-19T06:56:19Z INF Registered tunnel connection connIndex=0 connection=b4c8d826-be7a-47b9-bf15-3a7b99bdb37c event=0 ip=198.41.192.67 location=bom03 protocol=quic

2024-01-19T06:56:36.924Z: Request to https://accounts.shopify.com/oauth/introspection completed in 21057 ms
With response headers:


╭─ error ────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                │
│  request to https://accounts.shopify.com/oauth/introspection failed, reason: connect ETIMEDOUT                 │
│  185.146.173.20:443                                                                                            │
│                                                                                                                │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

2024-01-19T06:56:37.027Z: Obtaining the dependency manager in directory C:/xampp/htdocs/shopify/bevillesextensions/bevilles-extension...
2024-01-19T06:56:37.068Z:
Running system process:
  · Command: ruby -v
  · Working directory: C:/xampp/htdocs/shopify/bevillesextensions/bevilles-extension

2024-01-19T06:56:37.487Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 358 ms
With response headers:
 - x-request-id: 181f959d-ce2c-4034-926b-a639b0380756

2024-01-19T06:56:37.490Z: Analytics event sent: {
  "command": "app dev",
  "time_start": 1705647375720,
  "time_end": 1705647396998,
  "total_time": 21278,
  "success": false,
  "cli_version": "3.53.1",
  "ruby_version": "3.0.2",
  "node_version": "20.10.0",
  "is_employee": false,
  "uname": "windows amd64",
  "env_ci": false,
  "env_plugin_installed_any_custom": false,
  "env_plugin_installed_shopify": "[\"@shopify/app\",\"@shopify/cli\",\"@shopify/plugin-cloudflare\",\"@shopify/plugin-did-you-mean\"]",
  "env_shell": "cmd.exe",
  "env_device_id": "91e0a8b218199182d09996c31963267574babaaa",
  "env_cloud": "localhost",
  "env_package_manager": "npm",
  "cmd_app_warning_api_key_deprecation_displayed": false,
  "cmd_all_timing_network_ms": 21068,
  "cmd_all_timing_prompts_ms": 0,
  "cmd_all_launcher": "npm",
  "cmd_all_topic": "app",
  "cmd_all_plugin": "@shopify/app",
  "cmd_all_verbose": true,
  "cmd_all_path_override": true,
  "cmd_all_path_override_hash": "b04e577e617de899b9b37ae75a3419fbfa13f720",
  "cmd_app_dependency_installation_skipped": false,
  "cmd_app_reset_used": false,
  "cmd_all_timing_active_ms": 209,
  "cmd_all_exit": "expected_error",
  "args": "--verbose",
  "error_message": "request to https://accounts.shopify.com/oauth/introspection failed, reason: connect ETIMEDOUT 185.146.173.20:443",
  "env_plugin_installed_all": "[\"@shopify/app\",\"@shopify/cli\",\"@shopify/plugin-cloudflare\",\"@shopify/plugin-did-you-mean\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2024-01-19T06:56:37.519Z: Reporting handled error to Bugsnag: request to https://accounts.shopify.com/oauth/introspection failed, reason: connect ETIMEDOUT 185.146.173.20:443
2024-01-19T06:56:37.587Z: Obtaining the dependency manager in directory C:/xampp/htdocs/shopify/bevillesextensions/bevilles-extension...
    FetchError: request to https://accounts.shopify.com/oauth/introspection failed, reason: connect ETIMEDOUT 185.146.173.20:443
    Code: ETIMEDOUT

Reproduction steps

  1. when try to run "npm run dev"
  2. TIMEOUT Error showing

Operating System

Windows 10

Shopify CLI version (check your project's package.json if you're not sure)

3.53.1

Shell

No response

Node version (run node -v if you're not sure)

v20.10.0

What language and version are you using in your application?

checkout extension only

@kanasagraj kanasagraj added the Type: Bug Something isn't working label Jan 19, 2024
Copy link
Contributor

github-actions bot commented Mar 2, 2024

This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action.
→ If there's no activity within a week, then a bot will automatically close this.
Thanks for helping to improve Shopify's dev tooling and experience.

P.S. You can learn more about why we stale issues here.

@lizhenmiao
Copy link

May I ask if you have solved this problem?

@kanasagraj
Copy link
Author

@lizhenmiao Sometimes this issue occurs. but when I tried with a different internet IP it's resolved. Please try with different internet.

@lizhenmiao
Copy link

@kanasagraj Ok, thanks a lot, I'm using proxifier now to fix it temporarily.

@haris1100
Copy link

Just modify the theme code slightly, and try the failed command again. it will work.

@MahmoudY3c
Copy link

MahmoudY3c commented Dec 22, 2024

I added solution working for me here in github issue no 3417 check it out https://github.com/Shopify/cli/issues/3417#issuecomment-2558481333 i hope it's help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-issue-activity Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants