ECONNRESET: Request could not be proxied! and other errors

preview
ruby-on-rails

#1

I’m constantly getting ECONNRESET: Request could not be proxied! errors and BadGateway errors which greatly reduces my productivity. When I first started working in my rails proyect this never happened, but as of lately this has become very annoying.


#2

did you see Unable to do HTTPS on c9users.io (request could not be proxied)?


#3

how can I get my app to only listen to http?


#4

that depends on your app, which workspace do you use, is it public?


#5

what would be my workplace (sorry, I’m very new to c9) it’s private but I have it shared to one of my friends


#6

I was asking to know if i can take a look at it, to better understand why the error gets shown


#7

Oh, ok, I’ll link it to you and make it public then, I have no problems doing that.

Is this what you want?
https://bexpot-bluespheal.c9users.io


#8

does your app work when calling locally, e.g. with curl http://localhost:8080?
Looks like it never responds to any requests, so proxy times out eventually


#9

I use rails server -b $IP -p $PORT, it sometimes works, other times it either has a proxy time out and others it has a bad gateway error.

This mostly happens when I make changes to the css files in my rails application.


#10

I am able to access it now, and although there are errors in the application itself, it appears that the Cloud9 side of things is cleared up.


#11

Yeah, it seems it’s all back to normal, any ideas on what could have been the problem or how it got solved?