Authentication failed with Django APM agent

My use case APM Django agent was not able to communicate with APM server, was failing with error: Oops. That didn't work. The following error occured: JSON decoding error while fetching server information: Expecting value: line 1 column 1 (char 0) Failed to submit message: 'HTTP 401: {"error":"authentication failed: missing or improperly formatted Authorization header: expected \'Authorization: Bearer secret_token\' or \'Authorization: ApiKey base64(API key ID:API key)\'"}\n' Following the solution and creating following manifest file worked:...

2 min · Jaaved Khan

Ansible

adhoc commands ref Examples shell command ansible -m shell -i environments/testing/inventory -l enterprise-search -b enterprise-search -a "cd /tmp; nohup /usr/share/enterprise-search/bin/enterprise-search > nohup.out 2>&1 &"

1 min · Jaaved Khan

base64

Summary position ease box interval due front 2.5 0 0 2021-10-31T10:13:12Z Base64 is a group of binary-to-text schemes that represents binary data(a sequence of 8-bit bytes) in an string format by translating the data into a radix-64 or base-64 representation. ref

1 min · Jaaved Khan

Base directory does not exist: /opt/build/repo/dist - Support - Netlify Support Forums

JAK For deployment of hugo, changing the “base” directory to “/” and publish directory to “publish” worked. Mentioned Solution If your base is dist, your publish should probably be angular-firebase-app instead of dist/angular-firebase-app. Please try that and let us know. EDIT: However, I see that your error is that dist does not exist. From my assumptions, your base should be / and your publish should be dist. That’s what I can say without actually seeing your repository....

1 min · Jaaved Khan

authentication - What's the difference between OpenID and OAuth? - Stack Overflow

OpenID OpenID is about authentication (ie. proving who you are), OAuth is about authorisation (ie. to grant access to functionality/data/etc.. without having to deal with the original authentication). OAuth OAuth could be used in external partner sites to allow access to protected data without them having to re-authenticate a user. The blog post “OpenID versus OAuth from the user’s perspective” has a simple comparison of the two from the user’s perspective and “OAuth-OpenID: You’re Barking Up the Wrong Tree if you Think They’re the Same Thing” has more information about it....

1 min · Jaaved Khan

ASCII

Summary ASCII (ˈæskiː (About this soundlisten) ASS-kee), abbreviated from American Standard Code for Information Interchange, is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Most modern character-encoding schemes are based on ASCII, although they support many additional characters. ref

1 min · Jaaved Khan

Ansible: Execute task only when a tag is specified - Server Fault

Summary To include or run a task only when a tag is specified. There is a special tag - “never”, which will prevent a task from running unless a tag is specifically requested. tasks: debug: msg='{{ showmevar}}' tags: [ ‘never’, ‘debug’ ]

1 min · Jaaved Khan

Buffer

Semantic meaning https://merriam-webster.com/dictionary/buffer any of various devices or pieces of material for reducing shock or damage due to contact a means or device used as a cushion against the shock of fluctuations in business or financial activity a substance capable in solution of neutralizing both acids and bases and thereby maintaining the original acidity or basicity of the solution also : a solution containing such a substance a section of computer memory for temporarily storing information especially : one that accepts information at one rate and delivers it at another The streaming video feed continues to download into the buffer while the computer starts playing the movie....

1 min · Jaaved Khan

Application, Loadbalancer and CAS interactions

0 min · Jaaved Khan

Ansible Testing Spectrum

Testing playbooks valid yaml: yamllint best practices using yaml valid playbook: check sytanx error and

1 min · Jaaved Khan