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

metachannel is not accessible or is invalid #31

Open
allefeld opened this issue Feb 6, 2020 · 21 comments
Open

metachannel is not accessible or is invalid #31

allefeld opened this issue Feb 6, 2020 · 21 comments

Comments

@allefeld
Copy link

allefeld commented Feb 6, 2020

I'm trying to create a new environment with a metachannel made from defaults and conda-forge:

$ conda create --override-channels -c https://metachannel.conda-forge.org/defaults,conda-forge --name std
Collecting package metadata (current_repodata.json): done
Solving environment: done

UnavailableInvalidChannel: The channel is not accessible or is invalid.
  channel name: defaults,conda-forge
  channel url: https://metachannel.conda-forge.org/defaults,conda-forge
  error code: 404

You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state,
and use `conda config --show-sources` to view config file locations.

Manually visiting the https://metachannel.conda-forge.org/defaults,conda-forge confirms that there appears to be something wrong with the server:
image

conda 4.8.1 on Debian 10.2

@scopatz
Copy link
Contributor

scopatz commented Feb 6, 2020

CC @mariusvniekerk

@mivade
Copy link

mivade commented Mar 11, 2020

Any update on this? I'm also getting 404.

@mariusvniekerk
Copy link
Contributor

Visiting that url is not how you use conda-metachannel. Checking a simple url like

https://metachannel.conda-forge.org/conda-forge/python/noarch/repodata.json

suggests it is working okay?

@mivade
Copy link

mivade commented Mar 14, 2020

Try the example in the original comment. That and similar commands are not working:

$ conda create -c https://metachannel.conda-forge.org/defaults,conda-forge --name example python
Collecting package metadata (current_repodata.json): failed

UnavailableInvalidChannel: The channel is not accessible or is invalid.
  channel name: defaults,conda-forge
  channel url: https://metachannel.conda-forge.org/defaults,conda-forge
  error code: 404

You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state,
and use `conda config --show-sources` to view config file locations.

Is there something wrong with the URL construction? I'm fairly sure that this sort of thing worked for me in the past.

@GeorgianaElena
Copy link

Hi there 👋

I'm getting a 522 Origin Connection Time-out when accessing
https://metachannel.conda-forge.org/conda-forge/jupyterhub,sphinx,recommonmark/noarch/repodata.json (or https://metachannel.conda-forge.org). This started happening only a few days ago.

Does anybody have any info about this? Thanks!

@scopatz
Copy link
Contributor

scopatz commented Mar 30, 2020

Hi there, yeah. I took down the metachannel service because it was costing me personally a bunch of money to run per month to run on google cloud. Any help in standing up a cheaper instance ( possibly on digital ocean), or in funding it would be very appreciated! Sorry for the inconvience. Anyone is should feel free to reach out to me if they want to chat about this individually too.

@choldgraf
Copy link

@scopatz - that's a bummer :-/ how costly is it to run the channel, if I may ask?

we have had a bit of success with OVH, who seems interested in supporting open source projects / infrastructure at the moment (https://blog.jupyter.org/nbviewer-has-a-new-host-ovhcloud-28bcab6a7ab4)

@scopatz
Copy link
Contributor

scopatz commented Apr 1, 2020

@choldgraf - it was costing me about $60 / month to run on google cloud, which is just too much for the long haul. It is relatively low requirements, so if there is an option for keeping it running, I'd love to hear it!

@choldgraf
Copy link

@scopatz do you have an idea for its utilization and usage numbers? Maybe something that could be used to justify a comp'ed set of credits elsewhere?

@scopatz
Copy link
Contributor

scopatz commented Apr 1, 2020

CC @mariusvniekerk - I think it wasn't being used that much. Maybe 3 requests/minute maybe?

@mariusvniekerk
Copy link
Contributor

Just mostly needs a decentish bit of ram since repodata.json is large and it makes some local caches

@choldgraf
Copy link

choldgraf commented Apr 1, 2020

Hmm, I wonder what @SylvainCorlay thinks about this...do you think OVH would be interested in helping host this infrastructure for the pydata community?

@jqueguiner
Copy link

@choldgraf : Interested <3

@SylvainCorlay
Copy link

SylvainCorlay commented Apr 3, 2020

@choldgraf : Interested <3

☝️ @scopatz @choldgraf it seems that OVH may be interested in hosting this infrastructure. How should we proceed?

@SylvainCorlay
Copy link

Ping @scopatz @mariusvniekerk !

By the way there was some interest on OVH's side in hosting other conda-forge related things.

@mariusvniekerk
Copy link
Contributor

Currently this just runs as a docker container so should be easy to run on any platform. I guess we need some credentials to an ovh account to set up the terraform to provision infrastructure.
Resource wise it's about 2/3 GB of ram.
Additionally we'd need to configure dns to point to it.

@scopatz
Copy link
Contributor

scopatz commented Apr 7, 2020

Yeah. I think the ovh creds are the blocking piece right now

@rgommers
Copy link

Would it make sense to officially end-of-life conda-metachannel?

This package was featured quite prominently in Anaconda's blogs on performance,

and is mentioned in the conda-forge FAQ under "Installing and updating takes a long time, what can I do?".

But now the package is going unmaintained (last commit was 14 months ago) and the metachannel service has been down for months.

I'd suggest this is doing users a disservice. Conda still has a lot of performance problems, so users will be looking for those blogs and that FAQ entry. I'd rather they see "try using Mamba instead of Conda" as the answer in the FAQ instead.

@astrojuanlu
Copy link

There is kind of a bootstrapping problem: one discovers that conda is slow, wants to install mamba, and conda install mamba -c conda-forge takes ages because... conda is slow and conda-forge is huge.

I came from https://github.com/readthedocs/readthedocs.org/pull/6815/files/c0ad8095d9395e18054fd32868b5288be411b28a#r535450723 (cc @humitos) looking for a solution for this because in my mind conda-metachannel was exactly what miniconda users need. It's a bummer that the service no longer works, perhaps there's the chance to bring it back to life?

Otherwise, I concur with @rgommers, there should be more clear expectations about the current way forward.

@scopatz
Copy link
Contributor

scopatz commented Dec 17, 2020

Metachannel as code should still work. You should still be able to stand-up a metachannel yourself. The service was just too expensive for individual volunteers to foot the bill for the world. If there are donated hosting that we could use and volunteers to stand it up, I think metachannel could make a come back as a service. I understand that is a high bar to clear though.

@rgommers
Copy link

There is kind of a bootstrapping problem: one discovers that conda is slow, wants to install mamba, and conda install mamba -c conda-forge takes ages because... conda is slow and conda-forge is huge.

https://github.com/conda-forge/miniforge#mambaforge

The service was just too expensive for individual volunteers to foot the bill for the world. If there are donated hosting that we could use and volunteers to stand it up, I think metachannel could make a come back as a service. I understand that is a high bar to clear though.

That makes sense, thanks @scopatz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants