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

bug: crashed while attempting to upload with APOLLO_KEY set to some garbled value #550

Closed
frenchtoast747 opened this issue May 19, 2021 · 0 comments · Fixed by #549
Closed

Comments

@frenchtoast747
Copy link

I had attempted to call the subgraph publish command after having export APOLLO_KEY=$(aws blah blah blah fetch apollo key secret) which had failed and ended up setting APOLLO_KEY to an empty string. So the environment variable was most likely set in the process call, but it was empty which appears to have led to the following panic.

Crash Report

name = 'rover'
operating_system = 'unix:Ubuntu'
crate_version = '0.1.0'
explanation = '''
Panic occurred in file 'crates/rover-client/src/query/config/is_federated.rs' at line 30
'''
cause = 'called `Option::unwrap()` on a `None` value'
method = 'Panic'
backtrace = '''

  0: 0x55a2c2ec34ad - core::panicking::panic::h10ab123a4b13cc79
               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:50
  1: 0x55a2c3c871d3 - rover_client::query::config::is_federated::run::h2a3e30c3a64d149c
  2: 0x55a2c2ee10b6 - rover::command::subgraph::publish::Publish::run::hae162808fd3d7325
  3: 0x55a2c2f2f4be - rover::command::subgraph::Subgraph::run::h21964753ed841f33
  4: 0x55a2c2efa070 - rover::cli::Rover::run::h28d41f02ddf43492
  5: 0x55a2c2ec674d - rover::main::had9b70b6bc5a3594
  6: 0x55a2c2ec4bf3 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha54d4a3f208361e7
  7: 0x55a2c2ec4c09 - std::rt::lang_start::{{closure}}::h828bf5fa25acf4d3
  8: 0x55a2c419cc7a - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h44574effd2120c86
               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/ops/function.rs:259
                - std::panicking::try::do_call::h10b0bd4879c8dfb0
               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:379
                - std::panicking::try::h60c6780d33419e92
               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:343
                - std::panic::catch_unwind::h111f33e08c52e2ce
               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panic.rs:431
                - std::rt::lang_start_internal::h126f2e09345dbfda
               at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/rt.rs:51
  9: 0x55a2c2ec6f82 - main
 10: 0x7f13b14d2bf7 - __libc_start_main
 11: 0x55a2c2ec4229 - _start
 12:        0x0 - <unresolved>'''
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

Successfully merging a pull request may close this issue.

1 participant