question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Random timeout issues

See original GitHub issue

Checklist

  • I have looked into the README and have not found a suitable solution or answer.
  • I have looked into the documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have upgraded to the latest version of this tool and the issue still persists.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Description

When running the tool with either Export or Import I am randomly getting Timeout errors. I am running the export command which worked a couple of times and then it did not work a few times now it is working again.

a0deploy export --config_file Sandbox.json --format yaml --output_folder ./Sandbox

This error appears at random stages.

APIError: connect ETIMEDOUT ***.**.***.**:443

I switched internet connect, from WLAN to LAN to mobile LTE. Same behavior.

The following is happening when I run it from GitHub Actions:

image

Expectation

The command to work!

Reproduction

  1. Run the command in the description

Deploy CLI version

7.15.1

Node version

v16.13.0

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
ewanharriscommented, Oct 27, 2022

@Franklin89, Node.js 19 could possibly alleviate some of the pressure from the amount of requests as it enables keepAlive by default. That should allow HTTPS connections to be reused by multiple requests rather than opening a new connection every time.

For folks that hit this type of issue it might be worthwhile testing out Node.js 19 to see if it is more stable

0reactions
willveddcommented, Nov 28, 2022

Closing this one out. While the Deploy CLI can certainly be resource-hungry at times, it does so for performance reasons. Perhaps there is room for optimization in the future, but until then, there is clear guidance on how to “fix”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue - Random Connection Timeouts on all Websites
Hello, We are using CentOS 7.9 Plesk Obsidian (Version 18.0.34, newest) together with 2 uptime monitoring services (StatusCake, Uptimerobot) ...
Read more >
Random Timeout Issue : r/networking - Reddit
Anyways, seeing a random timeout issue going across our 2 networks. Our production and test environment. When viewing a webpage, you will get...
Read more >
Weird and random timeout issue - DNS & Network
Hi,. From our monitoring tools we are noticing random timeouts occurring from yesterday at 18 (CEST) on multiple proxied domains.
Read more >
Random timeout now and then - Server Fault
The problem is that every now and then the https Request times out and depending on the Client the Application "hangs" or does...
Read more >
[Question] random timeout #5198 - microsoft/playwright - GitHub
Hello, I am wondering what would be the best way to handle the timeout issue. The thing is that it fails with a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found