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

Panel not working on chrome extension 1.0.1 with the latest meta_request gem 0.8.5 #209

Open
jagdishadusumalli opened this issue Nov 14, 2024 · 4 comments

Comments

@jagdishadusumalli
Copy link

I just installed the
chrome extension 1.0.1 with the latest
meta_request gem 0.8.5.
On Chrome Browser 130
On macOS 15.1 Sequioa
VScode 1.95.2
Rails s running on 3000

Started the server with Panel open and crashed a page with error
The panel does not show any information.

@rafasoares
Copy link

I'm also running into this issue. Using rails v7.0.8.5.

For some reason, [email protected] isn't adding the X-Meta-Request-Version that RailsPanel uses to know that it should do its thing.

Here's a sample request with v0.8.4:

curl -I http://localhost:3000

HTTP/1.1 302 Found
Location: http://localhost:3000/users/sign_in
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
Set-Cookie: [...]
X-Meta-Request-Version: 0.8.4
X-Request-Id: 03da8c28-814f-48d8-ab64-e693cd98b2bd
X-Runtime: 0.462956
Content-Length: 0

And with v0.8.5:

curl -I http://localhost:3000

HTTP/1.1 302 Found
Location: http://localhost:3000/users/sign_in
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
Set-Cookie: [...]
X-Request-Id: 8574c1ba-4699-4c65-919d-ccb368c6dae2
X-Runtime: 0.468565
Content-Length: 0

The weird part is that the tests in the gem seem to specifically check this and they're all passing. There's probably some conflict between gems/middlewares, but I don't have time to investigate further right now.

I'll be sticking to v0.8.4 until a fix comes out or we can figure out what the conflict is and solve it.

@raulpopadineti
Copy link

Getting the same issue. Works with [email protected].

@AdrienGiboire
Copy link

I can confirm as well. Downgrading meta_request to 0.8.4 works.

@tridnguyen
Copy link

Also confirmed that downgrading meta_request to 0.8.4 shows the required headers.

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

5 participants