Comments (4)
I've fixed it!
Here the reason:
Atuin client send too large body more than Cloudflare default max size 100m and Nginx default 1m.
Client got 413 status response.
But client do not show the HTTP status 413. Use JSON deocde directly code as below.
atuin/atuin-client/src/api_client.rs
Lines 160 to 162 in 94c85c3
So, recommended to include the HTTP response status code in the error message. @ellie
from atuin.
Cloudflare Free plan upload limits: https://developers.cloudflare.com/cache/concepts/default-cache-behavior/#upload-limits
from atuin.
I'm having this same issue. I would like to request that the error message better reflect what the JSON error response says, so that I can debug this on my server. I have logs set up and they say Shutting down gracefully ...
.
Running ATUIN_LOG=debug atuin sync -f
on the client tells me the body is 166 bytes. I did increase the Nginx limit, but there might be some other limit that causes this. Still, a better error message would be helpful.
from atuin.
This worked for me. Thanks @wudi
I added this to my server entry for atuin in nginx. All is well now.
client_max_body_size 10M;
from atuin.
Related Issues (20)
- [Bug]: Unable to install on ARM64 - failed to select a version for `env_logger`. HOT 3
- [Bug]: Invert doesn't invert preview location HOT 2
- [Bug]: pool timed out while waiting for an open connection HOT 1
- [Bug]: Missing `ATUIN_SESSION` env-var spam HOT 11
- [Bug]: Missing entries in interactive search
- [Bug]: no disable HOT 3
- [Bug]: Maybe filter out fish's `env` from `atuin stats`? HOT 2
- Tracking `bash-preexec` issue HOT 5
- RFE: Testing postgres HOT 2
- [Bug]: cargo fallback setup method sources cargo env in .profile
- sqlite tests failing in Fedora packaging environment HOT 10
- serde_yaml is deprecated HOT 3
- [Bug]: (code: 261) database is locked on statup HOT 2
- [Bug]: ctrl + left arrow key does not work anymore
- Directory can be truncated in CLI inspector HOT 1
- Rust 1.78 in nix
- [Bug]: Vi command mode '/' for search incorrect semantics HOT 1
- [Bug]: atuin store --help is missing explanations
- [Bug]: attempting to decrypt with incorrect key HOT 3
- Login with incorrect key
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atuin.