A Ping monitor with authentication returns "malformed url"

Hi New Relic experts - I have an issue setting up a simple Ping synthetics monitor with basic authentication.
I formatted the url like this: https://username:correctpasswd@apidoc.09749c8b85664c1e8537.westeurope.aksapp.io/
As described here:
https://docs.newrelic.com/docs/synthetics/new-relic-synthetics/using-monitors/handle-sites-authentication
But the results are negative: “malformed URL”.

Hi @bosteels.g - The documentation on using synthetics with auththentication provides the authentication types supported. Have you confirmed that your test matches the supported validation?

Hi @stefan_garnham, thanks for your response. - the validation is supported, it’s basic authentication.

@bosteels.g - I just ran a test with a sample basic auth URL that a google search gave me:

https://jigsaw.w3.org/HTTP/Basic/

This is used to test basic authentication, and using the username and password:

https://guest:guest@jigsaw.w3.org/HTTP/Basic/

My ping monitor worked just fine.

So I’m curious where you are getting errors, and if you could link back to one, I’d like to have a look.

But as of right now, I believe basic auth with Ping Monitors should work.

1 Like

I found out the issue was due to a special symbol in the password I used.
The symbol was a ^ .

2 Likes

Oh great! Thanks for confirming that was the issue :smiley: