Postfix server stopped sending external email - macos
We have a postfix server running on MAC. Sometime yesterday our server stopped sending external email. We can send and receive internally, and we can receive from external. When we sent emails to other domains, though, they just disappear...
We've been working on this all day with no luck... Anyone have any thoughts?
Thanks!
--Charles
Here is our postconf -n
biff = no
command_directory = /usr/sbin
config_directory = /Library/Server/Mail/Config/postfix
content_filter =
daemon_directory = /usr/libexec/postfix
data_directory = /Library/Server/Mail/Data/mta
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5
dovecot_destination_recipient_limit = 1
enable_server_options = yes
header_checks =
html_directory = /usr/share/doc/postfix/html
imap_submit_cred_file = /Library/Server/Mail/Config/postfix/submit.cred
inet_interfaces = all
inet_protocols = all
local_recipient_maps =
mail_owner = _postfix
mailbox_size_limit = 0
mailbox_transport = dovecot
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
message_size_limit = 20971520
mydestination =
mydomain = ourdomain.com
mydomain_fallback = localhost
myhostname = relay.ourdomain.com
mynetworks = 127.0.0.0/8 192.168.0.0/16 [::1]/128 [2001:240:587::]/64
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /Library/Server/Mail/Data/spool
readme_directory = /usr/share/doc/postfix
recipient_canonical_maps = hash:/Library/Server/Mail/Config/postfix/system_user_maps
recipient_delimiter = +
relayhost =
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtp_sasl_auth_enable = no
smtp_sasl_password_maps =
smtpd_client_restrictions = permit_mynetworks permit_sasl_authenticated permit
smtpd_enforce_tls = no
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_pw_server_security_options = cram-md5,digest-md5,login,plain
smtpd_recipient_limit = 1000
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination permit
smtpd_sasl_auth_enable = yes
smtpd_tls_CAfile = /etc/certificates/relay.ourdomain.com.028E0388CA5957E50A13248BAD1711F41C84F596.chain.pem
smtpd_tls_cert_file = /etc/certificates/relay.ourdomain.com.028E0388CA5957E50A13248BAD1711F41C84F596.cert.pem
smtpd_tls_ciphers = medium
smtpd_tls_exclude_ciphers = SSLv2, aNULL, ADH, eNULL
smtpd_tls_key_file = /etc/certificates/relay.ourdomain.com.028E0388CA5957E50A13248BAD1711F41C84F596.key.pem
smtpd_use_pw_server = yes
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
use_sacl_cache = yes
virtual_alias_domains = $virtual_alias_maps hash:/Library/Server/Mail/Config/postfix/virtual_domains
virtual_alias_maps = $virtual_maps hash:/Library/Server/Mail/Config/postfix/virtual_users
postconf: warning: /Library/Server/Mail/Config/postfix//main.cf: unused parameter: default_destination_recipient_limit:=1000
relay:~ localadmin$
Looks like the issue was being caused by a typo...
I kept getting the error:
unused parameter: default_destination_recipient_limit
Upon looking at the master.cf file, I found that it had:
default_destination_recipient_limit: = 1000
Note the colon in that line. Fixed an the issue has gone away.
Related
Error with the message "Cannot cast (inet::physicallayer::Ieee80211DimensionalTransmission*) to type 'const inet::physicallayer::IScalarSignal *'"
I use Omnet++ and Inet 4.4, I want to simulate a scenario to investigate the effect of interference, which is as follows: In a network consisting of two pairs of nodes including a node called source and a node called destination, in which node source sends packets to node destination and is tuned in channel 2 of Ieee802.11b/g, let's examine the second pair consisting of node Node1 and node Node2, which node Node1 sends packets to node Node 4 and is tuned in channel 4. But recently a problem appear very often and the simulations are stopped, the error is this: check_and_cast(): Cannot cast (inet::physicallayer::Ieee80211DimensionalTransmission*) to type 'const inet::physicallayer::IScalarSignal *' -- in module (inet::physicallayer::Ieee80211Radio) AnalogModelShowcaseDistanceNetworkRM.source.wlan[1].radio (id=200), at t=0.001s, event #24 My omnetpp.ini is as: [Config Distance] network = AnalogModelShowcaseDistanceNetworkRM sim-time-limit = 5s # Maryam **.radio.packetErrorRate.result-recording-modes = +vector # Maryam **.radio.bitErrorRate.result-recording-modes = +vector # application parameters *.source.numApps = 1 *.source.app[0].typename = "UdpBasicApp" *.source.app[*].destAddresses = "destination" *.source.app[*].destPort = 1000 *.source.app[*].messageLength = 1000byte *.source.app[*].sendInterval = 1ms *.destination.numApps = 1 *.destination.app[0].typename = "UdpSink" *.destination.app[*].localPort = 1000 *.Node1.numApps = 1 *.Node1.app[0].typename = "UdpBasicApp" *.Node1.app[*].destAddresses = "Node2" *.Node1.app[*].destPort = 1001 *.Node1.app[*].messageLength = 1000byte *.Node1.app[*].sendInterval = 1ms *.Node2.numApps = 1 *.Node2.app[0].typename = "UdpSink" *.Node2.app[*].localPort = 1001 *.source.numWlanInterfaces = 2 *.destination.numWlanInterfaces = 2 *.Node1.numWlanInterfaces = 2 *.Node2.numWlanInterfaces = 2 *.source.wlan[*].radio.typename = "Ieee80211DimensionalRadio" *.destination.wlan[*].radio.typename = "Ieee80211DimensionalRadio" *.Node*.wlan[*].radio.typename = "Ieee80211DimensionalRadio" *.source.wlan[*].radio.centerFrequency = 2.412GHz *.source.wlan[*].radio.bandwidth = 2MHz *.source.wlan[*].radio.transmitter.power = 2mW *.source.wlan[*].radio.transmitter.bitrate = 2Mbps *.source.wlan[*].radio.transmitter.preambleDuration = 0s *.source.wlan[*].radio.transmitter.headerLength = 96b *.source.wlan[*].radio.transmitter.modulation = "BPSK" *.source.wlan[*].radio.receiver.sensitivity = -85dBm *.source.wlan[*].radio.receiver.energyDetection = -85dBm *.source.wlan[*].radio.receiver.snirThreshold = 4dB *.destination.wlan[*].radio.centerFrequency = 2.412GHz *.destination.wlan[*].radio.bandwidth = 2MHz *.destination.wlan[*].radio.transmitter.power = 2mW *.destination.wlan[*].radio.transmitter.bitrate = 2Mbps *.destination.wlan[*].radio.transmitter.preambleDuration = 0s *.destination.wlan[*].radio.transmitter.headerLength = 96b *.destination.wlan[*].radio.transmitter.modulation = "BPSK" *.destination.wlan[*].radio.receiver.sensitivity = -85dBm *.destination.wlan[*].radio.receiver.energyDetection = -85dBm *.destination.wlan[*].radio.receiver.snirThreshold = 4dB *.Node*.wlan[*].radio.centerFrequency = 2.412GHz *.Node*.wlan[*].radio.bandwidth = 2MHz *.Node*.wlan[*].radio.transmitter.power = 2mW *.Node*.wlan[*].radio.transmitter.bitrate = 2Mbps *.Node*.wlan[*].radio.transmitter.preambleDuration = 0s *.Node*.wlan[*].radio.transmitter.headerLength = 96b *.Node*.wlan[*].radio.transmitter.modulation = "BPSK" *.Node*.wlan[*].radio.receiver.sensitivity = -85dBm *.Node*.wlan[*].radio.receiver.energyDetection = -85dBm *.Node*.wlan[*].radio.receiver.snirThreshold = 4dB *.source.wlan[0].radio.channelNumber = 2 *.destination.wlan[0].radio.channelNumber = 2 *.Node1.wlan[0].radio.channelNumber = 4 *.Node2.wlan[0].radio.channelNumber = 4 # mobility parameters *.destination.mobility.typename = "LinearMobility" *.destination.mobility.initialMovementHeading = 0deg *.destination.mobility.speed = 200mps *.destination.mobility.constraintAreaMinX = 500m *.destination.mobility.constraintAreaMaxX = 1200m # wlan *.source.**.transmitter.power = 12mW *.source.**.displayCommunicationRange = true **.backgroundNoise.power = -105dBm **.wlan*.mac.*.rateSelection.dataFrameBitrate = 54Mbps **.wlan*.mac.dcf.channelAccess.pendingQueue.packetCapacity = 14 # visualizer parameters *.visualizer.*.numStatisticVisualizers = 2 *.visualizer.*.statisticVisualizer[0].signalName = "packetSentToUpper" *.visualizer.*.statisticVisualizer[0].statisticExpression = "packetErrorRate" *.visualizer.*.statisticVisualizer[0].sourceFilter = "*.destination.wlan[*].radio" *.visualizer.*.statisticVisualizer[0].format = "packetErrorRate(Maryam): %v" *.visualizer.*.statisticVisualizer[1].signalName = "packetSentToUpper" *.visualizer.*.statisticVisualizer[1].statisticExpression = "minimumSnir" *.visualizer.*.statisticVisualizer[1].sourceFilter = "*.destination.wlan[*].radio" *.visualizer.*.statisticVisualizer[1].format = "SNIR(Maryam): %v" *.visualizer.*.statisticVisualizer[1].placementHint = "topLeft" *.visualizer.*.dataLinkVisualizer[0].displayLinks = true *.visualizer.*.packetDropVisualizer[0].displayPacketDrops = true *.visualizer.*.packetDropVisualizer[0].nodeFilter = "destination" *.visualizer.*.packetDropVisualizer[0].labelFormat = "(Maryam) %r" *.visualizer.*.infoVisualizer[0].displayInfos = true *.visualizer.*.infoVisualizer[0].modules = "*.destination.app[0]" How do I solve this?
You need to set the radioMedium type to dimensional as well radioMedium: Ieee80211DimensionalRadioMedium { parameters: #display("p=62.247997,287.14398"); } In the NED file.
converting UTF-8 string to ASCII in pure LUA
I have a question about sending and receiving data with special chars. (German Umlauts) When I send the string "Café Zeezicht" with the code below, then on the server-side the string is oke. But how can I receive and decode the receiving data that containing the same chars? Now it look likes "Caf? Zeezicht" I am searching for a pure LUA function, because I have no ability to load libraries. ------------------------------------------------------------ -- Function voor converting ASCII naar UTF8 ------------------------------------------------------------ -- return char as utf8 string local function CodeToUTF8 (Unicode) if (Unicode == nil) then return "" end if (Unicode < 0x20) then return ' '; end; if (Unicode <= 0x7F) then return string.char(Unicode); end; if (Unicode <= 0x7FF) then local Byte0 = 0xC0 + math.floor(Unicode / 0x40); local Byte1 = 0x80 + (Unicode % 0x40); return string.char(Byte0, Byte1); end; if (Unicode <= 0xFFFF) then local Byte0 = 0xE0 + math.floor(Unicode / 0x1000); local Byte1 = 0x80 + (math.floor(Unicode / 0x40) % 0x40); local Byte2 = 0x80 + (Unicode % 0x40); return string.char(Byte0, Byte1, Byte2); end; return ""; -- ignore UTF-32 for the moment end; -- convert ascii string to utf8 string function AsciiToUTF8(str) result = "" for i = 1, #str do result = result .. CodeToUTF8(string.byte(str, i, i+1)) end return result end ------------------------------------------------------------ -- Einde Function voor converting ASCII naar UTF8 ------------------------------------------------------------
local char, byte, pairs, floor = string.char, string.byte, pairs, math.floor local table_insert, table_concat = table.insert, table.concat local unpack = table.unpack or unpack local function unicode_to_utf8(code) -- converts numeric UTF code (U+code) to UTF-8 string local t, h = {}, 128 while code >= h do t[#t+1] = 128 + code%64 code = floor(code/64) h = h > 32 and 32 or h/2 end t[#t+1] = 256 - 2*h + code return char(unpack(t)):reverse() end local function utf8_to_unicode(utf8str, pos) -- pos = starting byte position inside input string (default 1) pos = pos or 1 local code, size = utf8str:byte(pos), 1 if code >= 0xC0 and code < 0xFE then local mask = 64 code = code - 128 repeat local next_byte = utf8str:byte(pos + size) or 0 if next_byte >= 0x80 and next_byte < 0xC0 then code, size = (code - mask - 2) * 64 + next_byte, size + 1 else code, size = utf8str:byte(pos), 1 end mask = mask * 32 until code < mask end -- returns code, number of bytes in this utf8 char return code, size end local map_1252_to_unicode = { [0x80] = 0x20AC, [0x81] = 0x81, [0x82] = 0x201A, [0x83] = 0x0192, [0x84] = 0x201E, [0x85] = 0x2026, [0x86] = 0x2020, [0x87] = 0x2021, [0x88] = 0x02C6, [0x89] = 0x2030, [0x8A] = 0x0160, [0x8B] = 0x2039, [0x8C] = 0x0152, [0x8D] = 0x8D, [0x8E] = 0x017D, [0x8F] = 0x8F, [0x90] = 0x90, [0x91] = 0x2018, [0x92] = 0x2019, [0x93] = 0x201C, [0x94] = 0x201D, [0x95] = 0x2022, [0x96] = 0x2013, [0x97] = 0x2014, [0x98] = 0x02DC, [0x99] = 0x2122, [0x9A] = 0x0161, [0x9B] = 0x203A, [0x9C] = 0x0153, [0x9D] = 0x9D, [0x9E] = 0x017E, [0x9F] = 0x0178, [0xA0] = 0x00A0, [0xA1] = 0x00A1, [0xA2] = 0x00A2, [0xA3] = 0x00A3, [0xA4] = 0x00A4, [0xA5] = 0x00A5, [0xA6] = 0x00A6, [0xA7] = 0x00A7, [0xA8] = 0x00A8, [0xA9] = 0x00A9, [0xAA] = 0x00AA, [0xAB] = 0x00AB, [0xAC] = 0x00AC, [0xAD] = 0x00AD, [0xAE] = 0x00AE, [0xAF] = 0x00AF, [0xB0] = 0x00B0, [0xB1] = 0x00B1, [0xB2] = 0x00B2, [0xB3] = 0x00B3, [0xB4] = 0x00B4, [0xB5] = 0x00B5, [0xB6] = 0x00B6, [0xB7] = 0x00B7, [0xB8] = 0x00B8, [0xB9] = 0x00B9, [0xBA] = 0x00BA, [0xBB] = 0x00BB, [0xBC] = 0x00BC, [0xBD] = 0x00BD, [0xBE] = 0x00BE, [0xBF] = 0x00BF, [0xC0] = 0x00C0, [0xC1] = 0x00C1, [0xC2] = 0x00C2, [0xC3] = 0x00C3, [0xC4] = 0x00C4, [0xC5] = 0x00C5, [0xC6] = 0x00C6, [0xC7] = 0x00C7, [0xC8] = 0x00C8, [0xC9] = 0x00C9, [0xCA] = 0x00CA, [0xCB] = 0x00CB, [0xCC] = 0x00CC, [0xCD] = 0x00CD, [0xCE] = 0x00CE, [0xCF] = 0x00CF, [0xD0] = 0x00D0, [0xD1] = 0x00D1, [0xD2] = 0x00D2, [0xD3] = 0x00D3, [0xD4] = 0x00D4, [0xD5] = 0x00D5, [0xD6] = 0x00D6, [0xD7] = 0x00D7, [0xD8] = 0x00D8, [0xD9] = 0x00D9, [0xDA] = 0x00DA, [0xDB] = 0x00DB, [0xDC] = 0x00DC, [0xDD] = 0x00DD, [0xDE] = 0x00DE, [0xDF] = 0x00DF, [0xE0] = 0x00E0, [0xE1] = 0x00E1, [0xE2] = 0x00E2, [0xE3] = 0x00E3, [0xE4] = 0x00E4, [0xE5] = 0x00E5, [0xE6] = 0x00E6, [0xE7] = 0x00E7, [0xE8] = 0x00E8, [0xE9] = 0x00E9, [0xEA] = 0x00EA, [0xEB] = 0x00EB, [0xEC] = 0x00EC, [0xED] = 0x00ED, [0xEE] = 0x00EE, [0xEF] = 0x00EF, [0xF0] = 0x00F0, [0xF1] = 0x00F1, [0xF2] = 0x00F2, [0xF3] = 0x00F3, [0xF4] = 0x00F4, [0xF5] = 0x00F5, [0xF6] = 0x00F6, [0xF7] = 0x00F7, [0xF8] = 0x00F8, [0xF9] = 0x00F9, [0xFA] = 0x00FA, [0xFB] = 0x00FB, [0xFC] = 0x00FC, [0xFD] = 0x00FD, [0xFE] = 0x00FE, [0xFF] = 0x00FF, } local map_unicode_to_1252 = {} for code1252, code in pairs(map_1252_to_unicode) do map_unicode_to_1252[code] = code1252 end function string.fromutf8(utf8str) local pos, result_1252 = 1, {} while pos <= #utf8str do local code, size = utf8_to_unicode(utf8str, pos) pos = pos + size code = code < 128 and code or map_unicode_to_1252[code] or ('?'):byte() table_insert(result_1252, char(code)) end return table_concat(result_1252) end function string.toutf8(str1252) local result_utf8 = {} for pos = 1, #str1252 do local code = str1252:byte(pos) table_insert(result_utf8, unicode_to_utf8(map_1252_to_unicode[code] or code)) end return table_concat(result_utf8) end Usage: local str1252 = "1\128" -- "one euro" in latin-1 local str_utf8 = str1252:toutf8() -- "1\226\130\172" -- one euro in utf-8 local str1252_2 = str_utf8:fromutf8()
Apache flume Regex Extractor Interceptor
I am trying to append the header using Regex Extractor Interceptor but it is not working. I am not sure where I am going wrong. Below is my config file content : agent.channels = CH agent.channels.CH.type = memory agent.channels.CH.capacity = 1000 agent.sources = SRC agent.sources.SRC.type = avro agent.sources.SRC.bind = localhost.localdomain agent.sources.SRC.port = 2222 agent.sources.SRC.channels = CH agent.sources.SRC.interceptors = i1 agent.sources.SRC.interceptors.i1.type = regex_extractor agent.sources.SRC.interceptors.i1.regex = ^.*(aa).*$ agent.sources.SRC.interceptors.i1.serializers = t1 agent.sources.SRC.interceptors.i1.serializers.t1.name = A: agent.sinks = SNK agent.sinks.SNK.type = hdfs agent.sinks.SNK.hdfs.fileType = DataStream agent.sinks.SNK.channel = CH agent.sinks.SNK.hdfs.path = hdfs://localhost.localdomain:8020/user/cloudera/test/fl1/ When i tried Regex Extractor Interceptor with multiplexing channel selector,the events containing "aa" were routed to "/user/cloudera/test/fl1/" and events containing "bb" were routed to "/user/cloudera/test/fl2/" but headers were not appended in this case too. Below is my config file content : agent.channels = CH1 CH2 agent.channels.CH1.type = CHory agent.channels.CH1.capacity = 100 agent.channels.CH2.type = CHory agent.channels.CH2.capacity = 100 agent.sources = SRC agent.sources.SRC.channels = ch1 agent.sources.SRC.type = avro agent.sources.SRC.bind = localhost.localdomain agent.sources.SRC.port = 2222 agent.sources.SRC.channels = CH1 CH2 agent.sources.SRC.interceptors = i1 agent.sources.SRC.interceptors.i1.type = regex_extractor agent.sources.SRC.interceptors.i1.regex = ^.*(aa|bb).*$ agent.sources.SRC.interceptors.i1.serializers = t1 agent.sources.SRC.interceptors.i1.serializers.t1.name = type1 agent.sources.SRC.selector.type = multiplexing agent.sources.SRC.selector.header = type1 agent.sources.SRC.selector.mapping.aa = CH1 agent.sources.SRC.selector.default = CH2 agent.sinks = SNK1 SNK2 agent.sinks.SNK1.type = hdfs agent.sinks.SNK1.hdfs.fileType = DataStream agent.sinks.SNK1.channel = CH1 agent.sinks.SNK1.hdfs.path = hdfs://localhost.localdomain:8020/user/cloudera/test/fl1/ agent.sinks.SNK2.type = hdfs agent.sinks.SNK2.hdfs.fileType = DataStream agent.sinks.SNK2.channel = CH2 agent.sinks.SNK2.hdfs.path = hdfs://localhost.localdomain:8020/user/cloudera/test/fl2/ Any help is appreciated. With Regards
connecting new kannel box to opensmppbox
i have been trying to connect a new box (17.x.x.x)which i just installed kannel on it. i already have a running kannel on another box (19.x.x.x) which can send sms and recieve. i installed opensmppbox on the 19.x.x.x . when i start opensmppbox it shows waiting for incomming connections. then when i start kannel on the 17.x.x.x it connects to the smsbox but gives an error connecting to the opensmppbox. i have spend too ling a time on this. how can i solve this problem. here is my kannel.conf for the 17.x.x.x # Core group = core admin-port=9000 wapbox-port=9001 smsbox-port=9002 admin-password=Wass status-password=Wing dlr-storage=mysql log-file="/var/log/kannel/bearerbox.log" log-level=0 access-log="/var/log/kannel/access.log" access-log-clean=true access-log-format="%t %l [SMSC:%i] [SVC:%n] [ACT:%A] [BINF:%B] [FID:%F][from:%p] [to:%P] [flags:%m:%c:%M:%C:%d] [msg:%L:%b] [udh:%U:%u]" box-allow-ip="*.*.*.*" unified-prefix="0234,+234,00234" ####################################### # WAPBOX box group = wapbox bearerbox-host = 127.0.0.1 log-file = "/var/log/kannel/wapbox.log" ####################################### #SMSC group - For 38276 group = smsc smsc = smpp smsc-id = smppbox host = 192.101.17.30 port = 2775 transceiver-mode = true smsc-username = "hot" smsc-password = "kkkk" interface-version = 34 system-type = my-number=38260 msg-id-type = 0x03 alt-charset = GSM #denied-smsc-id = #source-addr-ton = 0 #source-addr-npi = 0 #dest-addr-ton = 0 #dest-addr-npi = 0 allowed-prefix-regex = ^\+?(0|234)((8[01]2)|(808)|(7[01]8)) ####################################### # SMSBOX group = smsbox bearerbox-host = localhost smsbox-id = vsmsc sendsms-port = 9009 sendsms-url = "/cgi-bin/sendsms" global-sender = cingular reply-couldnotfetch = "Could not temporarily get content...please try again" sendsms-chars = "0123456789 +-" http-request-retry = 1 reply-emptymessage = "" http-queue-delay = 30 max-pending-requests = 1000 log-file = "/var/log/kannel/smsbox.log" log-level = 0 access-log = "/var/log/kannel/smsbox-access.log" ####################################### # DATABASE group = mysql-connection id=mydlr host=localhost username=root password=Wind database=inm max-connections=1 group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc below is the opensmppbox.conf # group = core dlr-storage = internal group = opensmppbox opensmppbox-id = smppbox opensmppbox-port = 2775 bearerbox-host = localhost bearerbox-port = 9000 log-level = 0 log-file = /var/log/kannel/opensmppbox/opensmppbox.log our-system-id = use-systemid-as-smsboxid = true route-to-smsc =Singtel smpp-logins = "/etc/kannel/smpplogins.txt" #route-to-smsc = emitsms group = mysql-connection id = mydlr host = localhost username = root password = Wing database = inm max-connections = 1 group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxcid below is the smpplogins.txt system-id-01 password-01 system-type-01 client-02 password-02 vma 127.0.0.1 client-03 password-03 vma *.*.*.* hot cingul12 vma 17.x.x.x
in opensmppbox change bearerbox-port to smsbox-port of core group in kannel conf ie change 9000 to 9002 in opensmppbox conf
Need help trying to get gateway running ( mx.rpc.events::FaultEvent #0 )
I followed the setup for http://www.zamfbrowser.org/documentation.html When I access http://www.zamfbrowser.org/zamf_demo/gateway.php When I access the http://localhost/gateway.php I get this error message which There was an error loading the server's info. Error: (mx.rpc.events::FaultEvent)#0 bubbles = false cancelable = true currentTarget = (mx.rpc.remoting.mxml::RemoteObject)#1 channelSet = (mx.messaging::ChannelSet)#2 authenticated = false channelIds = (Array)#3 [0] (null) channels = (Array)#4 [0] (mx.messaging.channels::AMFChannel)#5 authenticated = false channelSets = (Array)#6 connected = false connectTimeout = -1 enableSmallMessages = true endpoint = "http://localhot/gateway.php" failoverURIs = (Array)#7 id = (null) mpiEnabled = false netConnection = (flash.net::NetConnection)#8 client = (mx.messaging.channels::AMFChannel)#5 connected = false maxPeerConnections = 8 objectEncoding = 3 proxyType = "none" uri = (null) piggybackingEnabled = false polling = false pollingEnabled = true pollingInterval = 3000 protocol = "http" reconnecting = false recordMessageSizes = false recordMessageTimes = false requestTimeout = -1 uri = "http://localhot/gateway.php" url = "http://localhot/gateway.php" useSmallMessages = false clustered = false connected = false currentChannel = (mx.messaging.channels::AMFChannel)#5 heartbeatInterval = 0 initialDestinationId = (null) messageAgents = (Array)#9 [0] (mx.rpc::AsyncRequest)#10 authenticated = false autoConnect = true channelSet = (mx.messaging::ChannelSet)#2 clientId = (null) connected = false defaultHeaders = (null) destination = "AMF" id = "1D3472F3-161B-0099-5187-B4A799F5FC4C" priority = -1 reconnectAttempts = 0 reconnectInterval = 0 requestTimeout = -1 subtopic = "" concurrency = "multiple" convertParametersHandler = (null) convertResultHandler = (null) destination = "AMF" endpoint = "http://localhot/gateway.php" getServices = (mx.rpc.remoting.mxml::Operation)#11 argumentNames = (Array)#12 arguments = (Object)#13 concurrency = "multiple" lastResult = (null) makeObjectsBindable = true name = "getServices" operationManager = (null) properties = (null) resultElementType = (null) resultType = (null) service = (mx.rpc.remoting.mxml::RemoteObject)#1 showBusyCursor = true makeObjectsBindable = true managers = (null) operations = (Object)#14 getServices = (mx.rpc.remoting.mxml::Operation)#11 requestTimeout = -1 showBusyCursor = true source = "ZendAmfServiceBrowser" eventPhase = 2 fault = (mx.rpc::Fault)#15 content = (Object)#16 errorID = 0 faultCode = "Client.Error.DeliveryInDoubt" faultDetail = "Channel disconnected before an acknowledgement was received" faultString = "Channel disconnected" message = "faultCode:Client.Error.DeliveryInDoubt faultString:'Channel disconnected' faultDetail:'Channel disconnected before an acknowledgement was received'" name = "Error" rootCause = (mx.messaging.events::ChannelEvent)#17 bubbles = false cancelable = false channel = (mx.messaging.channels::AMFChannel)#5 channelId = (null) connected = false currentTarget = (mx.messaging.channels::AMFChannel)#5 eventPhase = 2 reconnecting = true rejected = false target = (mx.messaging.channels::AMFChannel)#5 type = "channelDisconnect" headers = (null) message = (mx.messaging.messages::ErrorMessage)#18 body = (Object)#16 clientId = (null) correlationId = "3407DB24-F4AD-C634-0E23-B4A799F60FC9" destination = "" extendedData = (null) faultCode = "Client.Error.DeliveryInDoubt" faultDetail = "Channel disconnected before an acknowledgement was received" faultString = "Channel disconnected" headers = (Object)#19 messageId = "FB5C929F-69E4-8573-F628-B4A79AFE514B" rootCause = (mx.messaging.events::ChannelEvent)#17 timestamp = 0 timeToLive = 0 messageId = "FB5C929F-69E4-8573-F628-B4A79AFE514B" statusCode = 0 target = (mx.rpc.remoting.mxml::RemoteObject)#1 token = (mx.rpc::AsyncToken)#20 message = (mx.messaging.messages::RemotingMessage)#21 body = (Array)#22 clientId = (null) destination = "AMF" headers = (Object)#23 DSEndpoint = (null) DSId = "nil" messageId = "3407DB24-F4AD-C634-0E23-B4A799F60FC9" operation = "getServices" source = "ZendAmfServiceBrowser" timestamp = 0 timeToLive = 0 responders = (null) result = (null) type = "fault" A lot of information and I don't really know what any of it means When accessing http://localhost/gateway.php I get the message Zend Amf Endpoint
This seemed to be a windows 7 issue, the same code worked on my linux server, although I didn't solve it I'll just move on. thanks M$