Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when deployed from Azure #12

Open
pnwguy opened this issue Aug 23, 2019 · 3 comments
Open

Error when deployed from Azure #12

pnwguy opened this issue Aug 23, 2019 · 3 comments

Comments

@pnwguy
Copy link

pnwguy commented Aug 23, 2019

I got this working fine inside our corporate network, but deployed via Azure Web App, we are getting the below error using Authentication Mode 2:

<Error>
<Message>The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.</Message>
</Error>

Networking guys say everything in Azure is connected fine to our on-prem environment.

Is there any suggestions to consider when deployed to a web app accessing on-prem?

@munib00
Copy link

munib00 commented Aug 29, 2019

Hi,
You need to setup the Azure Hybrid Connection.
https://docs.microsoft.com/en-us/azure/app-service/app-service-hybrid-connections

Under your Api App in Azure click on Networking and follow the wizard for setting up the Hybrid connection. It will download a service and it will sit on prem.

@pnwguy
Copy link
Author

pnwguy commented Aug 29, 2019

Thanks, we have Azure VNet + VPN to our corpnet, which works for our database connections. Is it because AX uses TCP to access the AOS, is this why Azure Hybrid Connection is needed?

@munib00
Copy link

munib00 commented Aug 30, 2019

hi.
No need for any VNet/VPN.
Azure Hybrid Connection takes care of all that.
As the link from docs says:
"It normally does not require firewall holes. The connections are all outbound over standard web ports."
I have implemented it at a number of customers and it was the case. Very easy to set up.
Just needs the azure global administrator to do (i think my memory is right).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants