Questions tagged [rocket]

Rocket is a new container runtime, designed for composability, security, and speed. Do not use this tag for the [rust] web framework, use [rust-rocket] instead. Do not use this for Rocket Software products, use appropriate product-specific tag such as [rocket-u2], [unidata], [universe], etc

Rocket is an alternative to the runtime, designed for server environments with the most rigorous security and production requirements. Rocket is oriented around the App Container specification, a new set of simple and open specifications for a portable container format.

74 questions
1
vote
1 answer

Is it possible to display included source code

Have a subroutine with a $include file item in it. One of the common variables held in the $include file isn't being updated. Wondering if somehow the include isn't being included, hence question regarding displaying source code including $include…
ScaryMinds
  • 335
  • 3
  • 11
1
vote
0 answers

Small change in large file in Docker container produces huge layer

I am using docker to have versioned database on my local dev environment (e.g. to be able to snapshot/revert db state). I need it due to nature of my work. I can not use transactions to achieve what I want [one of reasons - some of statements are…
andll
  • 319
  • 2
  • 8
1
vote
1 answer

Include/Exclude L2 from RISC-V Rocket

How do I include/remove the L2 cache in the RISC-V Rocket chip? Is it something I need to change in the rocket chip's config file?
Caylen Lee
  • 75
  • 5
1
vote
1 answer

Production ready LAMP stack - in Docket, Rocket etc

Id like to use cloud hosting platforms like Digital Ocean or Linode, but Im a bit concerned about my server configuration, its not something Ive had experience of, does any one know if there is a Docker package (or any other environment file) that i…
sam
  • 9,486
  • 36
  • 109
  • 160
0
votes
0 answers

How to get multiple values ​from html form using rust rocket

The essence of the problem lies in the fact that there is a form on the html page, in which there can be a different number of input fields. Is it possible somehow to get all the values ​​entered by the user in those fields? I can get the value ​​if…
acvel
  • 3
  • 2
0
votes
0 answers

is it possible to get the rust rocket 500 error message

Today I get the error log like this on the server side: 2023-08-16T06:24:47.573596263+00:00 [/home/rust/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rocket-0.5.0-rc.3/src/server.rs:56] ERROR rocket::server:Handler get_src…
Dolphin
  • 29,069
  • 61
  • 260
  • 539
0
votes
0 answers

How to get IP address of the endpoint caller in Rust Rocket?

I have a POST endpoint: use rocket::serde::json::Json; use rocket::{ State, Request }; #[post( "/my_endpoint", format = "json", data = "" )] pub async fn my_endpoint( request: &Request<'_>, peer_state:…
NewToCode
  • 174
  • 8
0
votes
1 answer

Expected `Result, Error>`, found `Result, ...>` on MongoDB

I have this code to connect with MongoDB from rust run when I try to cargo run the code return an error in the if statement and I can't figure out why. It has been days that I try to debug it. This is the code: use std::iter::FilterMap; use…
0
votes
0 answers

api on Rust that should accept a file

I'm making an api on Rust (rocket = "0.5.0-rc.3"), and when I start I see this: "limits: bytes = 8KiB, data-form = 2MiB, file = 1MiB, form = 32KiB, json = 1MiB, msgpack = 1MiB, string = 30MiB" I was interested in "file = 1MiB". I wanted to make this…
Duxtaa
  • 15
  • 3
0
votes
2 answers

API on Rust, error: "data limit exceeded"

I need to make an API on Rust, to which you give a string, it performs some function, and then returns a new string. But an error occurred, if the string is too long, then an error occurs: POST /test: >> Matched: (test) POST /test >> Data…
Duxtaa
  • 15
  • 3
0
votes
0 answers

How can I integrate to Rocket universe u2 database from Mulesoft

I have some jar files. But so far i am not able to establish test connection using mule out of the box db connector. My customer already have established connection using uniObjects for java.... Any lead will be helpful.
user2769605
  • 23
  • 1
  • 5
0
votes
0 answers

Is it possible to use CEA RUN for cold gas thruster?

I am trying to observe nozzle design for a cold gas nitrogen system. It you can do reactants in the CEA RUN program, but I am trying to observe if I just want the pressure of a cold gas system as the propellant.
0
votes
0 answers

How can I see the exit values on NASA CEA run?

I'm trying to use the NASA CEA run program to look at what the nozzle design would look like, for just nitrogen gas in a cold gas system. I can see the output values however there is only values at the chamber and throat of the nozzle, not the exit.
0
votes
0 answers

FromRequest has no Query Data for URI when Method is POST

I am currently using an implementation of FromRequest to access Query Data from the Request URI property and it seems to be working fine for GET Methods but does not work for POST Methods. I have a very simple Rocket (0.5.0-rc.2) Script that is only…
TheLovelySausage
  • 3,838
  • 15
  • 56
  • 106
0
votes
0 answers

how i can fix my problem with Relative protocol?

i had set (ON) Relative protocol from WP rocket by mistake and i had problem now because i change it from off to on, is there any idea how to solve it ? any help please ? thanks Best Regards Tawfiq