Giter Club home page Giter Club logo

Comments (6)

RoelVB avatar RoelVB commented on June 23, 2024

I don't have a Mac to test this on. So this could be difficult.

Could you try the following:

  • Put your browser into developer mode (chrome://extension -> "developermode" toggle at the top)
  • Open the "backgroundpage" for ChromeKeePass
  • Try to connect CKP again
  • Check the "Network" tab of the backgroundpage
  • Hopefully the request to http://localhost:19455 shows some useful information.
  • If you want you could "Export to HAR" (last icon below the tabbar) and share it here

from chromekeepass.

andr-04 avatar andr-04 commented on June 23, 2024

Sorry for the delay.

The problem request is:

curl 'http://127.0.0.1:19455/' \
  -H 'Connection: keep-alive' \
  -H 'Pragma: no-cache' \
  -H 'Cache-Control: no-cache' \
  -H 'sec-ch-ua: "Chromium";v="95", ";Not A Brand";v="99"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36' \
  -H 'sec-ch-ua-platform: "macOS"' \
  -H 'Content-Type: text/plain;charset=UTF-8' \
  -H 'Accept: */*' \
  -H 'Origin: chrome-extension://dphoaaiomekdhacmfoblfblmncpnbahm' \
  -H 'Sec-Fetch-Site: none' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Accept-Language: en-US,en;q=0.9,ru-RU;q=0.8,ru;q=0.7' \
  --data-raw '{"RequestType":"test-associate"}' \
  --compressed```

from chromekeepass.

andr-04 avatar andr-04 commented on June 23, 2024

I've investigated the problem.

In compare to other plugins, your one requests with the header Content-Type: text/plain;charset=UTF-8 instead of Content-Type: application/json.

Of course, it should be fixed, because the response are awaited in JSON format!

from chromekeepass.

RoelVB avatar RoelVB commented on June 23, 2024

Good find. I've just published 1.4.6 which will send the correct header.
Please let me know if this fixes the issue.

from chromekeepass.

andr-04 avatar andr-04 commented on June 23, 2024

Nice! It has realy solved the problem and now it works! 👍

from chromekeepass.

RoelVB avatar RoelVB commented on June 23, 2024

Great! Thanks for the help!

from chromekeepass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.