Restrictions on doing http requests inside app
Do you guys have any restrictions for doing http requests inside an app? I'm having an issue with a library I use to export HTML to PDF, this library makes a web request to one of my application pages (all code running in the same application), and it always times out, which doesn't happen on my computer, or on our EC2 instance.
Discussions are closed to public comments.
If you need help with AppHarbor please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by friism on Jun 28, 2011 @ 04:55 AM
Which url are you hitting? You may running afoul of our load balancers.
friism closed this discussion on Jun 28, 2011 @ 04:55 AM.
ryudice re-opened this discussion on Jun 29, 2011 @ 03:09 AM
2 Posted by ryudice on Jun 29, 2011 @ 03:09 AM
No content.
Support Staff 3 Posted by friism on Jun 29, 2011 @ 03:16 AM
Could you re-post that comment please?
4 Posted by ryudice on Jun 29, 2011 @ 03:20 AM
sorry, I replied through the email. The url I'm hitting is inside the same application from which I'm generating the request, is another action is another controller.
Support Staff 5 Posted by friism on Jun 29, 2011 @ 03:29 AM
We haven't any restrictions. Note that you application runs behind a loadbalancer, but whether you hit it from an outside url (through the load balancer) or with a localhost one, it should work. Could you maybe post an example url that you are hitting?
Also , maybe you should try hitting a url that doesn't do any real work, to figure out whether the timout is due a bad url or due to the html -> pdf conversion taking too long.
friism closed this discussion on Jun 29, 2011 @ 03:29 AM.