Picture of mla
Registered 2 years 18 days
mla Wednesday, 24 May 2023, 11:21 AM
Es kann keine connection erstellt werden
Hello,
I'm new to the development of apps using the innovaphone sdk. Right at the start I got the following problem:
I created a plain innovaphone App using the c++ template. (The same problem occures when trying the same thing with a plain javascript runtime template). While adding an "App Platform Connetion", the following error messages occured right after clicking the connect button:
"innovaphone SDK - Connection failed
Failes to connect to PBX. See log for details"
and
"innovaphone SDK - Error
An unexpected error occured (see log for details): Object reference not set to the instance of an object".

The changelog:
"[05-24 11:07:44.810] PBXConnection.CreateAdminAppObject() failed with system exception.
[05-24 11:07:44.810] The remote server returned an error: (401) Unauthorized.
[05-24 11:09:41.735] Object reference not set to an instance of an object."

I did some research and errormessage 401 means: "The client has no sufficient access right to access the URL on the HTTP server".
The pbx system uses the testmode. Therefore a missing license should not be the problem.
Andreas Fink
Moderator Registered 13 years 109 days
Andreas Fink (innovaphone) Wednesday, 24 May 2023, 12:08 PM
1 of 1 users consider this post helpful
Re: Es kann keine connection erstellt werden
Hello Miriam,

i would check if "PBX admin user" and "PBX password" on the App Platform connection are set correctly in the VS.

Best Regards
Andreas Fink
Picture of mla
Registered 2 years 18 days
mla Wednesday, 24 May 2023, 01:57 PM
Re: Es kann keine connection erstellt werden
Is there any chance I can check in the pbx whether the "PBX admin user" and "PBX password" I was given by the person who created the pbx are correct?
Andreas Fink
Moderator Registered 13 years 109 days
Andreas Fink (innovaphone) Wednesday, 24 May 2023, 02:01 PM
Re: Es kann keine connection erstellt werden
If you navigate to the web UI of the PBX and provide the credentials, you should be able to login.
Picture of mla
Registered 2 years 18 days
mla Wednesday, 24 May 2023, 02:32 PM
Re: Es kann keine connection erstellt werden
I think I wrongly worded my question. How do I make sure the user I log in as is actually the admin. Is the user whose information are provided in the attaced picture the admin I am supposed do use? myapps.png

Andreas Fink
Moderator Registered 13 years 109 days
Andreas Fink (innovaphone) Wednesday, 24 May 2023, 05:01 PM
1 of 1 users consider this post helpful
Re: Es kann keine connection erstellt werden
Yes, this is the page of the UI, where the admin user is configured. It may differ, but usually it is "admin" and the password is the type of the gateway device (e.g. ip411).
Picture of mla
Registered 2 years 18 days
mla Thursday, 25 May 2023, 02:16 PM
1 of 1 users consider this post helpful
Re: Es kann keine connection erstellt werden
Thank you for the quick support. That actually was the solution to my problem.
← You can define your color theme preference here