Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Restrictions on doing http requests inside app

ryudice's Avatar

ryudice

Jun 28, 2011 @ 04:00 AM

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.

  1. Support Staff 1 Posted by friism on Jun 28, 2011 @ 04:55 AM

    friism's Avatar

    Which url are you hitting? You may running afoul of our load balancers.

  2. friism closed this discussion on Jun 28, 2011 @ 04:55 AM.

  3. ryudice re-opened this discussion on Jun 29, 2011 @ 03:09 AM

  4. 2 Posted by ryudice on Jun 29, 2011 @ 03:09 AM

    ryudice's Avatar

    No content.

  5. Support Staff 3 Posted by friism on Jun 29, 2011 @ 03:16 AM

    friism's Avatar

    Could you re-post that comment please?

  6. 4 Posted by ryudice on Jun 29, 2011 @ 03:20 AM

    ryudice's Avatar

    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.

  7. Support Staff 5 Posted by friism on Jun 29, 2011 @ 03:29 AM

    friism's Avatar

    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.

  8. friism closed this discussion on Jun 29, 2011 @ 03:29 AM.

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