401 Client Error

I’m trying to do some calculations with MUSES CE, and I’m always encountering this error:

401 Client Error for http+docker://localhost/v1.52/images/create?tag=v1.0.3&fromImage=registry.gitlab.com%2Fnsf-muses%2Fcrust-dft%2Fcrust-dft: Unauthorized (“error from registry: HTTP Basic: Access denied. If a password was provided for Git authentication, the password was incorrect or you’re required to use a token instead of a password. If a token was provided, it was either incorrect, expired, or improperly scoped. See Troubleshooting two-factor authentication | GitLab Docs”)

I’ve tried reading the recommended page, but I still can’t figure it out. If you have any suggestions, let me know. Thanks.

Would you mind sharing your workflow config?

Please use the code block syntax like

    blah blah text

    ```yaml
    my workflow:
      config:...
    ```

Here are some attempts:

processes:
- name: crust_dft-1
  config:
    np: 4
    set:
      verbose: 0
      Ye_grid_spec: 70,0.01*(i+1)
      nB_grid_spec: 301,10^(i*0.04-12)*0.08
    ext_guess: true
    select_model: 470 738 0.5 13.0 62.4 32.8 0.9
    output_format: CSV
    generate_table: false
  inputs:
    EOS_table:
      path: /crust_dft/data/fid_3_5_22.o2
      type: upload
      uuid: b85c8ce0-cb32-4119-b921-e7133d79512d
      label: EOS_table
      checksum: 164575f9d84c3ac087780e0219ee2e8a
  module: crust_dft
- name: lepton-1
  pipes:
    input_eos:
      label: crust_dft_output
      module: crust_dft
      process: crust_dft-1
  config:
    input:
      grid_variable: auto
    global:
      verbose: 2
      use_lepton_eos: true
      lepton_fraction: 0
      check_eos_stability: true
      use_beta_equilibrium: true
      use_charge_neutrality: true
      remove_negative_pressure: true
    output:
      output_hdf5: false
      output_compOSE: false
      output_derivatives: true
      output_particle_properties: true
      output_flavor_equilibration: true
    solver:
      method: levenbergMarquardt
      linear_solver: denseQR
      function_tolerance: 1.0e-10
      gradient_tolerance: 1.0e-12
      max_num_iterations: 1000
      parameter_tolerance: 1.0e-10
      convergence_threshold: 1.0e-07
      use_nonmonotonic_steps: true
    particles:
      use_tau: false
      use_muon: false
      use_electron: true
      use_tau_neutrino: false
      use_muon_neutrino: false
      use_extra_particles: false
      use_electron_neutrino: false
    derivatives:
      method: gsl
      finite_difference:
        precision: 1
        step_size: 0.005
        step_type: relative
    compOSE_options:
      baryon_density_points: 301
      baryon_density_spacing: linear
      charge_fraction_points: 60
      charge_fraction_spacing: linear
    lepton_eos_parameters:
      electron_cp_step: 0
      temperature_step: 0
      electron_cp_final: 0
      temperature_final: 0
      electron_cp_initial: 0
      temperature_initial: 0
      electron_neutrino_cp_step: 0
      electron_neutrino_cp_final: 0
      electron_neutrino_cp_initial: 0
    flavor_equilibration_options:
      reinterpolate_eos: false
      baryon_density_points: 301
      charge_fraction_points: 60
    multidimensional_interpolator:
      number_of_points: 100
      use_multidimensional_interpolator: false
  module: lepton
components:
- name: gooey-chain
  type: chain
  sequence:
  - crust_dft-1
  - lepton-1
processes:
- name: chiral_eft-1
  config:
    eos_grid:
      density_end: 0.32
      density_step: 0.032
      density_start: 0.032
      isospin_asymmetry_end: 1
      isospin_asymmetry_step: 1
      isospin_asymmetry_start: 0
    run_name: h
    output_options:
      output_format: csv
      output_precision: 12
      include_output_flavor: true
      include_output_lepton: true
      include_output_stable: true
      include_output_saturation_properties: false
    calculation_options:
      n_threads: 8
      use_multithreading: false
      use_first_order_eos: true
      use_second_order_eos: true
      use_three_nucleon_forces: true
      use_free_energy_ansatz_fit: true
      use_first_order_self_energy: true
      use_quadratic_asymmetry_expansion: false
    physical_parameters:
      gA: 1.29
      fpi: 92.4
      alpha: 0.0072967957
      gamma: 0
      hbarc: 197.327
      proton_mass: 938.272
      neutron_mass: 939.5653
      average_pion_mass: 138.039
      charged_pion_mass: 139.5702
      neutral_pion_mass: 134.9766
      average_nucleon_mass: 938.9182
    chiraleft_parameters:
      c_lecs:
        c_1: -0.81
        c_2: 3.28
        c_3: -3.4
        c_4: 3.4
      d_lecs:
        d_3: -3.27
        d_5: 0.45
        d_12: 3.06
        d_1415: -5.65
      contact_lsj: true
      contacts_LO:
        contact_LO_nn_1: -0.1548085
        contact_LO_nn_2: 0
        contact_LO_np_1: -0.15524
        contact_LO_np_2: -0.142925
        contact_LO_pp_1: -0.15445
        contact_LO_pp_2: 0
      contacts_NLO:
        contact_NLO_1: 2.15
        contact_NLO_2: 1.24
        contact_NLO_3: 0.25
        contact_NLO_4: -0.688
        contact_NLO_5: 0.61
        contact_NLO_6: 0.57
        contact_NLO_7: -0.6425
      contacts_N3LO:
        contact_N3LO_1: -4.25
        contact_N3LO_2: -16.4
        contact_N3LO_3: 0.1
        contact_N3LO_4: 2.1
        contact_N3LO_5: 3.65
        contact_N3LO_6: 12
        contact_N3LO_7: 1.55
        contact_N3LO_8: -0.8
        contact_N3LO_9: 2.65
        contact_N3LO_10: 4.63
        contact_N3LO_11: -2.42
        contact_N3LO_12: -0.37
        contact_N3LO_13: 1.892
        contact_N3LO_14: -0.61
        contact_N3LO_15: 5.76
      cutoff_exponent: 3
      cutoff_scale_MeV: 450
      cutoff_exponent_LO: 4
      fitted_parameter_set: none
      three_nucleon_forces:
        c_D: -0.24
        c_E: -0.106
        cutoff_scale_MeV: 700
  module: chiral_eft
components:
- name: gooey-chain
  type: chain
  sequence:
  - chiral_eft-1
processes:
- name: crust_dft-1
  config:
    np: 4
    set:
      verbose: 0
      Ye_grid_spec: 70,0.01*(i+1)
      nB_grid_spec: 301,10^(i*0.04-12)*2.0
    ext_guess: true
    select_model: 470 738 0.5 13.0 62.4 32.8 0.9
    output_format: CSV
    generate_table: false
  inputs:
    EOS_table:
      path: /crust_dft/data/fid_3_5_22.o2
      type: upload
      uuid: b85c8ce0-cb32-4119-b921-e7133d79512d
      label: EOS_table
      checksum: 164575f9d84c3ac087780e0219ee2e8a
  module: crust_dft
components:
- name: gooey-chain
  type: chain
  sequence:
  - crust_dft-1

This appears to be because the GitLab access token used to fetch images has expired. I’ll see if I can replace it.

I generated a new token and it looks like the CE is working again. I set the expiration date as far in the future as possible (December 2026). This is an unfortunate but unavoidable weakness in our system, driven by the fact that a subset of the MUSES module container images are not public. Currently the only two people who can generate these tokens and update the associated deployment secret are me and @mrpelicer.