473,408 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Problem with Remoting and Proxy

Hi,

I'm developing a sistem that need to use a ActivatedClient type, I'm using Object by Reference, when I test in my servers all are ok, but in my client I have some problems....

The initialization of the object has no problems, but when I call a method it lose adress correct and call for the internal IP of the server, the server is behind one transparent proxy that makes the redirect of the packages.

Somebody has some idea of what I can make?

(Excuse the bad English… I am a Brazilian desenvolvedor)
Oct 22 '07 #1
2 970
radcaesar
759 Expert 512MB
Any error messages for reference buddy ?
Oct 22 '07 #2
"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond"


at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.Runtime.Remoting.Channels.RemoteConnection. CreateNewSocket(EndPoint ipEndPoint)
at System.Runtime.Remoting.Channels.RemoteConnection. CreateNewSocket()
at System.Runtime.Remoting.Channels.RemoteConnection. GetSocket()
at System.Runtime.Remoting.Channels.SocketCache.GetSo cket(String machinePortAndSid, Boolean openNew)
at System.Runtime.Remoting.Channels.Tcp.TcpClientTran sportSink.SendRequestWithRetry(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream)
at System.Runtime.Remoting.Channels.Tcp.TcpClientTran sportSink.ProcessMessage(IMessage msg, ITransportHeaders requestHeaders, Stream requestStream, ITransportHeaders& responseHeaders, Stream& responseStream)
at Asteria.Net2.Remoting.CanalSeguro.CanalSeguroClien teSink.RequisitaChaveCompartilhada(IMessage msgMensagem_p) in C:\Pessoal\Emanuel\Meus Documentos\Visual Studio 2005\Projects\GerenciadorDeSistemas_SCOR\Asteria.R emoting.CanalSeguroCliente\CanalSeguroClienteSink. cs:line 238
at Asteria.Net2.Remoting.CanalSeguro.CanalSeguroClien teSink.VerificarTransicao(IMessage msgMensagem_p, ITransportHeaders tphCabecalho_p) in C:\Pessoal\Emanuel\Meus Documentos\Visual Studio 2005\Projects\GerenciadorDeSistemas_SCOR\Asteria.R emoting.CanalSeguroCliente\CanalSeguroClienteSink. cs:line 321
at Asteria.Net2.Remoting.CanalSeguro.CanalSeguroClien teSink.ProcessEncryptedMessage(IMessage msgMensagem_p, ITransportHeaders tphOriginal_p, Stream strOriginal_p, ITransportHeaders& tphResposta_p, Stream& stmResposta_p) in C:\Pessoal\Emanuel\Meus Documentos\Visual Studio 2005\Projects\GerenciadorDeSistemas_SCOR\Asteria.R emoting.CanalSeguroCliente\CanalSeguroClienteSink. cs:line 290
at Asteria.Net2.Remoting.CanalSeguro.CanalSeguroClien teSink.ProcessMessage(IMessage msgMensagem_p, ITransportHeaders tphEnviar_p, Stream stmEnviar_p, ITransportHeaders& tphResposta_p, Stream& stmResposta_p) in C:\Pessoal\Emanuel\Meus Documentos\Visual Studio 2005\Projects\GerenciadorDeSistemas_SCOR\Asteria.R emoting.CanalSeguroCliente\CanalSeguroClienteSink. cs:line 358
at System.Runtime.Remoting.Channels.BinaryClientForma tterSink.SyncProcessMessage(IMessage msg)
Oct 22 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: harry | last post by:
Hi, I have a program that runs on multiple client pc's. Occasionally one or more of those pc's use VPN to connect to another corporate network. When using VPN they need to set proxy server in...
1
by: 0to60 | last post by:
I have an object A, who contains a bunch of maps of other objects B, C, D. Some maps are internal, some are private. Object A inherits from MarshalByRefObject, whereas B, C and D are all marked...
3
by: Deepal | last post by:
Hi; I'm doing an example program from a book regarding .NET Remoting. Both the Client and Server are C# Console Applications. Server Code is using System; using System.Runtime.Remoting;...
2
by: frazer | last post by:
i am checking a remoting sample and cant understand what this means. what does this mean? if(!System.Runtime.Remoting.RemotingServices.IsTransparentProxy(Object1)) { throw new...
0
by: Mike Grishaber | last post by:
Hello All, I am using an IHttpAsyncHandler class to intercept HTTP Requests and forward them to a system which processes the Request and returns the Result. I use .NET Remoting to connect the...
15
by: Sharon | last post by:
I’m trying to build a generic Publisher-Subscriber that will work over the net, so I’m using the Remoting. I wish that the subscriber user will be notify about the messages sent by the...
15
by: Ron L | last post by:
We are working on a distributed VB.Net application which will access a SQL database located on a known server. Each client will run on the user's local machine. To implement this, we are trying...
3
by: breeto | last post by:
If you've configured .NET Remoting to use more than one channel of the same type, for example two TcpClientChannels with unique names, when you want to create a proxy to a remote object how do you...
6
by: Palvinder Singh | last post by:
Hello google group peeps, I am new to remoting, but have a grasp of it. I am trying to create a server/client application, which will be deployed over an intranet. I have upwards of five...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.