http.request produces "Try again" error

Discussion in 'C-Bus Automation Controllers' started by daniel, Feb 8, 2018.

  1. daniel

    daniel C-Busser Moderator

    Joined:
    Jul 26, 2004
    Messages:
    760
    Likes Received:
    13
    Location:
    Adelaide
    Just posting this as it took me a little while to figure out.

    I was getting an obscure "Try again" error when making HTTP calls:

    local result,content,header = http.request(URL)
    log(result,content,header)

    result=nil
    content="Try again"
    header=nil

    As it turns out this is caused by setting a static IP on your Automation Controller but not having the DNS servers filled in correctly.

    Configurator > System > Network > Interfaces > click on "eth0"
     
    daniel, Feb 8, 2018
    #1
    cbus-ed and Damaxx like this.
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.