appbaseio / appbaseio/dejavu

dejavu access es server with 401 Unauthorized error in POST request

Open
#336 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8.5k
Forks
512
PR merge metrics
No merged PRs in 30d

Description

the post request pass a wrong header to the server **"Basic%20xxxx"**

![image](https://user-images.githubusercontent.com/3685513/64408252-da81a480-d0b8-11e9-9038-13edd07fc61f.png)

the correct one is **"Basic xxxx"**

![image](https://user-images.githubusercontent.com/3685513/64408419-4c59ee00-d0b9-11e9-8d17-22fa2310e864.png)

my dejavu docker image is
appbaseio/dejavu latest 8fd445e200b2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the POST request with the appbaseio/dejavu Docker image and inspect how its Authorization header is assembled. Compare the sent header with the issue's examples, then verify that the Elasticsearch server accepts the corrected format without returning 401 Unauthorized.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, elasticsearch, javascript
Domain
api, backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.