Comments (8)
@unnitallman Please check this video
https://drive.google.com/file/d/1MVT3q9ZZ1FnFWY-ULeQt-Avs3OZnlu3J/view
from journal.
@josephv7 Good one. @agneym @amaljosea Please use @josephv7 's solution for now, I will try and fix it properly tomorrow.
from journal.
@amaljosea _a
Please watch this and get back https://share.getcloudapp.com/wbuWlAnv
from journal.
I can confirm this is happening, it seems to be connected to the gzip module. curl also fails when using the User-Agent header.
from journal.
I was able to get the response by commenting the contents of config/initializers/rack_deflater.rb
.
from journal.
@agneym could you post the full curl
line, so that i can reproduce it and try to fix it.
from journal.
@unnitallman Copied from browser
curl 'http://localhost:3000/api/v1/visits/ongoing' \
-H 'Connection: keep-alive' \
-H 'Accept: application/json, text/plain, */*' \
-H 'X-Auth-Token: PQxy3h9kUMtViLkonECT' \
-H 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Referer: http://localhost:3000/user' \
-H 'Accept-Language: en-US,en;q=0.9,ml;q=0.8' \
-H 'Cookie: CSRF-TOKEN=ke4e1Uif6tMB%2Bf9QeB4MEAeeM%2Fi7guCjxq74ICHDYSBiezF3AyhrQeb7UXgyXJyP6P%2FPC3OjtB5KpaWuUo%2B2qg%3D%3D; _journal_session=It2sNlMoI0gZ8O3xQRLFAQwbAMdKyzTiRvm%2Fut3Xk1F%2BVPez%2FVWeCAm6gBXFVfUCeZ1VahRdfpjxC2tlQn80e61RmU9YbPVssig6nh%2FwE69cIujEVRmdjJfum1wYuVPGQx9s%2BEwyWXZH7noC0a9bSYZ8gGK6brfPRcSv8zhOE6MBhkExxy7fxuJb9Qj6ZF6%2Bopj1KFFFWUxh2GA1Fu%2B%2B8c1UFvsPx0cu%2BjGmZobeO5I8x5uz%2BiqEkvk40CgPBIFYVKJwqE3ANbCvSDn%2Bi8bVv1erVuTZc70H2E%2F11ZAL1hKTzN9T7pEt9rIALIE5piDce6HP9bMj1YvIpWUPelRRhAppKZQ%3D--PEgkgYLGPIjXGpO6--3DasFBtT7DUJM%2BAhG4j2JA%3D%3D' \
-H 'If-None-Match: W/"ec8fd42d6be76dfef6514d8f89f7474a"' \
--compressed
from journal.
Fixed in #64
from journal.
Related Issues (20)
- List all establishments in admin dashboard HOT 1
- Merchant should be able to select local body on registration HOT 2
- Admin should be able to select from and to date for route map HOT 2
- Signup image thumb to SVG HOT 1
- Add page titles
- How to debug Ruby foreman project?
- [DepShield] (CVSS 5.3) Vulnerability due to usage of kind-of:3.2.2 HOT 1
- [DepShield] (CVSS 7.5) Vulnerability due to usage of acorn:6.4.1 HOT 1
- [DepShield] (CVSS 7.4) Vulnerability due to usage of lodash.toarray:4.4.0 HOT 1
- [DepShield] (CVSS 7.4) Vulnerability due to usage of lodash.memoize:4.1.2 HOT 1
- [DepShield] (CVSS 7.4) Vulnerability due to usage of lodash.uniq:4.5.0 HOT 1
- [DepShield] (CVSS 7.4) Vulnerability due to usage of lodash._reinterpolate:3.0.0 HOT 1
- [DepShield] (CVSS 7.4) Vulnerability due to usage of lodash.get:4.4.2 HOT 1
- [DepShield] (CVSS 7.5) Vulnerability due to usage of debug:2.6.9 HOT 1
- [DepShield] (CVSS 7.5) Vulnerability due to usage of q:1.5.1 HOT 1
- [DepShield] (CVSS 7.5) Vulnerability due to usage of express:4.17.1 HOT 1
- [DepShield] (CVSS 5.3) Vulnerability due to usage of kind-of:5.1.0 HOT 1
- [DepShield] (CVSS 7.5) Vulnerability due to usage of http-proxy:1.18.1 HOT 1
- [DepShield] (CVSS 5.3) Vulnerability due to usage of kind-of:4.0.0 HOT 1
- Different use case
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 journal.