MateCat Filters

ÜCRETSİZ PREMIUM
Taraf Translated | Güncelleyen hace 5 días | Translation
Popülerlik

9.2 / 10

Gecikme

12,477ms

Hizmet Düzeyi

97%

Health Check

N/A

Tüm Tartışmalara Dön

API returns Status code 503 after uploading PPTX or PDF or any other file

Rapid account: Synergium
synergium
hace 8 años

Hello, Translated Team,

Thanks for this nice initiative! I will support it as much as I can, maybe even ask our external developers to contribute.

We have installed opensource MateCat virtual machine, then updated to 0.6.8 version, have set Oauth (it is working), then signed up and entered Mashape KEY to config.ini.
Unfortunately, we are receiving error message „Received Status Code 503“ (and once - 504) when we upload PDF or PPTX.

Our config file is quoted below (with real Mashape key, I will regenerate it later.)

Regards,
Mindaugas
CEO
www.synergium.eu

[production]
DB_SERVER = "localhost"
DB_DATABASE = "matecat"
DB_USER = "matecat"
DB_PASS = “matecat01”

MEMCACHE_SERVERS = “” ;array( /* “localhost:11211” => 1 */ ); //Not Used
REDIS_SERVERS = "tcp://localhost:6379"
QUEUE_BROKER_ADDRESS = "tcp://localhost:61613"
QUEUE_DQF_ADDRESS = "tcp://localhost:61613"
QUEUE_JMX_ADDRESS = "http://localhost:8161"
SSE_BASE_URL = “http://localhost/sse” ;no trailing slash here
STORAGE_DIR = “/home/matecat/cattool/storage” ;provide an absolute path

FILTERS_ADDRESS = https://translated-matecat-filters-v1.p.mashape.com
FILTERS_MASHAPE_KEY = “2q7DVtaIR1mshGkFKY9Z4ZyD8A4yp16kB4qjsnoMfXTEEc8rFW”

Rapid account: Translated
translated Commented hace 8 años

Yes, we are having a bunch of extra challenges in this period 😃

Thank you for the fix and for having noticed the PHP messages, I’ll check it out.

Thank you!

Rapid account: Sim Zal
SimZal Commented hace 8 años

DDOS, fire in datacenter, it seems it’s not your year 😃

I fixed the problem already, Matecat didn’t send correct Curl requests on new PHP versions. It was accepted into devepotment branch of Matecat.

I think i noticed your API is showing PHP notices (for example when using undefined variables), you should probably turn that off.

Rapid account: Translated
translated Commented hace 8 años

Unfortunately we had a fire in our datacenter just in the day you experienced the problem.
Some of our systems went down, and we had to spend some hours to restore them.
But now everything should work properly.

Are you still experiencing the problem?

Let me know, thanks!

Rapid account: Sim Zal
SimZal Commented hace 8 años

I also have a similar problem with MateCat (error 500), here is the log:

2 2016-08-18 23:40:36 \N \N 127.0.0.1 1 doc id000923.doc 0 Received status code 500 \N \N \N \N 794daea337ba49d429551cee68c2a9b0348e4ac2 en-US en-GB \N 44544 1804

3 2016-08-18 23:42:50 \N \N 127.0.0.1 1 pdf example.pdf 0 Received status code 500 \N \N \N \N cbc397deaa19058e3f09cebfc34c6e46acf34335 en-US en-GB \N 194007 1671

It works if I try it with Curl, so I’m a bit puzzled.

Rapid account: Translated
translated Commented hace 8 años

Dear synergium,
Mashape support replied saying that there was a DDOS attack on the Marketplace causing lots of issues.
Now the problem is solved and everything should work fine.
I tried again the curl above and it works!
Hope it works for you too!

Rapid account: Translated
translated Commented hace 8 años

Very very strange! I’ll send you updates as soon as the Mashape team replies to my support request.

Rapid account: Synergium
synergium Commented hace 8 años

Hi,

Unfortunately, then new key does not work either:
“WYrVIb4lDnmsheeOp6097plljFOwp1vLP6SjsnU5UfUIi7WFtU”

The same 503. I guess only Mashape support will help. Therefore I will be waiting for news from you. Thanks for you help 😃

Mindaugas

Rapid account: Translated
translated Commented hace 8 años

Incredibly, it seems related to your personal Mashape key. Using this simple curl from my terminal I obtain the 503 terminal:

curl -X POST --include 'https://translated-matecat-filters-v1.p.mashape.com/AutomationService/original2xliff' \
  -H 'X-Mashape-Key: 2q7DVtaIR1mshGkFKY9Z4ZyD8A4yp16kB4qjsnoMfXTEEc8rFW' \
  -F 'documentContent=@AcrossConf2016_EN_crossMarket.pdf' \
  -F 'sourceLocale=it-IT' \
  -F 'targetLocale=en-EN'

The weird thing is that changing only the Mashape key it works! I tried with two other keys, and everything worked fine.
Using your key instead the call never reaches our servers, dying on the Mashape side.

I already wrote to the Mashape support to fix this issue.
Meanwhile can you try with another Mashape key too?

Thanks!

Rapid account: Synergium
synergium Commented hace 8 años

Hi,

Thanks for getting back to me.

  1. The same error message 503 is given for every file and format, not only PDF or PPTX. Only XLF works fine (which does not use the mashape).
  2. you can download the PDF file via link: https://we.tl/UxzHdyK64c (however, we have tried with HTML, PDF, PPTX, RTF, DOC, DOCX): the file is uploaded, and when importing part starts, then gives error message 503 back.

Possible reasons:

  • we have installed MateCat in your Ubuntu VDI in our internal domain synergium.eu
  • Matecat runs under subdomain matecat.synergium.eu and is accessible ONLY via VPN or from internal network
  • matecat.synergium.eu runs on HTTP
  • I am not sure whether the needed ports for Mashape are opened, tell me if there is a need (Google OAuth works fine, though)

Regards,
Mindaugas

Rapid account: Translated
translated Commented hace 8 años

Hi synergium! Sorry for not having replied sooner!

I have a couple of questions for you:

  • Are you receiving that response code for every file you send or just for those particular PDF and PPTX?
  • Can you send the PDF and PPTX you are using?

Thank you!

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun