Open jonjander opened 5 years ago
Please provide more details.
My setup look like this: I have a Azure relay in Azure and one configured Hybrid connection. On-prem I have a HCM service connected to that relay. I have verified the connectivity using a webservice in azure also connected to the relay.
Now I want to connect to the relay from my devbox using portBridge (or anything that will work), in order to connect to the onprem resources.
This is my client config
<portBridgeAgent serviceBusNamespace="*********-relay.servicebus.windows.net/*****test-erp" serviceBusAccessRuleName="RootManageSharedAccessKey" serviceBusAccessRuleKey="*****************">
<portMappings>
<port localTcpPort="80" targetHost="******app23" remoteTcpPort="80">
<firewallRules>
<rule source="127.0.0.1"/>
<rule sourceRangeBegin="10.0.0.0" sourceRangeEnd="10.255.255.255"/>
<rule sourceRangeBegin="172.0.0.0" sourceRangeEnd="172.255.255.255"/>
<rule sourceRangeBegin="192.0.0.0" sourceRangeEnd="192.255.255.255"/>
</firewallRules>
</port>
</portMappings>
</portBridgeAgent>
The client connects but when try to browse the onprem web server I get "ERR_EMPTY_RESPONSE"
the log looks like this:
...
PortBridgeClientAgent.exe Information: 0 : Input, read preamble: 6
PortBridgeClientAgent.exe Information: 0 : Output, read bytes: 521
PortBridgeClientAgent.exe Information: 0 : Output, wrote preamble: 527
PortBridgeClientAgent.exe Information: 0 : Connection 8 completed
PortBridgeClientAgent.exe Information: 0 : Connection 9 completed
PortBridgeClientAgent.exe Information: 0 : Output, read bytes: 521
PortBridgeClientAgent.exe Information: 0 : Output, wrote preamble: 527
PortBridgeClientAgent.exe Information: 0 : Socket cancelled with code Interrupted during pending read: Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall.
PortBridgeClientAgent.exe Information: 0 : Output, wrote preamble: 6
PortBridgeClientAgent.exe Information: 0 : Connection 8 completed
PortBridgeClientAgent.exe Information: 0 : Connection 10 created
PortBridgeClientAgent.exe Information: 0 : Output, read bytes: 521
PortBridgeClientAgent.exe Information: 0 : Output, wrote preamble: 527
PortBridgeClientAgent.exe Information: 0 : Input, read preamble: 6
PortBridgeClientAgent.exe Information: 0 : Connection 10 completed
PortBridgeClientAgent.exe Information: 0 : Socket cancelled with code Interrupted during pending read: Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall.
...
I have tested different localTcpPort ports. The hostname is also configured to point to 127.0.0.1 in the HOSTS file.
@jfggdl Anything else I can do to help troubleshooting?
Description
Press [ENTER] to exit. PortBridgeClientAgent.exe Information: 0 : Connection 1 created PortBridgeClientAgent.exe Information: 0 : Connection 1 completed PortBridgeClientAgent.exe Information: 0 : Socket cancelled with code 10004 during pending read: Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall. PortBridgeClientAgent.exe Information: 0 : Connection 1 completed PortBridgeClientAgent.exe Error: 0 : Failed writing to data channel: Value cannot be null. Parameter name: output PortBridgeClientAgent.exe Error: 0 : Multiplex pump failed: Value cannot be null. Parameter name: output
Actual Behavior
Expected Behavior