Skip to content

Add embedded HTTP proxy server for streaming HTTP triggers (fixes #781) - #877

Draft
ahmedmuhsin wants to merge 25 commits into
Azure:devfrom
ahmedmuhsin:feat/http-proxy-streaming
Draft

Add embedded HTTP proxy server for streaming HTTP triggers (fixes #781)#877
ahmedmuhsin wants to merge 25 commits into
Azure:devfrom
ahmedmuhsin:feat/http-proxy-streaming

Fix additions install on JDK 17+ agents by using JAVA_HOME_8_X64

d6a8dff
Select commit
Loading
Failed to load commit list.
Azure Pipelines / java-worker.public failed Jun 16, 2026 in 1h 7m 10s

Build #20260616.3 had test failures

Details

Tests

  • Failed: 320 (100.00%)
  • Passed: 0 (0.00%)
  • Other: 0 (0.00%)
  • Total: 320

Annotations

Check failure on line 217 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java-worker.public

Build log #L217

Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1

Check failure on line 222 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java-worker.public

Build log #L222

Dotnet command failed with non-zero exit code on the following projects : [
  'D:\\a\\_work\\1\\s\\emulatedtests\\Azure.Functions.Java.Tests.E2E\\Azure.Functions.Java.Tests.E2E\\Azure.Functions.Java.Tests.E2E.csproj'
]

Check failure on line 451 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java-worker.public

Build log #L451

Error: The process 'C:\hostedtoolcache\windows\dotnet\dotnet.exe' failed with exit code 1

Check failure on line 1 in Azure.Functions.Java.Tests.E2E.StorageEndToEndTests.QueueTrigger_BindToTriggerMetadata_Succeeds

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java-worker.public

Azure.Functions.Java.Tests.E2E.StorageEndToEndTests.QueueTrigger_BindToTriggerMetadata_Succeeds

System.ApplicationException : Condition not reached within timeout.
Raw output
   at Azure.Functions.Java.Tests.E2E.Utilities.RetryAsync(Func`1 condition, Int32 timeout, Int32 pollingInterval, Boolean throwWhenDebugging, Func`1 userMessageCallback) in /mnt/vss/_work/1/s/emulatedtests/Azure.Functions.Java.Tests.E2E/Azure.Functions.Java.Tests.E2E/Utilities.cs:line 35
   at Azure.Functions.Java.Tests.E2E.StorageHelpers.ReadFromQueue(String queueName) in /mnt/vss/_work/1/s/emulatedtests/Azure.Functions.Java.Tests.E2E/Azure.Functions.Java.Tests.E2E/Helpers/StorageHelpers.cs:line 54
   at Azure.Functions.Java.Tests.E2E.StorageEndToEndTests.QueueTrigger_BindToTriggerMetadata_Succeeds() in /mnt/vss/_work/1/s/emulatedtests/Azure.Functions.Java.Tests.E2E/Azure.Functions.Java.Tests.E2E/StorageEndToEndTests.cs:line 54
--- End of stack trace from previous location ---

Check failure on line 1 in Azure.Functions.Java.Tests.E2E.StorageEndToEndTests.QueueOutput_POJOList_Succeeds

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java-worker.public

Azure.Functions.Java.Tests.E2E.StorageEndToEndTests.QueueOutput_POJOList_Succeeds

System.Net.Http.HttpRequestException : Connection refused (localhost:7071)
---- System.Net.Sockets.SocketException : Connection refused
Raw output
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
   at Azure.Functions.Java.Tests.E2E.Utilities.InvokeHttpTrigger(String functionName, String queryString, HttpStatusCode expectedStatusCode, String expectedMessage, Int32 expectedCode) in /mnt/vss/_work/1/s/emulatedtests/Azure.Functions.Java.Tests.E2E/Azure.Functions.Java.Tests.E2E/Utilities.cs:line 46
   at Azure.Functions.Java.Tests.E2E.StorageEndToEndTests.QueueOutput_POJOList_Succeeds() in /mnt/vss/_work/1/s/emulatedtests/Azure.Functions.Java.Tests.E2E/Azure.Functions.Java.Tests.E2E/StorageEndToEndTests.cs:line 86
--- End of stack trace from previous location ---
----- Inner Stack Trace -----
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)

Check failure on line 1 in Azure.Functions.Java.Tests.E2E.StorageEndToEndTests.BlobTriggerToBlob_Succeeds

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java-worker.public

Azure.Functions.Java.Tests.E2E.StorageEndToEndTests.BlobTriggerToBlob_Succeeds

System.ApplicationException : Condition not reached within timeout.
Raw output
   at Azure.Functions.Java.Tests.E2E.Utilities.RetryAsync(Func`1 condition, Int32 timeout, Int32 pollingInterval, Boolean throwWhenDebugging, Func`1 userMessageCallback) in /mnt/vss/_work/1/s/emulatedtests/Azure.Functions.Java.Tests.E2E/Azure.Functions.Java.Tests.E2E/Utilities.cs:line 35
   at Azure.Functions.Java.Tests.E2E.StorageHelpers.DownloadFileFromContainer(String containerName, String expectedFileName) in /mnt/vss/_work/1/s/emulatedtests/Azure.Functions.Java.Tests.E2E/Azure.Functions.Java.Tests.E2E/Helpers/StorageHelpers.cs:line 117
   at Azure.Functions.Java.Tests.E2E.StorageEndToEndTests.BlobTriggerToBlob_Succeeds() in /mnt/vss/_work/1/s/emulatedtests/Azure.Functions.Java.Tests.E2E/Azure.Functions.Java.Tests.E2E/StorageEndToEndTests.cs:line 109
--- End of stack trace from previous location ---

Check failure on line 1 in Azure.Functions.Java.Tests.E2E.StorageEndToEndTests.BlobTriggerToBlob_FromBlobInput_BlobClient_Succeeds

See this annotation in the file changed.

@azure-pipelines azure-pipelines / java-worker.public

Azure.Functions.Java.Tests.E2E.StorageEndToEndTests.BlobTriggerToBlob_FromBlobInput_BlobClient_Succeeds

System.ApplicationException : Condition not reached within timeout.
Raw output
   at Azure.Functions.Java.Tests.E2E.Utilities.RetryAsync(Func`1 condition, Int32 timeout, Int32 pollingInterval, Boolean throwWhenDebugging, Func`1 userMessageCallback) in /mnt/vss/_work/1/s/emulatedtests/Azure.Functions.Java.Tests.E2E/Azure.Functions.Java.Tests.E2E/Utilities.cs:line 35
   at Azure.Functions.Java.Tests.E2E.StorageHelpers.DownloadFileFromContainer(String containerName, String expectedFileName) in /mnt/vss/_work/1/s/emulatedtests/Azure.Functions.Java.Tests.E2E/Azure.Functions.Java.Tests.E2E/Helpers/StorageHelpers.cs:line 117
   at Azure.Functions.Java.Tests.E2E.StorageEndToEndTests.BlobTriggerToBlob_FromBlobInput_BlobClient_Succeeds() in /mnt/vss/_work/1/s/emulatedtests/Azure.Functions.Java.Tests.E2E/Azure.Functions.Java.Tests.E2E/StorageEndToEndTests.cs:line 150
--- End of stack trace from previous location ---