Re: 502 bad gateway error

2008-10-24 Thread Peter Marreck

I think I found a solution to this (unless it magically got fixed at
the same time as I found my solution).

You have to wipe your browser cookies, unfortunately, and restart the
browser. I tried deleting just the ones with heroku in the key but
that didn't work... I had to wipe ALL cookies. I also disabled pretty
much all Firefox addons just to make sure. (I haven't re-enabled those
yet.)

This is consistent with that kind of insidious error that happens when
your cookie state is out of date with what the back end expects.
Heroku must have changed on the back end last week in some way that
broke when it was fed our old cookies. Or so I surmise.

Perhaps a Heroku dev can chime in with which other cookies in
particular (without heroku in the name) might be affected by this,
so that people who are cookie micromanagers won't have to endure too
much extra pain. I'm not even 100% sure my theory is correct, but
everything is working now again after I performed that step.

Hope this helps someone else with the 502 Bad Gateway errors.

-Peter Marreck

On Oct 24, 2:27 pm, Alfonso [EMAIL PROTECTED] wrote:
 bump .. getting 502s all over the place

 app name : wwhow

 On Oct 23, 12:28 pm, Peter Marreck [EMAIL PROTECTED] wrote:

  Still happening. What happens is sometimes I won't get Bad Gateway,
  but I won't be able to open any files in the viewer- clicking does
  nothing. So I suspect the AJAX call is also getting a Bad Gateway in
  those situations.

  I tried it from home and it seems to work fine. I then suspected
  cookies so I deleted all cookies having anything to do with heroku
  at work and restarted the browser and the problem recurred. This is
  getting to be a pain as I was looking forward to demoing something at
  work, from work...

  All the same versions of Firefox with a handful of dev-type plugins.

  Peter

  On Oct 22, 2:50 pm, Peter Marreck [EMAIL PROTECTED] wrote:

   I am having the same thing happen with my app (but only when trying to
   edit it; the app itself still seems up).

   app name: keaneiphonewidget

   -Peter

   On Oct 22, 12:30 pm, Alfonso [EMAIL PROTECTED] wrote:

app name: wwhow

this has been intermittently happening since last week, now it pretty
much happens on any controller except the default

what can i do to avoid this problem?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Can't edit any of my apps

2008-10-24 Thread Peter Marreck

Please see my reply to the 502 Bad Gateway thread for a possible
solution to this issue.

-Peter Marreck

On Oct 24, 1:51 pm, Ed Allen [EMAIL PROTECTED] wrote:
 Yes, I'm seeing the same problem.

 On Fri, Oct 24, 2008 at 5:49 AM, Aaron [EMAIL PROTECTED]wrote:



  When I try and edit any of my apps I get the error:

  We're sorry, but something went wrong.  We've been notified about this
  issue and we'll take a look at it shortly.

  This has been happening since yesterday.. Anyone else having this
  problem?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: 502 bad gateway error

2008-10-23 Thread Peter Marreck

Still happening. What happens is sometimes I won't get Bad Gateway,
but I won't be able to open any files in the viewer- clicking does
nothing. So I suspect the AJAX call is also getting a Bad Gateway in
those situations.

I tried it from home and it seems to work fine. I then suspected
cookies so I deleted all cookies having anything to do with heroku
at work and restarted the browser and the problem recurred. This is
getting to be a pain as I was looking forward to demoing something at
work, from work...

All the same versions of Firefox with a handful of dev-type plugins.

Peter

On Oct 22, 2:50 pm, Peter Marreck [EMAIL PROTECTED] wrote:
 I am having the same thing happen with my app (but only when trying to
 edit it; the app itself still seems up).

 app name: keaneiphonewidget

 -Peter

 On Oct 22, 12:30 pm, Alfonso [EMAIL PROTECTED] wrote:

  app name: wwhow

  this has been intermittently happening since last week, now it pretty
  much happens on any controller except the default

  what can i do to avoid this problem?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Cannot create any new files anywhere in app tree

2008-10-21 Thread Peter Marreck

This includes uploading gems or plugins as well as creating files
within the app itself to handle upload storage. In all cases I can
create directories but no new files. Permissions problem?

My app is keaneiphonewidget.heroku.com. I'm trying to install the
Paperclip gem or plugin and have tried about 10 ways to do it and keep
getting errors, directories created without any files in them, etc.

Can anyone assist?

-Peter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



now I can't save any files. Anyone else having this issue?

2008-10-21 Thread Peter Marreck

I'm editing in firefox and suddenly no saves will complete. I tried
reloading heroku, no luck. Not cool, I was close to being able to demo
something to my boss... ;)

Can someone confirm my file permissions are correct? Thank you in
advance.

-peter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: now I can't save any files. Anyone else having this issue?

2008-10-21 Thread Peter Marreck

It went away. Weird. Hrmm... I'm considering developing locally and
doing the git push thing to avoid this sort of situation.

On Oct 21, 5:52 pm, Peter Marreck [EMAIL PROTECTED] wrote:
 I'm editing in firefox and suddenly no saves will complete. I tried
 reloading heroku, no luck. Not cool, I was close to being able to demo
 something to my boss... ;)

 Can someone confirm my file permissions are correct? Thank you in
 advance.

 -peter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---



Re: Error with every rake job, looking for a gem

2008-09-18 Thread Peter Marreck

Just wanted to add that some gems need some special config.

The following, for example, is how to get the ruby-openid gem working
(at least in my case):
in config/environment.rb ...
config.gem ruby-openid, :lib = openid, :version = '2.1.2'

-Peter

On Sep 11, 2:29 am, DavidPaquet [EMAIL PROTECTED] wrote:
 Ok, I reinstalled the gem via the console. (had to gem build the
 twitter one)

 Then, I had to rename it to add the version number and after that it
 worked.

 On Sep 11, 12:11 am, DavidPaquet [EMAIL PROTECTED] wrote:

  Hi everyone !

  Trying to upload a new app that is almost ready for production.  This
  app make us of a gem found on github.  I added this to my
  environnement.rb :

  config.gem dancroak-twitter-search,:lib = 'twitter_search', :source
  = http://gems.github.com;

  I also dit gem:unpack so I have the gem in my vendors directory.
  Everything work fine on my computer but on heroku I get a no such file
  to load -- twitter_search everytime I try to run a rake job including
  db:migrate.

  Any idea why ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Heroku group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~--~~~~--~~--~--~---