Welcome to the Panopto Community

Please note: All new registrants to the Panopto Community Forum must be approved by a forum moderator or admin. As such, if you navigate to a feature that is members-only, you may receive an error page if your registration has not yet been approved. We apologize for any inconvenience and are approving new members as quickly as possible.

Need a SOAP authorization example. Getting a "forcibly closed by the remote host" message

Hello support. We’re having an issue authenticating with the SOAP service.

When trying to authenticate, we are receiving a “forcibly closed by the remote host”

We’re using an account with Admin access on the sandbox with the following:

Endpoint: https://<server>/Panopto/PublicAPI/4.2/UserManagement.svc?wsdl

APIUser : ###-####-####-###-#####

Instance: “panoptointernal”

The Authcode is encrypted with Sha1 per the requirement.

The function GetUserByKey() fails with the disconnect when passing in the Sha1’d auth  which contains:

AuthCode = GetSha1(_userkey + "@" + SERVERNAME.ToLower() + "|" + APIUSERAUTHCODE)

Is there a clear example on how to authenticate so we can perform user lookups and creations?

We’re implementing this in C# and interpreting it from this example on Github

https://github.com/Panopto/SOAP-API-Examples/blob/master/PythonSoapExample.py

Thanks


Al Bradford

 

Tagged:

Best Answer

  • Kevin BaumKevin Baum Panopto Employee
    Answer ✓

    Hi Alvin,

    You should not need to use an AuthCode if you are using a Panopto user (using the Panopto internal provider). For authentication with a Panopto internal user, you can instead send the UserKey and Password fields, and avoid using the auth code entirely.

    Is the error you're getting related to authentication, or is it just disconnecting? An authentication error should return a 401 or a 403 response, but if your client is just disconnecting it may be a different issue entirely. Could you send me the error that you are receiving back?

    Please let me know if you have any questions.

    Thanks,

    Kevin

Answers

Sign In or Register to comment.