Thanks for your interest in Synthetics!
When you mention that it's not working remotely, is this monitor running in a private location or in one our publicly hosted locations? If it's latter, I'd recommend opening a support request through Elastic Cloud portal so that we can more easily debug the problem.
String interpolation is not currently supported on scripted monitors as it interferes with the generated policy, I'd suggest replacing them with string concatenation and testing again:
I tried authenticate without a header too with this model:
https://username:password@hvv.pacs.rededor.com.br
And the same error happens: succeeded on my pc, but timeout on Synthetics.
If I pass only URL, without headers or parameters, I get an error 401: Unauthorized.
page.goto: net::ERR_INVALID_AUTH_CREDENTIALS at https://hvv.pacs.rededor.com.br/
Call log:
- navigating to "https://hvv.pacs.rededor.com.br/", waiting until "domcontentloaded"
Do you ever get 401 Unauthorized from the monitor running in the private location? If that's not the case, can you test that it has network access to the endpoint (by issuing curl/wget)? Once network access has been discarded, we can look into more details.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.