Skip to content

Problem to Access external phpipam-database via psphpipam #31

@droidica72

Description

@droidica72

Dear yoke88,
I like to use the psphpipam module very often, but now I have the following problem.
the phpsystem is structured as follows :
phpIPAM server on one system and the phpipam database is on another server.
I am now trying to make my queries from an administration server that is in the same network segment as the ipam system via the psphpipam module and api key and I get the following error message back:
use this to connect :
New-PhpIpamSession -UseStaticAppKeyAuth -PhpIpamApiUrl 'https://FQDN-IPAM-SERVER' -AppID 'powershell' -AppKey '3242_XqVXetIANnZUmL5bld4uRpCucS5'
and recieved following Error:
New-PhpIpamSession : Something error there
At line:1 char:5

  • $BN=New-PhpIpamSession -UseStaticAppKeyAuth -PhpIpamApiUrl 'https:// ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-PhpIpamSession
      i hope you can help me to solve the problem

Used phpIPAM-Version : 1.6.0
PowerShell-Version : 5.1.7763.1490 on Windoes Server 2019 Datacenter-Edition

Best Regards

Vinko

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions