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

getting http 404 #31

Open
ozkanpakdil opened this issue May 13, 2023 · 0 comments
Open

getting http 404 #31

ozkanpakdil opened this issue May 13, 2023 · 0 comments

Comments

@ozkanpakdil
Copy link

I am trying the example code, I gather consumer keys from
image
and used it client_identifier_ and client_secret then for token and token_secret I used
image
and when I ran the code I am getting error below

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Http(404)', src/main.rs:41:10
stack backtrace:
   0:     0x55ae7ff6c00a - std::backtrace_rs::backtrace::libunwind::trace::ha271a8a7e1f3d4ef
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x55ae7ff6c00a - std::backtrace_rs::backtrace::trace_unsynchronized::h85739da0352c791a
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x55ae7ff6c00a - std::sys_common::backtrace::_print_fmt::hbc6ebcfb2910b329
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x55ae7ff6c00a - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he1c117e52d53614f
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x55ae7ff8db6e - core::fmt::write::h25eb51b9526b8e0c
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/fmt/mod.rs:1213:17
   5:     0x55ae7ff675a5 - std::io::Write::write_fmt::ha9edec5fb1621933
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/io/mod.rs:1682:15
   6:     0x55ae7ff6bdd5 - std::sys_common::backtrace::_print::hf8657cd429fc3452
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:47:5
   7:     0x55ae7ff6bdd5 - std::sys_common::backtrace::print::h41b9b18ed86f86bd
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:34:9
   8:     0x55ae7ff6d5bf - std::panicking::default_hook::{{closure}}::h22a91871f4454152
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:267:22
   9:     0x55ae7ff6d2fb - std::panicking::default_hook::h21ddc36de0cd4ae7
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:286:9
  10:     0x55ae7ff6dcc9 - std::panicking::rust_panic_with_hook::h5059419d6d59b3d0
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:688:13
  11:     0x55ae7ff6da69 - std::panicking::begin_panic_handler::{{closure}}::h0f383c291cd78343
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:579:13
  12:     0x55ae7ff6c4bc - std::sys_common::backtrace::__rust_end_short_backtrace::h70ab22f2ad318cdd
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:137:18
  13:     0x55ae7ff6d772 - rust_begin_unwind
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:575:5
  14:     0x55ae7f926c23 - core::panicking::panic_fmt::hd1d46bcde3c61d72
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/panicking.rs:64:14
  15:     0x55ae7f9270d3 - core::result::unwrap_failed::h456a23f68607268c
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/result.rs:1790:5
  16:     0x55ae7f9c1709 - core::result::Result<T,E>::unwrap::h60f365746df74acf
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/result.rs:1112:23
  17:     0x55ae7f9e5f39 - rust_feed_hub::main::{{closure}}::h7cb33536a194969a
                               at /home/oz-mint/projects/rust_feed_hub/src/main.rs:34:5
  18:     0x55ae7f9e8b44 - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::h9a9aa76d43984d7f
                               at /home/oz-mint/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.28.1/src/runtime/park.rs:283:63
  19:     0x55ae7f9e8966 - tokio::runtime::coop::with_budget::h529e3c1343fc9bff
                               at /home/oz-mint/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.28.1/src/runtime/coop.rs:107:5
  20:     0x55ae7f9e8966 - tokio::runtime::coop::budget::h773b879e87692ef4
                               at /home/oz-mint/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.28.1/src/runtime/coop.rs:73:5
  21:     0x55ae7f9e8966 - tokio::runtime::park::CachedParkThread::block_on::hc48e4a7ed26d8522
                               at /home/oz-mint/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.28.1/src/runtime/park.rs:283:31
  22:     0x55ae7f9d1c45 - tokio::runtime::context::BlockingRegionGuard::block_on::hf71e2e32f29b9748
                               at /home/oz-mint/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.28.1/src/runtime/context.rs:315:13
  23:     0x55ae7f9bb225 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::hb6e001defe81f7a4
                               at /home/oz-mint/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.28.1/src/runtime/scheduler/multi_thread/mod.rs:66:9
  24:     0x55ae7f9473ba - tokio::runtime::runtime::Runtime::block_on::h8659d9886e07120c
                               at /home/oz-mint/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-1.28.1/src/runtime/runtime.rs:304:45
  25:     0x55ae7f94ce93 - rust_feed_hub::main::ha30909ffa2a6746a
                               at /home/oz-mint/projects/rust_feed_hub/src/main.rs:52:5
  26:     0x55ae7f968a9b - core::ops::function::FnOnce::call_once::hf22ce111b44ea710
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/ops/function.rs:250:5
  27:     0x55ae7f9589ee - std::sys_common::backtrace::__rust_begin_short_backtrace::haa82a813abc3fa89
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys_common/backtrace.rs:121:18
  28:     0x55ae7f9cfc21 - std::rt::lang_start::{{closure}}::ha69d3f6d2317a371
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:166:18
  29:     0x55ae7ff639ec - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::h203afb3af230319a
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/ops/function.rs:287:13
  30:     0x55ae7ff639ec - std::panicking::try::do_call::hf68e87013b70f3c5
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40
  31:     0x55ae7ff639ec - std::panicking::try::h040ea8f298390ba2
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19
  32:     0x55ae7ff639ec - std::panic::catch_unwind::h1e17b198887a05fa
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14
  33:     0x55ae7ff639ec - std::rt::lang_start_internal::{{closure}}::hfb902d8927e51b86
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:48
  34:     0x55ae7ff639ec - std::panicking::try::do_call::h354e6eb41f2e7d42
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:483:40
  35:     0x55ae7ff639ec - std::panicking::try::h4a39749cd018228c
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:447:19
  36:     0x55ae7ff639ec - std::panic::catch_unwind::h30bce83b8de61cca
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panic.rs:140:14
  37:     0x55ae7ff639ec - std::rt::lang_start_internal::h8f7e70b1a2558118
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:148:20
  38:     0x55ae7f9cfbfa - std::rt::lang_start::h8142dc36d9175bf6
                               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/rt.rs:165:17
  39:     0x55ae7f94cfbe - main
  40:     0x7f7f3a48ad90 - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  41:     0x7f7f3a48ae40 - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:392:3
  42:     0x55ae7f9272b5 - _start
  43:                0x0 - <unknown>

Process finished with exit code 101

I tried to change places of tokens and secrets but still 404, what am I missing ?

Thanks

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

1 participant