RDM not reading Web Data source

RDM not reading Web Data source

avatar

Hi,

We'd like to use a Web Data Source, but RDM is closing the connection right away instead of reading the response.
Am I missing something ?

Usual server answer when a web browser is asking for the xml data:

GET / HTTP/1.1
Host: xxxx.xxx.intra:8081
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Cache-Control: max-age=0


And the content served is displayed:

<?xml version=1.0?>
<ArrayOfConnection>
<Connection>
<Putty>
<Host>xxxxxxxxxxxx</Host>
<Port>22</Port>
<PortFowardingArray />
</Putty>
<ConnectionType>Putty</ConnectionType>
<CredentialConnectionID>123456ab-abcd-1234-abcd-123456789abc</CredentialConnectionID>
<ID>50524146-414C-4956-5347-424431000000</ID>
<Name>xxxxxxxxxxxx</Name>
<OpenEmbedded>true</OpenEmbedded>
<PinEmbeddedMode>False</PinEmbeddedMode>
<SubMode>2</SubMode>
</Connection>
</ArrayOfConnection>


But when RDM is trying to get the xml, we have this server response:

GET / HTTP/1.1
Host: xxxx.xxx.intra:8081
Connection: Close

And RDM is displaying "Not connected" as the root folder name

Is there any step I've missed ?

All Comments (11)

avatar

Hello DGM,

Are you looking for a data source that you can share between your computers?

If yes, please have a look at our Devolutions Online Drive data source
http://blog.devolutions.net/2015/08/devolutions-online-drive.html

Best regards,

Jeff Dagenais

avatar

JF,
They export the data to create a web data source. They can't use DOD. Could you verify with JP if he can reproduce this error with RDM 10.6?

David Hervieux

avatar

Yes David, we will generate our source from a repository, and the tightened security will not allow any access online.

It would be nice if you try to reproduce this behavior.

I can also give you the http server I'm using on Linux for preliminary tests (POC) :
while true ; do nc -l 8081 < connectdata.xml ; done
(no joke)
connectdata.xml is the xml mentioned above, and Web Data Source url is http://server:8081

avatar

Some other test results:

The same custom xml used as a XML file data source also leads to "Not Connected" empty folder name.
But a new XML file made with one session & credential export from RDM is working when used for XML file data source.
Unfortunately the new XML doesn't work when served by the http server (either DOS or Unix end of line format).

Conclusion:
I guess my custom XML file is faulty. It's working for import but it isn't suitable as a data source (either Web or XML file)
But a new compliant XML isn't enough to solve the Web Data Source problem.

Please : could you provide a small XML sample working when served by http server as a Web Data Source to RDM 10.6 ?
A sample with a PuTTY session and a login/password credential will be perfect.

avatar

Hi,
You could export an existing session into an .rdm file and the content will be an Xml file.

David Hervieux

avatar





Hi David,

I've already done this export, which I call above a "compliant" XML.
It works as a XML File Data Source but it fails to populate RDM when served as a Web Data Source.

Did you tried to have this exported XML served by a http server for a Web Data Source?
Could you check if it works in RDM 10.6?

avatar

I will ask our QA to this this on web site.

David Hervieux

avatar

Hello DGM,

Here's a sample URL. Could you try it in your web data source please?

http://devolutions.net/connections1.xml

Best regards,

Jean-Philippe Charest

avatar

Security policy won't allow Internet access from where RDM is running.
So I've copied the connections1.xml to serve it from our server.

It doesn't work any better: http connection is closed by RDM and it's still displayed Not Connected as the empty folder name.

Did you managed to test this file on your Web Data Source with RDM 10.6?

avatar

The sample file is working well here, regardless of the version I use.

Could you try the sample on another machine which allows you access to the Internet?
Maybe the Firewall or Proxy blocks you the access to the file from the RDM application.
Best regards,

Jean-Philippe Charest

avatar

It's working know.
Thanks for helping us.
Conclusion: it was at first a faulty XML and then a too hacky http server.
A real http server did the job.