Base solution for your next web application

Activities of "TPATax"

Hello, in a first place, I know that this issue has been discussed here multiple times, but none of the answers we've found helped us.

We get this type of console error Access to XMLHttpRequest at 'http://api-hr.janbranny.eu/api/TokenAuth/Authenticate' from origin 'http://hr.janbranny.eu' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. But this error occurs randomly, on different requests. Most of the time server returns response with CORS headers, but sometimes (when this occurs) the response is not available - does not have headers (see provided attachments).

To the example (attachments): GetDemandDetail (OPTIONS) and GetDemandDetail (GET) are OK. SwitchToLinkedAccount (OPTIONS and POST) are fine too. LinkedAccountAuthenticate (OPTIONS) is OK. LinkedAccountAuthenticate (POST) returns status 200 but does not contain any response.

You can find Logs.txt here: https://drive.google.com/file/d/1v-EETR1jdbm0Yjr_p2-nTw9ELcUJMH_t/view?usp=sharing . The first described GetDemandDetail (OPTIONS) request starts at time 17:23:04.

Thank you in advance for your support.

<br>

Hi, @maliming, thank you for the link provided. It looks like it works properly right now.

Hello, yes we do have XML files with translations for our app (ourapp.cs-CZ.xml and ourapp.xml - the second one for english). We do not have problem with that. We have a problem with Abp, AbpWeb, AbpZero which are returned empty when we set default language on cs-CZ. Is there any possible way how to register XML files for these sources with culture cs-CZ?

Thank you.

Hello, I would like to address you with an issue that occurres when we change app default language from en to cs-CZ. If we do that, the server doesn’t return all localization sources (Abp, AbpWeb, AbpZero). Key and values from these sources are empty a it just returns values: { Abp:{}, AbpWeb:{}, AbpZero:{}, App:{…}}. When we set default language back to en everything works fine. We really need to have default language set to cs-CZ.

Nevertheless, if we modify value for key in DB app returns only modified values.

It works properly on my localhost, but on my colleague’s and on our dev and production server it does not.

Thank you.

Showing 1 to 4 of 4 entries