You don't need frames to view this website. Flash communication server. Flash mx xml socket server.
Home
Main Menu
Home
- - - - - - -
What is Palabre ?
Features
News
FAQ
Forum
DEMO
- - - - - - -
Downloads !
Browse SVN
- - - - - - -
Search
Contact Us
- - - - - - -
Sourceforge Project Page
Python
Links




 
Download Palabre Flash Xml Socket Server DOWNLOAD Download Palabre Flash Xml Socket Server FORUM Download Palabre Flash Xml Socket Server FAQ Download Palabre Flash Xml Socket Server WHAT IS IT
 



Using Palabre ? Coming here for Support ? Please consider making an (even small) donation :)
Palabre Forum  


Post a new message in "Default Forum"
Name:
Subject:
topic icon:
no
boardcode:
 Colour:  Size:   Close all tags
Message:
CAPTCHA: How much is 3 added to 8

Topic History of: Authentication Error
Max. showing the last posts - (Last post first)
Author Message
chromecow Yes, in 0.6b,



checkpassword = true



is the default
chromecow That was in fact the problem. Thanks!
admin Hi,



From your Palabr.conf it looks you're using database identification :

Code:

 
checkpassword 
true



try to set it to "false"

(it may be my mistake this value should be to false by default but in current beta it's maybe on ...)


Have fun,
chromecow I have the palabre server running on my unix VPS.



When I try to connect with PalabreChat.swf, I get this in the console:



[identifying information changed]



Code:

 [root@somesever /]# 2008-03-09 15:40:05,692 : INFO     Connection initialized for xx.xx.xx.xxx



Which looks fine. Here is the message from the chat window:

Code:

 *34674Incoming :
<
error>Authentication Error</error>
*
34534Sending :
<
connect nickname="chromecow" />
Connection true
Connecting 
xx.xxx.xx.xxx2468
Hello 
!
Please connectjoin a room and enjoy !




Looks like I get a connections, but as soon as I try to send a <connect nickname>, I get an authentication error.

My configuration file looks like this:

Code:

 # palabre.conf
# Main config file for Palabre

[daemon]
# startdaemon - if 'false', don't start in daemon mode
# and send the log to the console as well as to the log file
# useful with loglevel = debug
# default: true

startdaemon true

# pidfile - pid file path 
# default: /var/run/palabre.pid
# Not used under windows, only for UNIX services

pidfile = /var/run/palabre.pid

# ip - uncomment the following to bind Palabre to a specific ip
# ex: ip = 192.168.1.25
# default (commented or empty): all

ip xx.xxx.xx.xxx //My Server IP

# port - uncomment the following to bind Palabre to a specific port
# ex: port = 9876
# default (commented or empty): 2468

port 2468

[logging]
# loglevel - one of: debug, info, warning, error, critical
# default: info

loglevel info

# logfile - log file path
# default: /var/log/palabre.log
# logfile = ./palabre.log
# If empty Palabre will print every messages in the console

logfile 


[
admin]
# password - uncomment the following to allow root connection
# (useful for some administrative tasks)
# make sure only Palabre admins have access to this file
# ex: password = MetsTaCarpe
# default (commented or empty): no root connection allowed

password mypassword

[crossdomain]
# List domains allowed to connect to this server (separated by spaces)
# Load through : System.security.loadPolicyFile("xmlsocket://foo.com:414");
#

alloweddomains xx.xxx.xx.xxx //Another domain I use


[database]
# If you want to check password to database 
# checkpassword = true

usedatabase false
checkpassword 
true

# Database informations for ADODB

# dbType : Possible Values : any from ADODB : mysql, postgres, sqlite, odbc, ...
# But you need the correct module + Adodb to go on ...

dbType mysql
dbHost 
192.168.1.234
dbUser 
root
dbPassword 
secret
dbDatabase 
test

# Request to use : 
# use [LOGIN] and [PASSWORD] for the replacements WITHOUT QUOTES AROUND 
# Adodb Will auto quote it
# XML connect node must be : <connect nickname="toto" password="str0ngp4ss" />
# Ex : dbRequest = SELECT * FROM t_logins WHERE login_nickname LIKE [LOGIN] AND login_password LIKE  MD5([PASSWORD])

dBRequest SELECT FROM t_logins WHERE login_nickname LIKE [LOGIN] AND login_password LIKE MD5([PASSWORD])


[
modules]

list = 
dbQueries,helloworld,simpleLogin