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.

Please add CDN or Bundle external requirement in elyra

See original GitHub issue

I got super slow jupyter lab startup due to Failed to connect to URL for component . Why not bundle these dependency inside elyra by submodule or something else ?

[I 2021-09-22 20:13:59.561 ServerApp] nbclassic | extension was successfully loaded.
[I 2021-09-22 20:13:59.561 ElyraApp] Config {'ServerApp': {'jpserver_extensions': <LazyConfigValue value={'jupyterlab': True, 'elyra': True, 'jupyter_lsp': True, 'jupyter_resource_usage': True, 'jupyter_server_mathjax': True, 'jupyterlab_git': True, 'nbclassic': True, 'nbdime': True}>}}
[W 2021-09-22 20:14:00.770 ServerApp] Failed to connect to URL for component: https://raw.githubusercontent.com/apache/airflow/1.10.15/airflow/operators/bash_operator.py: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))
[W 2021-09-22 20:14:00.858 ServerApp] Failed to connect to URL for component: https://raw.githubusercontent.com/apache/airflow/1.10.15/airflow/operators/email_operator.py: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关 闭了一个现有的连接。', None, 10054, None))
[W 2021-09-22 20:14:22.602 ServerApp] Failed to connect to URL for component: https://raw.githubusercontent.com/apache/airflow/1.10.15/airflow/operators/http_operator.py: ('Connection aborted.', TimeoutError(10060, '由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。', None, 10060, None))
[W 2021-09-22 20:15:04.800 ServerApp] Failed to connect to URL for component: https://raw.githubusercontent.com/apache/airflow/1.10.15/airflow/contrib/operators/spark_sql_operator.py: ('Connection aborted.', ConnectionResetError(10054, '远 程主机强迫关闭了一个现有的连接。', None, 10054, None))
[W 2021-09-22 20:15:25.939 ServerApp] Failed to connect to URL for component: https://raw.githubusercontent.com/apache/airflow/1.10.15/airflow/contrib/operators/spark_submit_operator.py: ('Connection aborted.', ConnectionResetError(10054, '远程主机强迫关闭了一个现有的连接。', None, 10054, None))

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kevin-batescommented, Sep 22, 2021

Yeah, I’m thinking the same thing after reading this issue. I don’t think that was necessarily “in the plans” as those kinds of issues aren’t immediately evident although should have been considered. I believe that when we move to a watchdog mechanism to accommodate async cache reloads (#2162) we should consider also addressing the initial load in a similar manner. In that case, perhaps the constructor could set up the watchdog, then touch the files, letting the update from the touch trigger the async (and initial) load from the watchdog observer thread.

1reaction
ptitzlercommented, Sep 22, 2021

@kevin-bates @kiersten-stokes (comment is not specific to examples but URL registry entries in general) - are we planning to load [remote] component specifications in the future in parallel and asynchronously? A sequential/blocking approach won’t work in environments where the registry includes many remote entries and network latency is an issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pipelines — Elyra 3.14.1 documentation
A runtime-specific pipeline may include nodes that are implemented using generic components or custom components for that runtime. A Kubeflow Pipelines pipeline.
Read more >
How to add CDN to bundle.config in asp.net webforms bundling
3 Answers 3 ... Currently you cannot mix and match and pull some of the files in your bundle from an external source...
Read more >
Elyria Solids Handling Project “Makes the Cake”
Agency (EPA) and Ohio EPA, however, adding the third well would trigger an Ohio EPA requirement that would apply to all three wells...
Read more >
Please stop using CDNs for external Javascript libraries
I want to discuss a (minor) antipattern that I think is (slightly) harmful. Lots of websites use large Javascript libraries.
Read more >
Hillsdale Charleston Round Wood Counter Height Table
come before from external file os. To complete your value, add a stately computer chair they match. The damp ... Please follow in...
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