Unable to start preview server

Discussion and feedback on Construct 2

Post » Mon Oct 21, 2013 11:04 pm

Hey folks,

I'm having a heck of a time getting the preview server to work properly on my laptop. I'm assuming there's a conflict, but I'm not sure with what...

Here's the error that appears:

---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:

After creating request queue, handle is NULL

Condition: hRequestQueue != NULL
File: HttpFileServer.cpp
Line: 126
Function: void __cdecl HttpFileServer::Start(const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,int)
Build: release 148 (64-bit) checked
Component: HTML5 exporter
(Last Win32 error: 0)

You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.
---------------------------
Abort   Retry   Ignore   
---------------------------



Hopefully someone can point me in the right direction. BTW - yes I did read the FAQ and the Troubleshooting guide, but nothing worked...      
B
8
S
2
Posts: 12
Reputation: 1,159

Post » Tue Oct 22, 2013 10:17 am

What version of Windows are you using? Are you sure you're not running any other server software on your computer that might be conflicting?
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Tue Oct 22, 2013 2:09 pm

I want to use the oppertunity to say that the Preview Server isnt working with the Steam version of C2 since it isnt launched/cant be launched in admin mode.
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
24
S
10
G
7
Posts: 253
Reputation: 4,921

Post » Tue Oct 22, 2013 10:08 pm

Thank you for responding Ashley. SgtConti - thank you for pointing this out, but this is not a steam release.

Ashley - I'm on a windows 7 laptop, but the thing is, it's my development laptop - so I actually have a lot of potentials to affect this (though non currently running).

I was hoping there might be a log or something to suggest *what* is the block, but even the application logs are empty.

I was hoping to avoid going through uninstall after uninstall until I find the culprit... but that might be what I have to do...
B
8
S
2
Posts: 12
Reputation: 1,159

Post » Tue Oct 22, 2013 10:15 pm

@greatimposter - are you sure you tried everything in the troubleshooting guide, such as setting up preview-over-wifi, trying different ports, and so on?

@SgtConti - the preview server should work fine on Steam even without admin privileges providing you're only previewing on localhost. We are not aware of anyone else who has described issues with this. You can also still launch in admin mode if you need to, by running from the Steam install directory.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Tue Oct 22, 2013 10:39 pm

@Ashley the problem isnt actually that it wont work in that way.
Its understandable that C2 need admin privileges, but when i go in the Steam folder, and check "Run construct2.exe with admin privileges" and i then try to start it, i get an error message
(Failed to start Construct 2)
"It's done when it's done"

Shadows of War
Buy on Steam ;)
B
24
S
10
G
7
Posts: 253
Reputation: 4,921

Post » Tue Oct 22, 2013 10:49 pm

Ashley, I have gone through it, I'll give it another go - this is clearly something with my machine here - Construct works great on my desktop.

Ok, going through the troubleshooting guide again. I'll definitely report in if I find what's causing the server block.
B
8
S
2
Posts: 12
Reputation: 1,159

Post » Thu Oct 24, 2013 9:09 pm

Ok Folks,

I went through bloody everything... and I mean everything... I removed pesky windows tools like SQL Server, Visual Studio 2012, etc - no dice. So don't be like me.

In the end, windows HTTP Service was failing to start, and windows seems to obfuscate information about this. No report as to what was causing the conflict, no log detailing anything other than "Service cannot be started". I am not happy with windows.

However - I found a clever individual over here:
superuser dot com

who solved it. This line entered into windows command prompt:
sc config http start= auto

seemed to bypass the services UI (since that actually wouldn't work for me either) and force windows to start the service.

Construct preview happiness has been bestowed upon me once again...

:) greatimposter2013-10-25 04:43:02
B
8
S
2
Posts: 12
Reputation: 1,159


Return to Construct 2 General

Who is online

Users browsing this forum: kanjmarrie and 5 guests