Archived Support Site

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

Can't get node.js site deviq.apphb.com working

jhoppe's Avatar

jhoppe

Oct 14, 2016 @ 07:31 PM

I am trying to create a new Node.js site http://deviq.apphb.com/. However, no matter what I do, I can't get anything to work. I tried to clone my existing site (hoppe.apphb.com), and upload it there, but I did not have any luck.

I even downloaded the build from hoppe.apphb.com, and compared to the build for http://deviq.apphb.com/. I don't see any differences. Can you help identify what is different between the two sites, and why deviq is not working?

I went through the build log, errors section, and compared the site settings.

The site is generating an error:
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

But I can't get any other information about the error.

Thanks,
Joe

  1. Support Staff 1 Posted by rune on Oct 18, 2016 @ 01:30 AM

    rune's Avatar

    Hi Joe,

    Have you tried running the application in IIS? I think that likely explains the difference if this is working for you locally (in VS or similar). I took a quick look at the application and there's also a difference from the other app you mention. In particular, the iisnode handler element contains an invalid attribute:

    <add name="iisnode" path="app.js" verb="*" modules="iisnode" devErrorsEnabled="false" />
    

    The devErrorsEnabled attribute should be configured in the iisnode module configuration. Try and remove that attribute or move it to the iisnode element.

    Let me know if that doesn't work!

    Best,
    Rune

  2. rune closed this discussion on Oct 18, 2016 @ 01:30 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