Current time: 10-21-2020, 05:48 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
connection dropped with error 400 and 483
06-05-2020, 07:03 PM
Post: #1
connection dropped with error 400 and 483
Hi,
I am trying to setup WPT private agent in Heroku and connect it to the SpeedCurve WPT server.
But my connection is resetting again and again with the connection being dropped for every request to get work.

I am using the following Procfile:
Code:
worker: python /wptagent/wptagent.py --server "http://wpt1.speedcurve.com:443/work/" --location "salesforce-01" --xvfb --dockerized -vvvvv --shaper none --log wptagent.log

the logs are:
Code:
2020-06-05T08:32:46.630524+00:00 app[worker.1]: 08:32:46.630 - Resetting dropped connection: wpt1.speedcurve.com
2020-06-05T08:32:46.680104+00:00 app[worker.1]: 08:32:46.679 - http://wpt1.speedcurve.com:443 "GET /work/getwork.php?f=json&shards=1&reboot=1&location=salesforce-01&pc=80c436cd-a219-488f-8f75-d1a41ddd2a30&version=20.05&screenwidth=1920&screenheight=1200&freedisk=280.525&upminutes=9375 HTTP/1.1" 400 483
2020-06-05T08:32:51.685459+00:00 app[worker.1]: 08:32:51.685 - Checking for work: http://wpt1.speedcurve.com:443/work/getwork.php?f=json&shards=1&reboot=1&location=salesforce-01&pc=80c436cd-a219-488f-8f75-d1a41ddd2a30&version=20.05&screenwidth=1920&screenheight=1200&freedisk=280.184&upminutes=9375
2020-06-05T08:32:51.689853+00:00 app[worker.1]: 08:32:51.689 - Resetting dropped connection: wpt1.speedcurve.com
2020-06-05T08:32:51.743565+00:00 app[worker.1]: 08:32:51.743 - http://wpt1.speedcurve.com:443 "GET /work/getwork.php?f=json&shards=1&reboot=1&location=salesforce-01&pc=80c436cd-a219-488f-8f75-d1a41ddd2a30&version=20.05&screenwidth=1920&screenheight=1200&freedisk=280.184&upminutes=9375 HTTP/1.1" 400 483
2020-06-05T08:32:56.748746+00:00 app[worker.1]: 08:32:56.748 - Checking for work: http://wpt1.speedcurve.com:443/work/getwork.php?f=json&shards=1&reboot=1&location=salesforce-01&pc=80c436cd-a219-488f-8f75-d1a41ddd2a30&version=20.05&screenwidth=1920&screenheight=1200&freedisk=280.264&upminutes=9375

Here 483 probably represent 'Too many hops.' but I don't know how to increase the max no of hops.
Also, whats the right way to debug it?
Find all posts by this user
Quote this message in a reply
06-06-2020, 12:00 AM
Post: #2
RE: connection dropped with error 400 and 483
You should reach out to speedcurve directly and ask them. My guess, since it is port 443 that the URL should be https instead of http but they'd be the ones to ask.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-11-2020, 01:20 PM
Post: #3
RE: connection dropped with error 400 and 483
Thanks for the reply Patrick.
Any ideas on how to enable traffic shaping on heroku?
Find all posts by this user
Quote this message in a reply
06-11-2020, 10:42 PM
Post: #4
RE: connection dropped with error 400 and 483
I doubt you can. I don't think heroku offers full VM's, just some form of containers and those don't give you full access to the networking stack.
Visit this user's website Find all posts by this user
Quote this message in a reply
06-11-2020, 11:41 PM
Post: #5
RE: connection dropped with error 400 and 483
Thanks Patrick.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)