Skip to content

API responded with error code: 0: Unknown #1121

@Kampi

Description

@Kampi

Describe the bug

I get the following error when opening the symbol menu in KiCAD

Errors loading symbols:
Error loading symbol library partdb.
Could not connect to https://inventory.lan/de/kicad-api/v1/. Errors: API responded with error code: 0: Unknown

To Reproduce

I use Part-DB as a Docker container on a local network with a local DNS. The configuration looks like this

{
	"meta": {
		"version": 1.0
	},
	"name": "Part-DB library",
	"description": "This KiCAD library fetches information externally from ",
	"source": {
		"type": "REST_API",
		"api_version": "v1",
		"root_url": "https://inventory.lan/de/kicad-api/",
		"token": "..."
	}
}

Expected behavior

No error

Screenshots
If applicable, add screenshots to help explain your problem.

Server Side

  • Part-DB Version: 2.2.1 (Docker version)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions