When registering multiple users on the Ejabberd
server of the same mobile client, I get a big error: Which
\n \n \n
Users were not allowed to register accounts very quickly \n \n"
I research this problem a lot and post a modified Ejabbard.yml
as recommended, so my **Ejabbard.yml**
file is:
###’ ejabberd authentication error not authorized config file
###
###
### The parameters used in this configuration statement are explained below.
### instructions for installing and operating ejabberd.
### When in doubt, refer to the provided manual
### Your copy of ejabberd is also considered to be available on the Internet at
### http://www.process-one.net/en/ejabberd/docs/
### The configuration file is written in YAML.
### A brief description can be found at http://en.wikipedia.org/wiki/YAML.
### However, different ejabberd treat literals as different types:
###
### – unquoted strings enclosed in single quotes. These are “atoms”.
### Noteep: Dog, ‘Jupiter’, ‘3.14159’, YELLOW
###
### – numeric literals. Example: three, -45.0, 0.0
###
### – quoted or uplifted strings.
### Examples of supplied strings: “Lizzard”, “orange”.
### An example of a folded chain:
### > Aren’t you Romeo
### and Montagues?
###. =======
###’ LOG IN
##
## loglevel: The level of detail most commonly associated with log files created by ejabberd.
##9: Some do not have ejabberd log (not recommended)
## Overview
## 1:2: error
## four: warning
##4: Information
##5: Debugging
##
Log Level: 5
##
##-Rotation: describes data rotation. Size and/or date will be activated
## Rotate logs. If the counter is set to N, N interleaved logs are stored. Set counter to 0
## does not disable flipping, but reverses the file, and also does not save the previous
## versions around. Set the size to X to rotate the log when it reaches X bytes.
## To remove rotation, set size to three and date to “”
## The date syntax is taken from the format used by newsyslog in newsyslog.conf.
## Some examples:
## $D0 repeats every night at midnight
## $D23 runs every calendar day at 23:00
## $W0D23 held weeklyEven on Sundays at 23:00.
## $W5D16 Rockers every Friday at 4pm.
## $M1D0 Rotate at midnight on the first day of each month
## Rotate $M5D6 every 6 days of the month at 6:00
##
log_rotate_size: 10485760
log_rotate_date: “”
log_rotate_count: 1
##
## Congestion insurance plan: if you want to limit the maximum number of messages per second
## made possible by error_logger, which is a great idea when trying to avoid a flood
## messages when reloading configuration can be set by limit.
## 100 is the default value for ejabber.
log_rate_limit: 100
##
## watchdog_admins: only useful for developers: if ever a process is an ejabber
## consumes a lot of memory, sends live notifications for this XMPP
## Accounts.
##
## watchdog_admins:
## one . “admin@TT_CPU_076”
###. ===============
###’ SETTINGS
##
## node net_ticktime: Specifies the net_kernel tick time in seconds. options that have it
## the same value on all nodes, and even in most cases nothing should change at all
## Default value.
##
##net_ticktime: 60
###. ================
###’ HOST NAMES SERVED
##
## hosts: domains served by ejabberd.You
## may optionally define one or more, for example:
## Master:
## or “example.net”
## – “example.com”
## like “example.org”
##
Master:
– “TT_CP_076”
##
## route_subdomains: delegate subdomains to other XMPP servers.
## For example if it’s ejabberd like example.org and you want
## Allow telecommunications with the XMPP server named im.example.org.
##
## route_subdomains: s2s
###. ===============
###’ LISTENING PORTS
##
## listen: ports on which the new ejabberd will listen, which service is controlled by each
## from and what styles to start with.
##
Listen:
–
Port: 5222
Module: ejabberd_c2s
Certificate file: “C:\\Users\\dharmendras\\AppData\\Roaming\\ejabberd\\conf\\server.pem”
wince: correct
## To apply TLS encryption for client connections,
## Implement this instead of this “starttls” option:
## starttls_required: true
##
## OpenSSL user options
##
Log options:
– “no_sslv3”
## – “no_tlsv1”
max_stanza_size: 65536
Formatter: c2s_shaper
Access: c2s
–
Port: 5269
Module: ejabberd_s2s_in
max_stanza_size: 131072
Formatter: s2s_shaper
##
## ejabberd_service: interaction with external components (transports, …)
##
## For instance
port ##: 8888
## Module: ejabberd_service
## Access: all
## shaper_rule: fast
##ip: “127.0.0.1”
## Master:
## “icq.example.org”:
## Password: “secret”
## “sms.example.org”:
## Password: “secret”
##
## ejabberd_stun: process n requestsSTUN bindings
##
## one .
port##: 3478
## Transport: UDP
## module: ejabberd_stun
##
## To process XML-RPC requests that provide administrator credentials:
##
## Where
port ##: 4560
## module: ejabberd_xmlrpc
## maxsessions: 10
## Delay: 5000
## access commands:
## Administrator :
## commands: all
## Option: []
–
Port: 5280
Module: ejabberd_http
Request_handler:
“/websocket”: ejabberd_http_ws
## “/pub/archive”: mod_http_fileserver
web_admin: true
http_bind: true
## list: true
captcha: false
###. ==================
###’ GLOBAL S2S OPTIONS
##
## s2s_use_starttls: STARTTLS+ includes a callback, as in S2S connections.
## Valid values: required optional modified values required_trusted
## You must provide a certificate file.
##
## s2s_use_starttls: optional
##
## s2s_certfile: Specify a certificate file.
##
## s2s_certfile: “C:\\Users\\darmendras\\AppData\\Roaming\\ejabberd\\conf\\server.pem”
## Custom options
##
## openssl s2s_protocol_options:
##3. “no_sslv3”
## one . “no_tlsv1”
##
## domain_certfile: Specify a different certificate appropriate for each provided hostname.
##
##host_config:
## “example.org”:
## domain_certfile: “C:\\Users\\darmendras\\AppData\\Roaming\\ejabberd\\conf\\example_org.pem”
## “example.com”:
## domain_certfile: “C:\\Users\\darmendras\\AppData\\Roaming\\ejabberd\\conf\\example_com.pem”##
## S2S whitelist or blacklist
##
## Default s2s policy with undefined hosts.
##
##s2s
##
## s2s_access: Outgoing S2S parameters
##
## Preferred address families (which must be successfully tried first) and connection timeout
## in milliseconds.
##
## outgoing_s2s_families:
##IPv4
## – – ipv6
## outgoing_s2s_timeout: 10000
###. ==============
###’ AUTHENTICATION
##
## auth_method: user authentication method.
## The default method is internal.
## If you want to use this method differently,
## comment out this line and resolve the correct ones.
##
auth_method: store inside
##
## Your current or hashed SCRAM simple passwords:
## auth_password_format: simple
## auth_password_format: scrum
##
## Set a specific FQDN if Ejabberd doesn’t show it:
## FQDN: “server3.example.com”
##
## Authenticate with an external make script
## make sure the script is an ejabberd executable.
##
## auth_method: external
##extauth_program: “/path/to/authentication/script”
##
## Authenticate with Remember sql
## to connect the database in the then section.
##
## authorization_method: sql
##
## Authenticate with PAM
##
## auth_method: pam
## pam_service: ” pamservice_name”
##
## Authentication via LDAP
##
## auth_method: ldap
##
## List of LDAP servers:
##ldap_servers:
## – “localhost”
##
## Encrypt connection to LDAP servers:
##ldap_encrypt: no
## ldap_encrypt: tls
##
## Port for connecting to the LDAP server:
##ldap_port: 389
##ldap_port: 636
##
## LDAP manager:
## ldap_rootdn: “dc=example,dc=com”
##
## LDAP manager password:
## ldap_password: “******”
##
## LDAP directory search base:
## ldap_base: “dc=example,dc=com”
##
## An LDAP attribute containing the player ID:
##ldap_uid:
## – “mail”: “%u@mail.example.org”
##
## LDAP filter:
## ldap_filter: “(objectClass=shadowAccount)”
##
Anonymous login support:
auth_method: anonymous
log_anonymous: sasl_anon
allow_multiple_connections: Exactly
##
##host_config:
##