Skip to content

The SDK should use the iOS device system proxy when ran from an iOS Swift Application #2316

@jujuforce

Description

@jujuforce

Is your feature request related to a problem? Please describe.

The iOS speech SDK does not work when used from my enterprise network, because we need to use a proxy to reach external ressources. It does work no problem when I am not in this network because then the proxy is no longer required.
Error log :

2024-03-26 15:39:23.710 cancelled: SPXResultReason(rawValue: 1), Optional("Connection failed (no connection to the remote host). Internal error: 11. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_ERROR\nwss://westeurope.stt.speech.microsoft.com/speech/universal/v2\nX-...

The test device does have the proxy set up and I can fetch it no problem using CFNetworkCopySystemProxySettings()
I get the kCFProxyAutoConfigurationURLKey filled, no problem. So I don't understand why the SDK is not using it to reach Microsoft servers.

Describe the solution you'd like
The SDK should use the iOS device system proxy when ran from an iOS Swift Application.

Describe alternatives you've considered
No idea unfortunately

Metadata

Metadata

Assignees

Labels

acceptedIssue moved to product team backlog. Will be closed when addressed.enhancementNew feature or requestfutureIssue has been reviewed by the team and is eligible for addressing in the future.update neededFor items that are in progress but have not been updated

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions