Getting unexpected error during WSO2 self registeration - wso2

While selecting "proceed to self register", I'm getting Unexpected Error hence unable to proceed with registering. WSO2 version is 4.0.0
From the logs observe as below
TID: [-1234] [accountrecoveryendpoint] [2023-02-10 10:11:38,270] ERROR {org.wso2.carbon.identity.mgt.endpoint.util.IdentityManagementEndpointUtil} - Exception while retrieving error details from original exception. Original exception: org.wso2.carbon.identity.mgt.endpoint.util.client.SelfRegistrationMgtClientException: Error while check username validity for user : john Caused by: javax.net.ssl.SSLPeerUnverifiedException: Certificate for <localhost> doesn't match any of the subject alternative names: []

Related

Error (4) when trying to json_decode response on Mailgun\Exception\HydrationException

See Screenshot of error
Error (4) when trying to json_decode response on Mailgun\Exception\HydrationException
Exception found when try to send mail from mailgun php sdk

Sendy 'Error communicating with Amazon SNS API: There was a problem executing this request'

I am getting the error 'Error communicating with Amazon SNS API: There was a problem executing this request'
Anyone who has used Sendy and experienced the same error?
I had the same error and after looking into it there was a certificate issue. CURL was returning the error "SSL certificate problem: unable to get local issuer certificate" but this wasn't being returned within the UI.
I then followed these instructions for getting it working: curl: (60) SSL certificate problem: unable to get local issuer certificate
To see if you have the same error as me you can modify the sendy code slightly to output this error: within /includes/helpers/sns.php, line 463 output the curl error i.e. add the third line below:
$output = curl_exec($ch);
$info = curl_getinfo($ch);
print curl_error($ch);
reload the page, it won't be pretty, but if it's the same error as me you'll be able to fix it.

Error when service provider imports metadata from wso2IS 5.3.0

We are working with a service provider and they are having issues importing the metadata we exported from wso2. The error that they are seeing trying to import the metadata that was exported from wso2.
"Unexpected error during metadata import, likely caused by invalid XML: Invalid XML - errors: [error: cvc-complex-type.2.4a: Expected element 'AttributeService#urn:oasis:names:tc:SAML:2.0:metadata' instead of 'NameIDFormat#urn:oasis:names:tc:SAML:2.0:metadata' here in element AttributeAuthorityDescriptor#urn:oasis:names:tc:SAML:2.0:metadata, error: cvc-complex-type.2.4a: Expected element 'AttributeService#urn:oasis:names:tc:SAML:2.0:metadata' instead of 'NameIDFormat#urn:oasis:names:tc:SAML:2.0:metadata' here in element AttributeAuthorityDescriptor#urn:oasis:names:tc:SAML:2.0:metadata, error: cvc-complex-type.2.4c: Expected element 'AttributeService#urn:oasis:names:tc:SAML:2.0:metadata' before the end of the content in element AttributeAuthorityDescriptor#urn:oasis:names:tc:SAML:2.0:metadata
They are saying it is a configuration problem on our end but we many other working Service providers.
Edit adding metadata:
https://idp-dev.westga.edu/authenticationendpoint/idp-dev-metadata.xml

Issue with sending test email - Sitecore Email Campaign Manager 3.3

When I try to send test email(all templates except Plain Text) I see this error in the log:
ERROR Exception: System.Net.WebException
Message: The connection to the remote server can not be established.
Source: System
at System.Net.HttpWebRequest.GetResponse ()
at Sitecore.Modules.EmailCampaign.Core.WebContent.DownloadString (String url, Boolean useIisCredentials, String user agent)
nested exception
Exception: System.Net.Sockets.SocketException
Message: It could not be established because the target machine actively refused
When I test it with Plain Text message all works fine.
On the ecm.requestbody page I see this exception:
exception: The connection to the remote server can not be established.
    at System.Net.HttpWebRequest.GetResponse ()
    at ASP.sitecore_admin_ecm_requestbody_aspx.DownloadString (String url, Boolean useIisCredentials, String iisUser, String iisPass)
Fields IIS.User and IIS.Password in the file Sitecore.EmailExperience.Core.config is also filled
Check your Base URL setting on your EXM manager root - it should be the URL of your Sitecore instance.
More on manager roots here:
https://doc.sitecore.net/email_experience_manager/30/setting_up_exm/the_manager_root/the_manager_root_settings
If that doesn't fix your issue there's a good knowledge base article here:
https://kb.sitecore.net/articles/553662
It was a stupid issue with wrong hostname in my hosts(system32/driver/etc/hosts) file

App request dialog shows 500 internal server error

I'm using facebook's app app request dialog. It used to work fine...but I get the following error message with infinite loading image.
"NetworkError: 500 Internal Server Error - https://www.facebook.com/dialog/apprequest?access_token=AAACvZBzj3fc0BAETVk8NOCiXqsGq2uXlUC0EUUX1pMXIPWxfIrhbboHQCvBPR0XKasdfFU30ZCpq1C4GqfEZD&api_key=19349352asdf95789&app_id=19349adf27395789&channel=https%3A%2F%2Fs-static.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion%3D3%23cb%3Df3fb42d06cf1cf4%26origin%3Dhttp%253A%252F%252Fasdf%252Ff3aaa156051f95%26relation%3Dparent.parent%26transport%3Dpostmessage&channel_url=https%3A%2F%2Fs-static.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion%3D3%23cb%3Df3b386a6f30f464%26origin%3Dhttp%253A%252F%252Fasdfm%252Ff3aaa156051f95%26relation%3Dparent.parent%26transport%3Dpostmessage&data=%7B%7D&display=iframe&locale=en_US&message=0&next=https%3A%2F%2Fs-static.ak.fbcdn.net%2Fconnect%2Fxd_proxy.php%3Fversion%3D3%23cb%3Df60d0ad8457e2%26origin%3Dhttp%253A%252F%252Fdev-sherlock.thecimarrongroup.com%252Ff3aaa156051f95%26relation%3Dparent%26transport%3Dpostmessage%26frame%3Df19043b1779432%26result%3D%2522xxRESULTTOKENxx%2522&sdk=joey"
uncaught exception: Error: Permission denied for <http://static.ak.facebook.com> to get property Proxy.InstallTrigger
Is it an error on facebook end?