Problem in Linux server

Hi,

I need to run my server in Linux.

When I run the process all work fine, from the IDE I can connect to my service and can open the datatables.

In execution (server and client running in linux) the server (in Windows all work fine) when I try to open a datatable with dynamicwhere raise this exception:

An exception was raised on the server: Stream read error: Invalid string length “-1211979837”

I don’t know where to look anymore.

Any ideas, more than welcome. Thank you.

PS: RO/DA version 10.0.0.1511 and I use CodeFirst

Hi,

the problem is the Indy HTTP Server! If I change it with ROHTTPServer all work fine! The BIG problem is that with the TROHTTPServer the CPU of the process is 100% and more.

I opened an inquiry about this a few days ago:

https://talk.remobjects.com/t/rohttpserver-and-linux/25370

Hi,

It can work with simple testcase w/o any issues.

Can you create a simple server that reproduces this issue, pls?
you can drop email to support@ for keeping privacy.

Hi EvgenyK

the project is quite large and it is not easy to extract a test case on the fly but I try to prepare it.
Consider that I am using the Indy channel because ROHTTPServer gives me the CPU allocation problem (only in Linux).
If you can me help to find a solution for the CPU problem I would switch to ROHTTPServer instead of Indy.

Many thank’s

Hi,

I’m investigating this case.
it can be socket issue.
looks like Linux and Windows process sockets a bit differently …

1 Like

We are getting problems with this new build and linux with TROSuperTCPServer with similar issues of 100% CPU probably if a socket connection fails etc. This latest build has been very poorly tested and is a big disappointment for the lack of attention.

Hi,

Try to switch to TROIndySuperTCPServer - it may work more stable in Linux environment.

I confirm! Indy server TCP work fine in Linux