FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    AWS Elastic Search Basic Auth

    Scheduled Pinned Locked Moved
    Q&A
    0
    2
    637
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      matt 0
      last edited by

      Hi,

      I'm trying to setup a multi server environment using AWS. I'm starting with moving the search service to AWS ElasticSearch in a development environment.

      I have moved the search.type to "elasticsearch" and tried setting the search.servers.

      I'm running it to an issue.
      I see that using the sig4 auth headers isn't supported, however when I try to use Basic Auth with the format https://username:password@awssearchurl.com:443 I get an error in the log,
      https://pastebin.com/x3uJxdYf
      Without the :443(https://username:password@awssearchurl.com) I get the following error instead
      https://pastebin.com/KCfZvcez
      Both of these urls work from the server doing a simple wget

      I created an Elasticsearch with no security and it works fine.

      Configuration

      • Ubuntu 20.04
      • Fusion Auth Version 1.24.0
      • AWS Elastic Search 7.9

      Thanks for any help!

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        Welcome to the FusionAuth community @matt-0 !

        Hmmm.

        search.servers=https://user:pass@es.fusionauth.io
        

        works for me. (But I'm running both ES and FA locally.)

        Is https://username:password@awssearchurl.com the real value in your system, or did you swap it out?

        Also, what version of java are you running?

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post