Skip to content

Self compiled version of EIM breaks with Could not connect to localhost: Connection refused (EIM-959) #1011

Description

@nagmat84

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

Self-compiled and packaged EIM should work.

Actual behavior (suspected bug)

I compiled EIM from sources to create a Gentoo package for it. Whenever I start EIM, GUI or CLI version, I immediately get the error message "Could not connect to localhost: Connection refused". See screenshot

Image

I suspected to potential culprits: a failing telemetry service or a failure to download repository/package from Github/Espressif. However, I also tried to start eim with eim --do-not-track true to rule out it is the first one, but it didn't make any difference.

What compile-time option do I have to set that EIM uses the correct URLs?

I looked through some scripts. I found the environment variable APP_INSIGHTS_CONNECTION_STRING which is set to secrets.APP_INSIGHTS_CONNECTION_STRING, however this shouldn't cause any trouble if --do-not-track is set. Despite that I didn't find any compile-time setting which looked related.

Error logs or terminal output

Steps to reproduce the behavior

  1. Checkout out EIM sources
  2. Fire up Cargo and compule EIM
  3. Start EIM

Project release version

0.17.1

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

Gentoo

Shell

Bash

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions