Discovery request received on wrong VLAN

I am setting up a new 4404 with my existing WLAN. I have a combo for 1100 and 1200 APs, on two different VLANs, with WDS on each VLAN and a WLSE. One of the VLANs is on the same subnet was the WLC management port. The other WLAN VLAN is not. I am able to join the VLAN on the same subnet to my WLC but when I convert one of my auto APs on the other VLAN, it converts but never joins my WLC. If I run a debug on the WLC I get the following.
Fri Aug 1 12:38:56 2008: 00:17:0f:37:68:60 Received LWAPP DISCOVERY REQUEST from AP 00:17:0f:37:68:60 to ff:ff:ff:ff:ff:ff on port '1'
Fri Aug 1 12:38:56 2008: Discovery Request received on wrong VLAN '160' on interface '1', management VLAN = '0' - in L3 mode, dropping the packet.
My WLC is on code 5.0.148. All of my APs have static IP addresses. I have setup DNS but NOT DHCP since all of them have static IP and that option 42 still confuses me. Any thoughts? My 4506 is set to trunk the port the WLC is on. I even tried to only apply the two VLANs to that port. My WLC can ping the IP of the AP on the different VLAN and my AP can ping the WLC.

You need to configure the native vlan on the trunk port to vlan 160. Looks like the packet is being tagged as vlan 60 and your management interface is set to '0' which is untagged.

