question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please add a configuration for port of API

See original GitHub issue

The problem

Mine device have default port for management and API 1443. Port 443 already occupied by SSL-VPN. Could you please make settings for port? adding port in form host: 192.168.0.99:1443 not help.

What is version of Home Assistant Core has the issue?

core-2021.4.6

What was the last working version of Home Assistant Core?

core-2021.4.6

What type of installation are you running?

Home Assistant OS

Integration causing the issue

FortiOS

Link to integration documentation on our website

https://www.home-assistant.io/integrations/fortios/

Example YAML snippet

device_tracker:
  - platform: fortios
    host: 192.168.0.99
    token: token_from_rest_admin

Anything in the logs that might be useful for us?

With default config

Logger: homeassistant.components.fortios.device_tracker
Source: components/fortios/device_tracker.py:46
Integration: fortios (documentation, issues)
First occurred: 12:02:18 PM (1 occurrences)
Last logged: 12:02:18 PM

Failed to login to FortiOS API: HTTPSConnectionPool(host='192.168.0.99', port=443): Max retries exceeded with url: /api/v2/monitor/license/status?global=1 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f4b45ab48e0>, 'Connection to 192.168.0.99 timed out. (connect timeout=12)'))

After adding :port

Logger: homeassistant.components.fortios.device_tracker
Source: components/fortios/device_tracker.py:97
Integration: fortios (documentation, issues)
First occurred: 11:50:15 AM (5 occurrences)
Last logged: 11:50:15 AM
Name not found in client data: 'host'

Additional information

No response

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
kimfrellsencommented, May 7, 2021

Hi, Thanks for your request. Good idea. I am working on an update to support FortiOS 7.0. I’ll add custom port option to the next version.

1reaction
kimfrellsencommented, Nov 8, 2021

Hi, It is relatively easy to add port number to the integration. I’ll check if fortiosapi supports portnumber as part of the IP variable. hang on 😃 /Kim

Read more comments on GitHub >

github_iconTop Results From Across the Web

System port configuration - OSIsoft Documentation
Reconfigure system port · Open the appsettings.json file in a text editor. · Change the port value to a valid value between 1024...
Read more >
How to configure 2 ports (for http requests) in server.xml?
Business Use: Three API's are there. First API has to go to port '9001', second has to go to '9002' and third has...
Read more >
How do I expose Web API on different port than default? .NET 6
NET 6 web API on port 8888 fail. I tried these answers and various other articles online, by adding urls in appsettings.json and...
Read more >
az login fails with CERTIFICATE_VERIFY_FAILED and I am ...
This typically happens when using Azure CLI behind a proxy that intercepts traffic with a self-signed certificate. Please add this certificate ...
Read more >
API proxy configuration reference | Apigee Edge
The ProxyEndpoint configuration defines the inbound (client-facing) interface for an API proxy. When you configure a ProxyEndpoint, you are ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found