Thanks for your answer.

You absolutly right.

You cant directly save the request in a variable but you can create a classmethod that execute the query and return the resultset. And then you can save this return in a variable.

Thanks a lot Dmitry that save 10s of page load :)

Hello Robert,

Yes the gateway on ser-app-w is configured to access server ser-app-db.

It works for the cps and cls files, example:

http://ser-app-db/csp/samples/test.csp --> http://ser-app-w/csp/samples/test.csp

http://ser-app-db/csp/samples/test.cls --> http://ser-app-w/csp/samples/test.cls

But it's not working with a web application link like:

http://ser-app-db/csp/samples/docserver/request --> http://ser-app-w/csp/samples/docserver/request

Thanks,

Sébastien

Hi Bernd,

Yes /csp/samples/docserver is enabled in web application and work on the ser-app-db server. But is not working on the ser-app-w server.

I use IIS, i'm not sur to understand where do you want I use the wildcard ?

Thanks,

Sébastien

Thanks a lot Bernd,

Adding the wildcard in the Handler Mappings was the solution.

Great :)

Thanks,

Have a good day

Sébastien

Hello & thank you for your quick response.

Indeed, there was a Source Controle Class enabled, now disabled to test if it's really the problem. The thing is it has been enabled for quite a moment (several months), why would this sort of problem happen now ?

Unfortunately the Source Control Class wasn't the problem, it's still happening.

I cas use Portal's License Usage pages, here's a screenshot of 'Usage by User' :

As you can see, they are all CSP type, and are '/csp/sys/' application

   

Hello Dimitry,

You right I can access some response header in the OnPreHTTP with GetHeader.

But apparently i cant access to all my header variable, in my case I add a custom variable named SSLDN (server side) but I cant see it in %response ...

Thanks

Sébastien

Hi Daniel,

Thank you for your reply.

The large amount of cached queries is a very good idee, indeed we found some table with millions queries cached ... 

We're going to clean up the queries, optimize the code queries and see if this solves the problem.

Thank you

Sébastien

Thank you for your reply.

Yes the source control is enabled but also on the other namespace without problems.

Thank you

Sébastien

Hello Robert,

Thank you very much for your fast and really helpfull answer.

My problem is fixed and my day is saved :)

Have a good day.

Sébastien

Hello,

The problem was finally related to Firefox Quantum:

« The new Firefox 57.0 Quantum with optimized performance setting quickly eats License Units

latest Firefox 57.0 Quantum, released 11/14 when installed on the box with Ensemble/HealthShare is eating up all available license units, eventually resulting in "license limit exceeded". 
That seems to be caused by the Firefox browser engine which is using parallelism optimizing the multi-core CPUs.


Here are the relevant links: 
https://browserengine.net/firefox-57-release-overview/

https://hacks.mozilla.org/2017/11/entering-the-quantum-era-how-firefox-got-fast-again-and-where-its-going-to-get-faster/

 
There is one setting Performance in the latest Firefox about:preferences where the hardware acceleration + content process limit could be set. »

Yes it work but I want to keep a main dispatcher with only the base route:

<Map Prefix="/v([0-9]{1,2})/news"    Forward="API.Dispatch.news"/>

I tried:

In main dispatcher:
<Routes>
   <Map Prefix="/v1/news"    Forward="API.Dispatch.news"/>
</Routes>

And in the sub-dispatcher:
<Routes>
   <Route Url="/:id"                        Method="GET"  Call="NewsGetItem"/>
</Routes>
And so with classmethod:

ClassMethod NewsGetItem(id As %IntegerAs %Status
{
    id
    Quit $$$OK
}
But still 404