Similar Messages

  • WLC 5508 - Ignoring Primary discovery request received on non-management interface (2) from AP

    Hello,
    Im receving this error on my syslog server:
    capwap_ac_sm.c:1443 Ignoring Primary discovery request received on non-management interface (2) from AP
    already checked the configuration and everything seems ok. They are registered and with clients associated.
    What could be the cause?
    Thanks in advance,
    Chris

    Thanks Scott for your fast response.
    No, I'm not using LAG.
    What do you mean with separate AP Managers?
    I have one AP Manager on vlan 100 (10.100.0.25) and the Management interface on the same Vlan (10.100.0.26)
    And users use vlan 150 (10.150.0.x).
    The switch port where the AP is plugged is configured with:
    interface GigabitEthernet2/0/20
    switchport access vlan 100
    switchport mode access
    spanning-tree portfast
    On WLC I can also check the AP history:
    Last Error Occurred Reason            Layer 3 discovery request not received on management interface

  • WLC 5508 Flexconnect dhcp request landing on wrong vlan/dhcp pool

    Hi,
    We've recently setup our 5508 to work with Flexconnect. The 5508's run on 8.0.100, they are setup redundant. On the remote site we've setup a local dhcp pool for the various WLAN's/VLAN's. The AP's have registered with the WLC succesfully.
    We then setup the flexconnect groups, added the ap's and configured 1 vlan mapping to it's corresponding wlan id. Alsio setup the wlan, made it so it's using flexconnect, bound it to the interface which will allow it to reach the local dhcp machine.
    User can see the SSID, can login using the password, but they are awarded an ip addres from a different dhcp pool, meant for antoher vlan than the bonding in the flexconnect group is indicating.
    When I check the local dhcp pool for bindings on the mac address of a machine I can see multiple bindings. At 1 point I had 3 bindings in different pools, 1 on the native vlan for the AP, 1 on the vlan it should have and 1 on another vlan which wasn't configured anywhere in the flexconnect setup.
    Does anybody have a clue how and why this is happening?

    Just to add to Salma... All your AP's in FlexConnect are most likely connected to a trunk port. Make sure the native Vlan is defined and the vlan's are allowed on the trunk port. Then you need to verify that the AP's native Vlan and WLAN to Vlan mappings are correct. Seems like you might have some AP's that are not defined properly and that's why users that connect to a WLAN is getting in the wrong subnet. 
    Scott

  • 3702i AP's not Joining WLC - Layer 3 discovery request not received on management VLAN

    Hi Guys, 
    This is a follow up post to this thread: https://supportforums.cisco.com/discussion/12400481/3702i-not-joint-2504
    Have been playing around with my AP's and made sure the time is correct on all the devices ( WLC and Switch). I have also moved the AP's to the same Vlan as the management IP of the WLC. 
    if I move the AP's to the same Vlan as the WLC they join and are happy, as soon as I move them to a different Vlan they cant join and there time goes back to the default plus they do not seem to save the WLC details to flash but still remember the test names I give them.
    it appears that option 43 is working fine as I can see it look for the WLC IP and I have done some trouble shooting on the WLC and it looks like it see's the AP but doesn't except it.
    please see below for the boot up of the AP and the WLC logs: 
    AP 
    IIOS Bootloader - Starting system.
    *** deleted for breverity ***** 
    Loading "flash:/ap3g2-k9w8-mx.153-3.JA1/ap3g2-k9w8-mx.153-3.JA1"...#########################
    File "flash:/ap3g2-k9w8-mx.153-3.JA1/ap3g2-k9w8-mx.153-3.JA1" uncompressed and installed, entry point: 0x2003000
    executing...
    Secondary Bootloader - Starting system.
    Montserrat Board
    *** deleted for breverity ***** 
    Boot CMD: 'boot  flash:/ap3g2-k9w8-mx.153-3.JA1/ap3g2-k9w8-xx.153-3.JA1;flash:/ap3g2-k9w8-mx.153-3.JA1/ap3g2-k9w8-xx.153-3.JA1'
    Loading "flash:/ap3g2-k9w8-mx.153-3.JA1/ap3g2-k9w8-xx.153-3.JA1"...###############################################
    File "flash:/ap3g2-k9w8-mx.153-3.JA1/ap3g2-k9w8-xx.153-3.JA1" uncompressed and installed, entry point: 0x1003000
    executing...
                  *** deleted for breverity ***** 
    cisco AIR-CAP3702I-Z-K9 (PowerPC) processor (revision A0) with 376810K/134656K bytes of memory.
    Processor board ID FGL1838X4T1
    PowerPC CPU at 800Mhz, revision number 0x2151
    Last reset from power-on
    LWAPP image version 8.0.110.0
    1 Gigabit Ethernet interface
    2 802.11 Radios
    32K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address: F4:4E:05:B7:1E:84
    Part Number                          : 73-15243-01
    PCA Assembly Number                  : 000-00000-00
    PCA Revision Number                  :
    PCB Serial Number                    : FOC18343WPR
    Top Assembly Part Number             : 068-05054-03
    Top Assembly Serial Number           : FGL1838X4T1
    Top Revision Number                  : A0
    Product/Model Number                 : AIR-CAP3702I-Z-K9
    % Please define a domain-name first.
    Press RETURN to get started!
    *Mar  1 00:00:19.295: %SOAP_FIPS-2-SELF_TEST_IOS_SUCCESS: IOS crypto FIPS self test passed (15)
    *Mar  1 00:00:19.755: Registering HW DTLS
    *Mar  1 00:00:19.763: APAVC: Initial WLAN Buffers Given to System is  2500
    *Mar  1 00:00:19.815: APAVC:  WlanPAKs 42878 RadioPaks  42270
    *Mar  1 00:00:22.127: %LINK-6-UPDOWN: Interface GigabitEthernet0, changed state to up
    *Mar  1 00:00:26.055: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 0 (4)
    *Mar  1 00:00:26.167: Loading Power Tables from ram:/Q2.bin. Class = A
    *Mar  1 00:00:26.167:  record size of 3ss: 1168 read_ptr: 4F9698E
    *Mar  1 00:00:31.207: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 1 (4)
    *Mar  1 00:00:31.251: Loading Power Tables from ram:/Q5.bin. Class = Z
    *Mar  1 00:00:31.251:  record size of vht: 2904 read_ptr: 4F9698E
    *Mar  1 00:00:31.407: Wait until the stile protocol list is initialized.
    *Mar  1 00:00:32.651: Start STILE Activation
    *Mar  1 00:00:34.571: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to down
    *Mar  1 00:00:35.447: %SYS-5-RESTART: System restarted --
    Cisco IOS Software, C3700 Software (AP3G2-K9W8-M), Version 15.3(3)JA1, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2014 by Cisco Systems, Inc.
    Compiled Fri 19-Dec-14 11:20 by prod_rel_team
    *Mar  1 00:00:35.447: %SNMP-5-COLDSTART: SNMP agent on host Test_1 is undergoing a cold start
    *Mar  1 00:00:36.563: %LINEPROTO-5-UPDOWN: Line protocol on Interface BVI1, changed state to up
    *Mar  1 00:00:37.787: %LINK-6-UPDOWN: Interface Dot11Radio0, changed state to uplwapp_crypto_init: MIC Present and Parsed Successfully
    *Mar  1 00:00:37.939: %SSH-5-ENABLED: SSH 2.0 has been enabled
    *Mar  1 00:00:37.939: %LINK-6-UPDOWN: Interface Dot11Radio1, changed state to up
    *Mar  1 00:00:38.987: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to down
    *Mar  1 00:00:38.987: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to down
    *Mar  1 00:00:47.567: %LINK-6-UPDOWN: Interface BVI1, changed state to down
    *Mar  1 00:00:48.567: %LINEPROTO-5-UPDOWN: Line protocol on Interface BVI1, changed state to down
    *Mar  1 00:00:50.431: %SOAP_FIPS-2-SELF_TEST_HW_SUCCESS: HW crypto FIPS self test passed (2-16)
    *Mar  1 00:00:50.431: DPAA Initialization Complete
    *Mar  1 00:00:50.431: %SYS-3-HARIKARI: Process DPAA INIT top-level routine exited
    *Mar  1 00:00:51.431: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to up
    *Mar  1 00:00:53.435: %LINK-6-UPDOWN: Interface BVI1, changed state to up
    *Mar  1 00:00:53.867: Currently running a Release Image
    *Mar  1 00:00:54.287: Incorrect certificate in SHA2 PB !
    *Mar  1 00:00:54.287: Using SHA-1 signed certificate for image signing validation.
    *Mar  1 00:00:54.575: %LINEPROTO-5-UPDOWN: Line protocol on Interface BVI1, changed state to up
    *Mar  1 00:00:59.787: %DHCP-6-ADDRESS_ASSIGN: Interface BVI1 assigned DHCP address 10.1.20.2, mask 255.255.255.0, hostname Test_1
    *Mar  1 00:01:02.707: APAVC: Succeeded to activate all the STILE protocols.
    *Mar  1 00:01:02.707: APAVC: Registering with CFT
    *Mar  1 00:01:02.707: APAVC: CFT registration of delete callback succeeded
    *Mar  1 00:01:02.707: APAVC: Reattaching  Original Buffer pool for system use
    *Mar  1 00:01:02.707: Pool-ReAtach: paks 42878 radio42270
    %Default route without gateway, if not a point-to-point interface, may impact performance
    *Mar  1 00:01:10.103: AP image integrity check PASSED
    *Mar  1 00:01:10.187: Incorrect certificate in SHA2 PB !
    *Mar  1 00:01:10.203: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to reset
    *Mar  1 00:01:10.203: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to reset
    *Mar  1 00:01:11.591: %CDP_PD-4-POWER_OK: 15.4 W power - NEGOTIATED inline power source
    *Mar  1 00:01:12.691: %LINK-6-UPDOWN: Interface Dot11Radio0, changed state to up
    *Mar  1 00:01:13.691: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to up
    *Mar  1 00:01:13.947: %LINK-6-UPDOWN: Interface Dot11Radio1, changed state to up
    *Mar  1 00:01:14.947: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to up
    *Mar  1 00:01:20.211: %SYS-6-LOGGINGHOST_STARTSTOP: Logging to host 255.255.255.255 port 514 CLI Request Triggered
    Translating "CISCO-CAPWAP-CONTROLLER"...domain server (255.255.255.255)
    *Mar  1 00:01:31.215: %CAPWAP-5-DHCP_OPTION_43: Controller address 10.1.1.231 obtained through DHCP
    *Mar  1 00:02:11.599: %CDP_PD-4-POWER_OK: Full power - NEGOTIATED inline power source
    *Mar  1 00:02:11.603: %LINK-6-UPDOWN: Interface Dot11Radio0, changed state to down
    *Mar  1 00:02:11.611: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to reset
    *Mar  1 00:02:12.603: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to down
    *Mar  1 00:02:12.639: %LINK-6-UPDOWN: Interface Dot11Radio0, changed state to up
    *Mar  1 00:02:12.647: %LINK-6-UPDOWN: Interface Dot11Radio1, changed state to down
    *Mar  1 00:02:12.655: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to reset
    *Mar  1 00:02:13.639: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to up
    *Mar  1 00:02:13.647: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to down
    *Mar  1 00:02:13.699: %LINK-6-UPDOWN: Interface Dot11Radio1, changed state to up
    *Mar  1 00:02:14.699: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to up
    Not in Bound state.
    *Mar  1 00:02:44.719: %CAPWAP-3-DHCP_RENEW: Could not discover WLC. Either IP address is not assigned or assigned IP is wrong. Renewing DHCP IP.
    *Mar  1 00:02:49.839: %DHCP-6-ADDRESS_ASSIGN: Interface BVI1 assigned DHCP address 10.1.20.3, mask 255.255.255.0, hostname Test_1
    Translating "CISCO-CAPWAP-CONTROLLER"...domain server (255.255.255.255)
    *Mar  1 00:02:55.719: %CAPWAP-5-DHCP_OPTION_43: Controller address 10.1.1.231 obtained through DHCP
    Not in Bound state.
    *Mar  1 00:03:59.219: %CAPWAP-3-DHCP_RENEW: Could not discover WLC. Either IP address is not assigned or assigned IP is wrong. Renewing DHCP IP.
    *Mar  1 00:04:04.343: %DHCP-6-ADDRESS_ASSIGN: Interface BVI1 assigned DHCP address 10.1.20.4, mask 255.255.255.0, hostname Test_1
    Translating "CISCO-CAPWAP-CONTROLLER"...domain server (255.255.255.255)
    *Mar  1 00:04:10.223: %CAPWAP-5-DHCP_OPTION_43: Controller address 10.1.1.231 obtained through DHCP
    WLC: 
    isco Controller) >show time
    Time............................................. Tue Jan 27 17:44:47 2015
    Timezone delta................................... 0:0
    Timezone location................................ (GMT +8:00) HongKong, Bejing, Chongquing
    NTP Servers
        NTP Polling Interval.........................     3600
         Index     NTP Key Index                  NTP Server                  NTP Msg Auth Status
           1              0                             150.101.176.226       AUTH DISABLED
    (Cisco Controller) >show ap join stats summary  
    Incorrect input! Use 'show ap join stats summary [all/<ap-mac>]'
    (Cisco Controller) >show ap join stats summary all 
    Number of APs.............................................. 2 
    Base Mac             AP EthernetMac       AP Name                 IP Address         Status
    f4:4e:05:aa:a6:a0    f4:4e:05:94:c3:98    APf44e.0594.c398        10.1.1.22          Joined    
    f4:4e:05:b6:ce:f0    N A                  Test_1                  10.1.20.7          Not Joined
    (Cisco Controller) >show ap join stats detailed f4:4e:05:b6:ce:f0
    Sync phase statistics
    - Time at sync request received............................ Not applicable
    - Time at sync completed................................... Not applicable
    Discovery phase statistics
    - Discovery requests received.............................. 45
    - Successful discovery responses sent...................... 21
    - Unsuccessful discovery request processing................ 24
    - Reason for last unsuccessful discovery attempt........... Layer 3 discovery request not received on management VLAN
    - Time at last successful discovery attempt................ Jan 27 17:45:49.705
    - Time at last unsuccessful discovery attempt.............. Jan 27 17:45:49.705
    Join phase statistics
    - Join requests received................................... 0
    - Successful join responses sent........................... 0
    - Unsuccessful join request processing..................... 0
    - Reason for last unsuccessful join attempt................ Not applicable
    - Time at last successful join attempt..................... Not applicable
    - Time at last unsuccessful join attempt................... Not applicable
    Configuration phase statistics
    --More-- or (q)uit
    - Configuration requests received.......................... 0
    - Successful configuration responses sent.................. 0
    - Unsuccessful configuration request processing............ 0
    - Reason for last unsuccessful configuration attempt....... Not applicable
    - Time at last successful configuration attempt............ Not applicable
    - Time at last unsuccessful configuration attempt.......... Not applicable
    Last AP message decryption failure details
    - Reason for last message decryption failure............... Not applicable
    Last AP disconnect details
    - Reason for last AP connection failure.................... Not applicable
    - Last AP disconnect reason................................ Not applicable
    Last join error summary
    - Type of error that occurred last......................... Lwapp discovery request rejected
    - Reason for error that occurred last...................... Layer 3 discovery request not received on management VLAN
    - Time at which the last join error occurred............... Jan 27 17:45:49.705
    AP disconnect details
    - Reason for last AP connection failure.................... Not applicable
                                                                               Ethernet Mac : 00:00:00:00:00:00  Ip Address : 10.1.20.7
    (Cisco Controller) >show interface summary 
     Number of Interfaces.......................... 4
    Interface Name                   Port Vlan Id  IP Address      Type    Ap Mgr Guest
    ap                               LAG  20       10.1.20.231     Dynamic No     No   
    guest                            LAG  30       10.1.30.231     Dynamic No     No   
    management                       LAG  10       10.1.1.231      Static  Yes    No   
    virtual                          N/A  N/A      1.1.1.1         Static  No     No   
    SWITCH
    witch#show run
    Building configuration...
    *** deleted for breverity ***** 
    no aaa new-model
    clock timezone AWST 8
    system mtu routing 1500
    ip routing
    ip dhcp pool WAP_Pool
       network 10.1.20.0 255.255.255.0
       default-router 10.1.20.1 
       option 43 hex f104.0a01.01e7
    ip dhcp pool Clients
       network 10.1.30.0 255.255.255.0
       default-router 10.1.30.1 
       dns-server 203.0.178.191 
    ip dhcp pool test
       network 10.1.1.0 255.255.255.0
       default-router 10.1.1.1 
    crypto pki trustpoint TP-self-signed-4082587776
     enrollment selfsigned
     subject-name cn=IOS-Self-Signed-Certificate-4082587776
     revocation-check none
     rsakeypair TP-self-signed-4082587776
    *** deleted for breverity ***** 
    *** deleted for breverity ***** !
    interface FastEthernet0/3
     description *** WLC ****
     switchport trunk encapsulation dot1q
     switchport mode trunk
    interface FastEthernet0/4
     description **** AP *****
     switchport access vlan 20
     switchport mode access
     spanning-tree portfast
    interface FastEthernet0/5
     description **** AP ****
     switchport access vlan 20
     switchport mode access
     spanning-tree portfast
    interface FastEthernet0/6
    i*** deleted for breverity ***** !
    interface Vlan10
     description *** Managment ***
     ip address 10.1.1.230 255.255.255.0
    interface Vlan20
     description *** WIRELESS APS ***
     ip address 10.1.20.1 255.255.255.0
    interface Vlan30
     ip address 10.1.30.1 255.255.255.0
    ip classless
    ip route 0.0.0.0 0.0.0.0 10.1.1.1
    ip http server
    ip http secure-server
    ip sla enable reaction-alerts
    l*** deleted for breverity ***** 
    ntp clock-period 36028827
    ntp source FastEthernet0/1
    ntp server 121.0.0.42
    ntp server 202.127.210.37
    end
    I have also placed a Device in Vlan 20 and it is able to ping the WLC and the WLC can ping it s routing is working. 
    Thanks 

    Hey Scott, 
    I gave that a shot and still no luck, log's from AP boot up:
    IIOS Bootloader - Starting system.
    flash is writable
    Tide XL MB - 40MB of flash
    Xmodem file system is available.
    flashfs[0]: 67 files, 9 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 41158656
    flashfs[0]: Bytes used: 20894208
    flashfs[0]: Bytes available: 20264448
    flashfs[0]: flashfs fsck took 20 seconds.
    Base Ethernet MAC address: f4:4e:05:b7:1e:84
    Ethernet speed is 100 Mb - FULL Duplex
    Loading "flash:/ap3g2-k9w8-mx.153-3.JA1/ap3g2-k9w8-mx.153-3.JA1"...#########################
    File "flash:/ap3g2-k9w8-mx.153-3.JA1/ap3g2-k9w8-mx.153-3.JA1" uncompressed and installed, entry point: 0x2003000
    executing...
    Secondary Bootloader - Starting system.
    Montserrat Board
    40MB format
    Tide XL MB - 40MB of flash
    Xmodem file system is available.
    flashfs[0]: 67 files, 9 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 41158656
    flashfs[0]: Bytes used: 20894208
    flashfs[0]: Bytes available: 20264448
    flashfs[0]: flashfs fsck took 21 seconds.
    flashfs[1]: 0 files, 1 directories
    flashfs[1]: 0 orphaned files, 0 orphaned directories
    flashfs[1]: Total bytes: 12257280
    flashfs[1]: Bytes used: 1024
    flashfs[1]: Bytes available: 12256256
    flashfs[1]: flashfs fsck took 1 seconds.
    Base Ethernet MAC address: f4:4e:05:b7:1e:84
    Boot CMD: 'boot  flash:/ap3g2-k9w8-mx.153-3.JA1/ap3g2-k9w8-xx.153-3.JA1;flash:/ap3g2-k9w8-mx.153-3.JA1/ap3g2-k9w8-xx.153-3.JA1'
    Loading "flash:/ap3g2-k9w8-mx.153-3.JA1/ap3g2-k9w8-xx.153-3.JA1"...###############################################
    File "flash:/ap3g2-k9w8-mx.153-3.JA1/ap3g2-k9w8-xx.153-3.JA1" uncompressed and installed, entry point: 0x1003000
    executing...
                  Restricted Rights Legend
    Use, duplication, or disclosure by the Government is
    subject to restrictions as set forth in subparagraph
    (c) of the Commercial Computer Software - Restricted
    Rights clause at FAR sec. 52.227-19 and subparagraph
    (c) (1) (ii) of the Rights in Technical Data and Computer
    Software clause at DFARS sec. 252.227-7013.
               cisco Systems, Inc.
               170 West Tasman Drive
               San Jose, California 95134-1706
    Cisco IOS Software, C3700 Software (AP3G2-K9W8-M), Version 15.3(3)JA1, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2014 by Cisco Systems, Inc.
    Compiled Fri 19-Dec-14 11:20 by prod_rel_team
    Montserrat Board
    40MB format
    Tide XL MB - 40MB of flash
    Initializing flashfs...
    flashfs[2]: 67 files, 9 directories
    flashfs[2]: 0 orphaned files, 0 orphaned directories
    flashfs[2]: Total bytes: 40900608
    flashfs[2]: Bytes used: 20894208
    flashfs[2]: Bytes available: 20006400
    flashfs[2]: flashfs fsck took 14 seconds.
    flashfs[2]: Initialization complete.
    flashfs[4]: 0 files, 1 directories
    flashfs[4]: 0 orphaned files, 0 orphaned directories
    flashfs[4]: Total bytes: 11999232
    flashfs[4]: Bytes used: 1024
    flashfs[4]: Bytes available: 11998208
    flashfs[4]: flashfs fsck took 0 seconds.
    flashfs[4]: Initialization complete.
    Copying radio files from flash: to ram:
    Copy in progress...CCCCC
    Copy in progress...CCC
    Copy in progress...CCCC
    Copy in progress...CCCC
    Copy in progress...CC
    Copy in progress...CCCC
    Copy in progress...CC
    Copy in progress...CCCCC
    Copy in progress...CCCC
    Copy in progress...CC
    Uncompressing radio files...
    ...done Initializing flashfs.
    Radio0  present 8764 8000 0 A8000000 A8010000 0
    Rate table has 650 entries (20 legacy/224 11n/406 11ac)
    POWER TABLE FILENAME = ram:/Q2.bin
    Radio1  present 8864 8000 0 80000000 80100000 4
    POWER TABLE FILENAME = ram:/Q5.bin
    Radio2 not present 0 0 0 0 0 8
    This product contains cryptographic features and is subject to United
    States and local country laws governing import, export, transfer and
    use. Delivery of Cisco cryptographic products does not imply
    third-party authority to import, export, distribute or use encryption.
    Importers, exporters, distributors and users are responsible for
    compliance with U.S. and local country laws. By using this product you
    agree to comply with applicable laws and regulations. If you are unable
    to comply with U.S. and local laws, return this product immediately.
    A summary of U.S. laws governing Cisco cryptographic products may be found at:
    http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
    If you require further assistance please contact us by sending email to
    [email protected].
    cisco AIR-CAP3702I-Z-K9 (PowerPC) processor (revision A0) with 376810K/134656K bytes of memory.
    Processor board ID FGL1838X4T1
    PowerPC CPU at 800Mhz, revision number 0x2151
    Last reset from power-on
    LWAPP image version 8.0.110.0
    1 Gigabit Ethernet interface
    2 802.11 Radios
    32K bytes of flash-simulated non-volatile configuration memory.
    Base ethernet MAC Address: F4:4E:05:B7:1E:84
    Part Number                          : 73-15243-01
    PCA Assembly Number                  : 000-00000-00
    PCA Revision Number                  :
    PCB Serial Number                    : FOC18343WPR
    Top Assembly Part Number             : 068-05054-03
    Top Assembly Serial Number           : FGL1838X4T1
    Top Revision Number                  : A0
    Product/Model Number                 : AIR-CAP3702I-Z-K9
    % Please define a domain-name first.
    Press RETURN to get started!
    *Mar  1 00:00:19.295: %SOAP_FIPS-2-SELF_TEST_IOS_SUCCESS: IOS crypto FIPS self test passed (15)
    *Mar  1 00:00:19.755: Registering HW DTLS
    *Mar  1 00:00:19.763: APAVC: Initial WLAN Buffers Given to System is  2500
    *Mar  1 00:00:19.815: APAVC:  WlanPAKs 42878 RadioPaks  42270
    *Mar  1 00:00:22.127: %LINK-6-UPDOWN: Interface GigabitEthernet0, changed state to up
    *Mar  1 00:00:26.055: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 0 (4)
    *Mar  1 00:00:26.167: Loading Power Tables from ram:/Q2.bin. Class = A
    *Mar  1 00:00:26.167:  record size of 3ss: 1168 read_ptr: 4F9698E
    *Mar  1 00:00:31.207: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 1 (4)
    *Mar  1 00:00:31.251: Loading Power Tables from ram:/Q5.bin. Class = Z
    *Mar  1 00:00:31.251:  record size of vht: 2904 read_ptr: 4F9698E
    *Mar  1 00:00:31.407: Wait until the stile protocol list is initialized.
    *Mar  1 00:00:32.651: Start STILE Activation
    *Mar  1 00:00:34.571: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to down
    *Mar  1 00:00:35.447: %SYS-5-RESTART: System restarted --
    Cisco IOS Software, C3700 Software (AP3G2-K9W8-M), Version 15.3(3)JA1, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2014 by Cisco Systems, Inc.
    Compiled Fri 19-Dec-14 11:20 by prod_rel_team
    *Mar  1 00:00:35.447: %SNMP-5-COLDSTART: SNMP agent on host Test_1 is undergoing a cold start
    *Mar  1 00:00:36.563: %LINEPROTO-5-UPDOWN: Line protocol on Interface BVI1, changed state to up
    *Mar  1 00:00:37.787: %LINK-6-UPDOWN: Interface Dot11Radio0, changed state to uplwapp_crypto_init: MIC Present and Parsed Successfully
    *Mar  1 00:00:37.939: %SSH-5-ENABLED: SSH 2.0 has been enabled
    *Mar  1 00:00:37.939: %LINK-6-UPDOWN: Interface Dot11Radio1, changed state to up
    *Mar  1 00:00:38.987: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to down
    *Mar  1 00:00:38.987: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to down
    *Mar  1 00:00:47.567: %LINK-6-UPDOWN: Interface BVI1, changed state to down
    *Mar  1 00:00:48.567: %LINEPROTO-5-UPDOWN: Line protocol on Interface BVI1, changed state to down
    *Mar  1 00:00:50.431: %SOAP_FIPS-2-SELF_TEST_HW_SUCCESS: HW crypto FIPS self test passed (2-16)
    *Mar  1 00:00:50.431: DPAA Initialization Complete
    *Mar  1 00:00:50.431: %SYS-3-HARIKARI: Process DPAA INIT top-level routine exited
    *Mar  1 00:00:51.431: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to up
    *Mar  1 00:00:53.435: %LINK-6-UPDOWN: Interface BVI1, changed state to up
    *Mar  1 00:00:53.867: Currently running a Release Image
    *Mar  1 00:00:54.287: Incorrect certificate in SHA2 PB !
    *Mar  1 00:00:54.287: Using SHA-1 signed certificate for image signing validation.
    *Mar  1 00:00:54.575: %LINEPROTO-5-UPDOWN: Line protocol on Interface BVI1, changed state to up
    *Mar  1 00:00:59.787: %DHCP-6-ADDRESS_ASSIGN: Interface BVI1 assigned DHCP address 10.1.20.2, mask 255.255.255.0, hostname Test_1
    *Mar  1 00:01:02.707: APAVC: Succeeded to activate all the STILE protocols.
    *Mar  1 00:01:02.707: APAVC: Registering with CFT
    *Mar  1 00:01:02.707: APAVC: CFT registration of delete callback succeeded
    *Mar  1 00:01:02.707: APAVC: Reattaching  Original Buffer pool for system use
    *Mar  1 00:01:02.707: Pool-ReAtach: paks 42878 radio42270
    %Default route without gateway, if not a point-to-point interface, may impact performance
    *Mar  1 00:01:10.103: AP image integrity check PASSED
    *Mar  1 00:01:10.187: Incorrect certificate in SHA2 PB !
    *Mar  1 00:01:10.203: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to reset
    *Mar  1 00:01:10.203: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to reset
    *Mar  1 00:01:11.591: %CDP_PD-4-POWER_OK: 15.4 W power - NEGOTIATED inline power source
    *Mar  1 00:01:12.691: %LINK-6-UPDOWN: Interface Dot11Radio0, changed state to up
    *Mar  1 00:01:13.691: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to up
    *Mar  1 00:01:13.947: %LINK-6-UPDOWN: Interface Dot11Radio1, changed state to up
    *Mar  1 00:01:14.947: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to up
    *Mar  1 00:01:20.211: %SYS-6-LOGGINGHOST_STARTSTOP: Logging to host 255.255.255.255 port 514 CLI Request Triggered
    Translating "CISCO-CAPWAP-CONTROLLER"...domain server (255.255.255.255)
    *Mar  1 00:01:31.215: %CAPWAP-5-DHCP_OPTION_43: Controller address 10.1.1.231 obtained through DHCP
    *Mar  1 00:02:11.599: %CDP_PD-4-POWER_OK: Full power - NEGOTIATED inline power source
    *Mar  1 00:02:11.603: %LINK-6-UPDOWN: Interface Dot11Radio0, changed state to down
    *Mar  1 00:02:11.611: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to reset
    *Mar  1 00:02:12.603: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to down
    *Mar  1 00:02:12.639: %LINK-6-UPDOWN: Interface Dot11Radio0, changed state to up
    *Mar  1 00:02:12.647: %LINK-6-UPDOWN: Interface Dot11Radio1, changed state to down
    *Mar  1 00:02:12.655: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to reset
    *Mar  1 00:02:13.639: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to up
    *Mar  1 00:02:13.647: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to down
    *Mar  1 00:02:13.699: %LINK-6-UPDOWN: Interface Dot11Radio1, changed state to up
    *Mar  1 00:02:14.699: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to up
    Not in Bound state.
    *Mar  1 00:02:44.719: %CAPWAP-3-DHCP_RENEW: Could not discover WLC. Either IP address is not assigned or assigned IP is wrong. Renewing DHCP IP.
    *Mar  1 00:02:49.839: %DHCP-6-ADDRESS_ASSIGN: Interface BVI1 assigned DHCP address 10.1.20.3, mask 255.255.255.0, hostname Test_1
    Translating "CISCO-CAPWAP-CONTROLLER"...domain server (255.255.255.255)
    *Mar  1 00:02:55.719: %CAPWAP-5-DHCP_OPTION_43: Controller address 10.1.1.231 obtained through DHCP
    Not in Bound state.
    *Mar  1 00:03:59.219: %CAPWAP-3-DHCP_RENEW: Could not discover WLC. Either IP address is not assigned or assigned IP is wrong. Renewing DHCP IP.
    *Mar  1 00:04:04.343: %DHCP-6-ADDRESS_ASSIGN: Interface BVI1 assigned DHCP address 10.1.20.4, mask 255.255.255.0, hostname Test_1
    Translating "CISCO-CAPWAP-CONTROLLER"...domain server (255.255.255.255)
    *Mar  1 00:04:10.223: %CAPWAP-5-DHCP_OPTION_43: Controller address 10.1.1.231 obtained through DHCP

  • Ignoring discovery request - AP on dynamic client interface

    Hi All,
    I have a questing regarding the AP Management Port on the 5508.
    At our customers side there are some FAT-APs and we want to migrate them to the controller.
    There is no DHCP Service active on the network (security-restriction by our customer) and the FAT-APs and Clients are configured with a static IP.
    There is no LAG active everything is on Port 1.
    Now after upgrading one AP to lightwight-mode,... he cannot discover his WLC (thats ok, because the Manament Interface is in a different subnet)
    So I configured a IP-Helper and the neccesary udp-Port to get the AP joined on the WLC.
    But on the Controller I get the following message:
    %CAPWAP-3-DISC_INTF_ERR2: Ignoring discovery request received on a
    wrong VLAN ([dec]) on interface ([int]) from AP
    [hex]:[hex]:[hex]:[hex]:[hex]:[hex]
    The wrong VLAN in the message is a dynamic Interface on the Controller for client and the AP is in that Subnet.
    It its created as an Dynamic Interface on the WLC (without "Enable Dynamic AP Management")
    I hope you can give me a hint. I'm not sure if I should enable "Dynamic AP Management" on that Client Interface.
    By the way, the AP can join when i configure the Controller IP via console on it. But that should not be the solution
    Thanks &
    Best regards,
    Simon

    Hi Nicolas,
    thanks for your reply.
    I know, that this design is not "best practice".
    Our customer has a LAN which has to be completly redesigned.
    They use very huge subnets for their different production segments (255.255.240.0) and everything is in there.
    The Autonomous AP Installation is in one of these huge network segments where the APs and the clients are in the same subnet..
    Thats the background why this szenario is created.
    I know that this design is absolutly unsatisfactory.
    But thats the fact and I have to deal with this.
    The helper is the WLCs Management Adress.
    So what about the "ignoring discovery request" message.
    Is there some possibility to get it work this way or is the only way to upgrade the APs via Console to get them to the controller.
    I know the best way would be to get the APs in a new different subnet,...
    regards,
    Simon

  • LWAPP Discovery request - discarded ?

    Greetings all,
    I'm starting to grow a huge headache over a WLC-implementation (4402-12). From my point of view, the controller seems to be configured correctly and the DHCP-scope has been set up with the correct pointers as well as as the DNS-record, all pointing towards the AP-Manager i/f (tagged vlan20 on port 1, mgmt untagged) - still, no access-points will associate. The AP is pingable from the controller. A debug of lwapp events and details shows the following;
    Sat Jan 7 19:36:17 2006: Received a message from AP of length 97 on inteface = 1
    Sat Jan 7 19:36:17 2006: Entered spamGetLCBFromMac file spam_lrad.c line 433**
    Sat Jan 7 19:36:17 2006: Received LWAPP DISCOVERY REQUEST from AP 00:0b:85:5a:bd:50 to ff:ff:ff:ff:ff:ff on port '1'
    Sat Jan 7 19:36:17 2006: Discarding L3 Mode LWAPP DISCOVERY REQUEST on intf '1', vlan = '20', Management vlan = '0'.
    Anyone with a clue regarding what might be causing this? I'm also a little confused regarding the destaddr (bcast) since the AP should've received the ucast address of the controller. We have to handover this system to the cust. fairly soon .. :-)
    WLC Version: 3.2.78.0
    TIA & Best regards,
    /M

    You need to use the Management Interface for LWAPP controller discovery. That's what the WLC expects. So when it sees an LWAPP Discovery Request coming in on another interface, it discards its.
    In L3 LWAPP mode, the AP tries to find a WLC using IP subnet broadcast, over the air provisioning (OTAP), DHCP Option 43, DNS, and WLC IP addresses stored in memory. It will always use ALL of these techniques. That's why you're seeing the broadcast. From the LWAPP Discovery Responses it selects a controller to join.
    Now, you would've seen it join in L2 mode because the AP does an Ethernet "broadcast" to find the WLC. Hence, the mgmt interface sees the LWAPP Discovery, and responds with an Ethernet frame. At L2 mode, all LWAPP is Ethernet encapsulated as opposed to IP encapsulated. When you switched back to L3 mode, the AP remembers the management IP address of the WLC from the L2 join and uses that. That's why it worked after switching L3-->L2-->L3.
    Hope this helps.

  • L3 LWAPP Discovery reject wrong vlan...

    Hi,
    I have 10 APs (Static IP) connected to my existing Wireless LAN controller in subnet of 192.168.1.x network in VLAN 127.
    The WLC (ver 4.1.171) is connected to a switch in trunk mode carrying VLANs 127-128. The managemet interface is configured as 10.1.1.1 part of VLAN 128 subnet. AP Manager interface is configured under VLAN 127 and having IP address 192.168.1.2.
    Now, I am getting L3 LWAPP Discovery reject messages on WLC giving the Wrong VLAN error.
    Is there any solution for this?
    And also, I am able to create WLAN interfaces (like WIFI for VLAN 128) but not able to assign the same interface in SSID config page. It's getting defaulted to Management interface and NOT giving option to choose any other interface. What's the use of creation of dynamic interfaces in this case?
    Regards...
    -Ashok.

    It is totally OK to have different subnets for management an AP manager. The message you are seeing is because the APs send a broadcast discovery and since they are on AP manager subnet, they reach the WLC on that vlan with discoveries (and discovery requests are expected on the management interface).
    The message is not a problem by itself if you configured DNS resolution or any other mechanism for the AP to learn the management ip of the WLC. You also need a gateway to route between those 2 subnets.
    To create dynamic interfaces you need to assign them extra vlans on top of your 127,128.

  • Discarding Primary discovery request in LWAPP

    Hi,
    after upgrading our WISM module from version 6 to version 7, we are constantly getting these error messages with syslog:
    Jun 20 12:37:02 wism2.xxxx.sk WiSM2: *spamReceiveTask: Jun 20 11:37:02.632: %LWAPP-6-CAPWAP_SUPP_VER: spam_lrad.c:1821 Discarding Primary discovery request in LWAPP from AP 00:25:b4:da:99:c0 supporting CAPWAP
    There is one interesting thing about this log message - there is no AP with the MAC addess "00:25:b4:da:99:c0" in our infrastructure, but the VLAN SVI interfaces on the Cisco 6500, where the WISM module in installed, are using this "00:25:b4:da:99:c0" MAC address.
    Any idea what might be wrong?

    As far as I'm concerned, your problem was that you had an AP that was not on its primary WLC at the time of the messages. I don't think discovery mechanisms have anything to do with it.
    Prior to like 5.X, you defined Primary WLC only by Name. As such, the AP sent to every IP address it knew of for discovery....  since then, you define Primary WLC by Name, plus an Ip address, but this does not restrict primary discovery to that IP (maybe it should?)
    Is there any scenario where you would have had an AP on the wrong controller last week?  WLC down? LAN failure? Over subscribed WLC?   
    Perhaps we could get some low priority bugs to enhance the message now.... maybe there already is one....    Either way, the message is what it is.   Even if you saw a message that says it dropped the lwapp, you shouldnt care what AP that is, it just means there is one sending primary discoveries...
    If you like the message now because you want to know what APs are sending primary discoveries, that should be handled by a proper message in syslog like "AP XXXX is sending primary discovery requests, it is not on its Primary WLC".....   but then you'd flood your syslog if you have purposely took down a WLC.....      I actually think this message you are seeing in syslog should be removed as well,, since you'll likely see a ton of them if you also lose a primary wlc....

  • Empty HTTP Request Received

    Hi,
    I have created a Web service in XI and trying to consume it from a different system, I was successful in calling the Web service from Altova XML SPY, however when i post the service end point connection URL in internet explorer directly, I'm getting the following SOAP response. Please advise what causes this error.
    - <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP:Header />
    - <SOAP:Body>
    - <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <faultcode>SOAP:Client</faultcode>
      <faultstring>Empty HTTP request received</faultstring>
      <faultactor>http://sap.com/xi/XI/Message/30</faultactor>
    - <detail>
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIProtocol</SAP:Category>
      <SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Empty HTTP query received; message processing not possible</SAP:Stack>
      </SAP:Error>
      </detail>
      </SOAP:Fault>
      </SOAP:Body>
      </SOAP:Envelope>

    Hi,
    I am also facing the same problem . Any suggestions will be highly appreciated.
    Thanks.

  • Empty HTTP request received in SAP RFC test connection type G

    Hi all,
      While checking the RFC connection i am getting error,
    response_line               HTTP/1.0 500 Empty HTTP request received
    server_protocol             HTTP/1.0
    status_code                 500
    status_reason               Empty HTTP request received
    Please let me know if this is right.

    Hi,
      We are trying to connect to an external server. So, we are using Connection Type as G.
    RFC connection Test status is 500.
    But in our case, Idoc is getting generated but it is in the XI Box, throwing the below error,
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!-- Call Adapter
    -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
    <SAP:Category>XIServer</SAP:Category>
    <SAP:Code area="SECURITY">SECURITY_VERIFY_ERROR</SAP:Code>
    <SAP:P1>Check Signature</SAP:P1>
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText>Signature error Error while valdiating the digital signature. Theerror was com.sap.security.core.ws.wss.NoSecurityHeaderException No wsse:Security header has been defined for role soap:finalActor. Please verify the</SAP:AdditionalText>
    <SAP:ApplicationFaultMessage namespace="" />
    <SAP:Stack>Error during message security handling in inbound channel: Security profile 'Check Signature'</SAP:Stack>
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    Since the RFC is working now, we were not able to find what is the issue. Even SSL certificates are valid.

  • It says i have bars, but i can't call, top up or text, all it keeps saying is error performing request, unkown request. what is wrong and what do i do

    like it says in the title, I have a 3GS and i'm with O2, it is saying I have service/bars most of the time full bars, but when I go to text, call or even top up, it comes up with error performing request, unknown error. I can't receive calls or texts either, I can't use the phone side of my phone everything else like iPod, Internet etc is working fine, but nothing is working for my phone.
    I've checked my sim card, I've made sure it is in properly, I've turned it off and on. nothing is working
    what is wrong with my iPhone why is it not working, and how do I fix it.
    Please someone give me some answers.
    P.S. I have only had this phone for just over a year.

    It sounds like an O2 problem, you'd have to get in contact with them on 0800 977 7337
    Have you tried the SIM card in another phone?

  • No Radius-accept-request received on Radius server

    Hi,
    I'm trying to access my network through 802.1X Radius authentication. My PC is connected to a 2950 switch with following configuration:
    aaa new-model
    aaa authentication dot1x default group radius
    dot1x system-auth-control
    radius-server host 11.0.0.2 key Ralf
    on interface level(connection to PC):
    switchport mode access
    switchport access vlan 8
    dot1x port-control auto
    on interface level(connection to Radius server):
    switchport mode access
    switchport access vlan 8
    I enabled 802.1X authentication on my PC via the service 'Wired Autoconfig' and in the tab authentication (one of the tabs of the interface configuration)
    I choose PEAP.
    Result:
    When I trace my PC-interface with Wireshark, I see an EAPOL- EAP-Request and a EAP-Response message. The next message in the flow should be a Radius-Accept-request message but it seems that this message is never sent. Although, when i open a 'debug radius' session on the switch, the logs are indicating that the accept-request message is sent. Strange because I see no message coming in on the Radius-server interface.
    The Radius-server has IP-address 11.0.0.2 and my PC 11.0.0.3.
    Does anybody see a reason why the Radius-Accept-Request message is not received on my Radius-server interface?
    Kind regards,Ralf.

    Hi,
    When using PEAP, the authnetication is not as simple as that.
    This is the PEAP authentication process:
    Here you can see the switch as the AP.
    So, after the first  EAP-Response message, the ACS must reply with an Access-Challenge containing the EAP-TLS start, so the encryption tunnel can be started.
    One possible reason for this not to happen is simply because the ACS does not support PEAP and/or does not conatin the server certificate needed to build the TLS tunnel.
    HTH,
    Tiago
    If  this helps you and/or answers your question please mark the question as  "answered" and/or rate it, so other users can easily find it.

  • Trying to enroll for the $99 developer account. Getting the message 'We are unable to process your request' What is wrong here?

    Have tried so many times now to enroll for the developer program and getting stuck in the third screen with the message
    We are unable to process your request.
    I need enrollment fast to put my app in the app store
    What's wrong here?

    Thanks for the detail.
    I believe you are doing your best, in the right place.  How long have you tried ?
    May be the sistem in your area is really busy. Can you wait few hours or contact them with a Message ?
    Or try a Service provider http://support.apple.com/kb/HT1434

  • Reading the binary data from a http request received via socket connection.

    1. I require to extract the binary data out of a http multipart request,
    2. I have a server socket opened up, which can receive connections over tcp( and therefore http.)
    3. I will require to read the stream, find out the "request boundary identifier", and then extract the different "request body parts".
    4. From there i need to read all of the binary content and put it in a file.
    5. I did some implementation to his effect. but i see that the file that i had uploaded initially if its not a text file, gets corrupted.
    can you please let me know why is that happening, and a probable solution approach.
    please find below the class (with a main method) I have been using to expose a server socket.
    package self.services;
    import java.io.BufferedReader;
    import java.io.ByteArrayOutputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.io.PrintWriter;
    import java.net.ServerSocket;
    import java.net.Socket;
    public class FileServer {
         public static void main(String[] args) throws Exception {
              ServerSocket serverSocket = new ServerSocket(9999);
              String FOLDER_NAME = "uploaded_files";
              while(true) {     
                   try{
                        Socket socket = serverSocket.accept();
                        InputStream is = socket.getInputStream();
                        ByteArrayOutputStream baos = new ByteArrayOutputStream();
                        BufferedReader reader = new BufferedReader(new InputStreamReader(is));
                        String currentLine;
                        int cnt = 0;
                        boolean postRequest = false;
                        String dataBoundary = null;
                        String fileName = null;
                        String yourName = null;
                        while((currentLine = reader.readLine()) != null) {
                             if(currentLine.contains("POST")) {
                                  postRequest = true;
                                  System.out.println("POST REQ AS EXPECTED VERY NICE");
                                  continue;
                             if(!postRequest) {
                                  System.out.println("NO POST REQ THIS BREAKING FLOW");
                                  break;
                             } else {
                                  if(currentLine.contains("Content-Type: multipart/form-data; boundary=")) {
                                       System.out.println("found a boundary value header");
                                       dataBoundary = currentLine.substring((currentLine.indexOf("boundary=") + "boundary=".length()), (currentLine.length() -1));
                                       System.out.println("boundary value = ".concat(dataBoundary));
                                       continue;
                                  if(dataBoundary != null && currentLine.contains(dataBoundary)) {
                                       cnt++;
                                  if(cnt == 1) {
                                       //move 3 lines
                                       if(currentLine.contains("Content-Disposition: form-data; name=\"yourName\"")){
                                            reader.readLine();//skip a line
                                       System.out.println("Your name = ".concat(yourName = reader.readLine()));
                                       continue;
                                  } else if(cnt == 2) {
                                       if(currentLine.contains("Content-Disposition: form-data; name=\"sentFile\"; filename=\"")){
                                            fileName = currentLine.substring(currentLine.indexOf("filename=") + "filename=".length() + 1, currentLine.length() - 1);
                                            System.out.println("File Name = ".concat(fileName));
                                            reader.readLine();//skip a line , this would depict a content type header
                                            reader.readLine();//skip a line, this would indicate a blank line to mark the start of data.
                                            continue;
                                       } else {
                                            // write the content to os
                                            if(currentLine != null && !currentLine.contains(dataBoundary)) {
                                                 baos.write(currentLine.concat("\r").getBytes());
                                  } else if( cnt == 3) {
                                       System.out.println(("cnt [" + cnt).concat( "], current line [").concat(currentLine).concat("]"));
                                       break;
                        if(fileName == null ||yourName == null) {
                             System.out.println("FileServer.main() dont bother about this" );
                        } else {
                             //send a response back
                             PrintWriter pw = new PrintWriter(new OutputStreamWriter(socket.getOutputStream()));
                             pw.write(responseMessage(yourName, fileName));
                             pw.flush();
                             //close output stream
                             pw.close();
                             //handle the request bytearray.
                             FileOutputStream fos = new FileOutputStream(FOLDER_NAME + "/" + fileName);
                             fos.write(baos.toByteArray(), 0, baos.toByteArray().length - 1);
                             fos.close();
                        //close input stream
                        reader.close();
                        socket.close();
                        baos.close();
                   } catch(Exception ex) {
                        ex.printStackTrace();
         public static String responseMessage(String yourName, String fileName) {
              String response =
                   "<HTML>" .concat(
                   "<BODY>") .concat(
                   "<P>" ).concat(
                   "Mr. <FONT color=\"red\">") .concat( yourName).concat("</FONT>. Your file named <B>").concat( fileName).concat( "</B> successfully reached us." ).concat(
                   "</P>") .concat(
                   "</BODY>").concat(
                   "</HTML>");
              return response;
    }{code}
    Here is a sample html file which can be used to send multipart requests to the java service.
    <html>
         <body>
              <form action="http://localhost:9999" enctype="multipart/form-data" method="POST">
                   Enter name :<br/>
                   <input type="text" name="yourName"/>
                   Enter file :<br/>
                   <input type="file" name="sentFile"/>
                   <br/>
                   <input type="submit" value="Submit"/>
              </form>
         </body>
    </html>
    *Both the form elements are mandatory*
    *I hope my requirement is clear. Any help regarding this will be highly appreciated.*
    Regards.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    MishraC wrote:
    1. I require to extract the binary data out of a http multipart request,
    2. I have a server socket opened up, which can receive connections over tcp( and therefore http.)
    3. I will require to read the stream, find out the "request boundary identifier", and then extract the different "request body parts".
    4. From there i need to read all of the binary content and put it in a file.
    5. I did some implementation to his effect. but
    i see that the file that i had uploaded initially if its not a text file, gets corrupted.
    can you please let me know why is that happening,Because you are using a Reader (which translates bytes to chars according to the charset encoding specified).
    and a probable solution approach. Use a BufferedInputStream.

  • Receiver Channel wrong after import

    Hi,
    i Have imported the configuration scenraio. Everything is looking fine.. but only the receiver channel is empty.. it is showing an empty file receiver adapter...
    i cross checked the transport several times..nothing strange in it. Why is it going wrong?
    Thanks

    Hi Mahesh,
    As per i know Whenever basis team transports the Channel to another server few parameter will be go as blank and its SAP standard because the Development or Quality and Production systems configuration are different and the Quality system configuration should not go to production that's why few parameters  (Server ,User ID , password and Folder structure) are empty while transport and basis team will configure as a "TBC " or any other temp parameter else they cant activate the Objects.
    Regards,
    Manikandan

Maybe you are looking for