r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!Cheyenne] Discussions about the Cheyenne Web Server

Endo
15-Dec-2009
[6473]
hi, I have a problem about sessions, when I start a session, then 
end it, then restart it, session/active? return false if the file 
is not in same location with the file which is started the session.
Dockimbel
15-Dec-2009
[6474]
Which Cheyenne version are you using? Have you tried with the development 
version from SVN repository?
Endo
15-Dec-2009
[6475x3]
2.7.6.3
on windows/xp home & pro
I did not try the SVN version.
Dockimbel
15-Dec-2009
[6478]
2.7.6.3 is the REBOL version. Cheyenne versions are the ones listed 
here :  http://cheyenne-server.org/download.shtml

So, I guess you're probably using v0.9.19. Could you make small RSP 
scripts that exhibit this issue and send them to me by email?
Endo
15-Dec-2009
[6479x2]
oh sorry, yes I'm using the 0.9.19, I guess the problem is about 
subfolders
I'm preparing the scripts now..
Dockimbel
15-Dec-2009
[6481x2]
Thanks.
I remember a similar issue reported once by a user a few months ago. 
I'm not sure this has been fixed properly or if your issue is exactly 
the same. Anyway with the help of your test scripts, I should be 
able to figure it out.
Endo
15-Dec-2009
[6483x2]
I just send the test files by email
Please try the test cases I wrote in the email, session/active? gives 
2 different result after restarted a session, if the files are different 
folders
Dockimbel
15-Dec-2009
[6485]
Got it, will give it a quick look now.
Endo
15-Dec-2009
[6486]
thanks a lot
Terry
15-Dec-2009
[6487]
Websockets... now we're cookin'
http://mylittlehacks.appspot.com/phpwebsocket
Dockimbel
15-Dec-2009
[6488]
The test cases run OK here with the development version (on SVN), 
which means that the issue has been already fixed. Now trying with 
0.9.19 to be sure.
Endo
15-Dec-2009
[6489]
can I download the SVN version (where?) so I can test it here too
Terry
15-Dec-2009
[6490]
Google Chrome announced support for Websockets recenty. Works well.
Dockimbel
15-Dec-2009
[6491]
SVN version is hosted on google code : http://code.google.com/p/cheyenne-server/
Terry
15-Dec-2009
[6492]
Cheyenne could get some good press by creating a protocol to handles 
ws://
Dockimbel
15-Dec-2009
[6493]
Endo, if you don't have SVN installed, I'll send you a zip archive 
by email?
Terry
15-Dec-2009
[6494]
http://code.google.com/p/phpwebsocket/
Endo
15-Dec-2009
[6495x4]
I can download it from the web
but there is no binaries I guess, can I run it from the console?
I don't have /Pro versions.
or if you have binaries please send me by email
Dockimbel
15-Dec-2009
[6499]
I'll upload a binary version online, just wait a minute...
Terry
15-Dec-2009
[6500x2]
Forget that.. download the latest Google Chrome beta and start playing 
with websockets :)
http://www.kaazing.org/confluence/display/KAAZING/What+is+an+HTML+5+WebSocket
Dockimbel
15-Dec-2009
[6502x2]
Terry: yes, interesting stuff.
Endo: it's confirmed, version 0.9.19 fails on your test case while 
the development version seems to run it fine.
Endo
15-Dec-2009
[6504]
I downloded 0.9.20, testing in a minute
Dockimbel
15-Dec-2009
[6505]
Let me know if you need other binaries (the one I've sent you is 
made with enface).
Endo
15-Dec-2009
[6506x3]
Ok, I've tested it, works fine now.
What is the difference enface version?
It doesn't work as a service on my pc. If the other version can work 
as a service, could you please send it to me?
Dockimbel
16-Dec-2009
[6509x3]
Windows Service mode fixed in SVN r40. Enpro binary available here 
: http://cheyenne-server.org/tmp/cheyenne-r40.exe
Enface = enpro + View engine, more info about various REBOL kernels 
here : http://rebol.com/docs/sdk/kernels.html
Btw, I should use /Face and /Pro terms which are more correct when 
talking about kernel flavours.
Endo
16-Dec-2009
[6512]
Both service & session features works now. Thank you so much.
Graham
16-Dec-2009
[6513]
/face version doesn't work in service mode ... is that correct?  
I haven't tried it again recently.
Dockimbel
16-Dec-2009
[6514]
Right, /Face in service mode can't survive a logoff. It's related 
to how REBOL windows are hooked to screen and lack of correct handling 
of some special events sent by the OS during logoff procedure.
sqlab
18-Dec-2009
[6515x2]
I had a problem to start the recent cheyenne version as a service 
after encapping.
I got always crash.logs that it could not find some files.
After manually copying the files it works.
Can it be that in .cache.efs the new features are not included?
ok, this was not a problem running as a service, but cheyenne.exe 
did not start at all, as it could not find some Uniserve modules.
After adding adding all of them to the cache, it works again.
Dockimbel
18-Dec-2009
[6517]
.cache.efs may have been too old. It is refreshed when you start 
Cheyenne from sources. As a rule of thumb : boot Cheyenne in source 
mode to refresh the encap cache definitions before encapping (especially 
if you did a SVN update).
sqlab
18-Dec-2009
[6518]
Thanks,

Cheyenne is really one of the Rebol programs, I use without any own 
modifications.
Janko
18-Dec-2009
[6519x3]
could there be any problem with running two cheyennes on different 
http ports on same computer ?
well, I am quite sure not this is the problem, I thought before that 
the problem was with accepting the port for ex. 8080 but now I put 
nginx in front which will send requests to each othe them depending 
on the virtual host ... but it's the same, one one runs the other 
can't run. Could this be because they use same ports for workers 
or something like that?
not = now
Graham
18-Dec-2009
[6522]
You can't run two Cheyennes on the same PC without some issues.