Sugar Wrong Server Location User Name Or Password Please Try Again

  • “Incorrect User name or Password. Please try again.” When you check the IIS log, there were a lot of instances of 401.1 and 401.3 HTTP Errors similar to this.
  • Solutions and help with Sugar. Wrong server location, user name or password, please try again! Please let us know at so we can correct it. Last update: 26-Apr.
Sugar Wrong Server Location User Name Or Password Please Try Again

Hello, Recently, my user has been saying 'Invalid username and password. Please try again' it seemed to start after I got another Amazon Fire stick. I have never had this issue on the other fire stick. I had initially thought it was just on the new fire stick, but i am not able to login using the user tile on the computer the server is.

Introduction

This document describes how to create a custom web authentication portal for the Catalyst 9800 Wireless Controller (9800 WLC) series. The source code is easy to edit and has a responsive WEB design, compatible with modern web browsers on computers and mobile devices.

Prerequisites

Requirements

Cisco recommends that you have knowledge of these topics:

  • HTML and CSS.
  • 9800 WLC configuration guide.

Components Used

The information in this document is based on this software and hardware version:

  • Cisco Catalyst 9800 Wireless Controller series, IOS-XE Gibraltar v16.12.1s.
  • WEB authentication portal source code (see the attached file).

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command.

Configure

The files that compose the custom web authentication portal are:

  • login.html
  • bootstrap.min.css
  • Jquery.min.js
  • style.css
  • animate.css
  • web_auth_logo.png
Sugar Wrong Server Location User Name Or Password Please Try Again

Only the below files would need edit:

  • login.html
  • style.css
  • web_auth_logo.png

This is the source code for the web authentication portal (login.html)

Note: Read the code carefully, it has HTML comments that explain the structure of the web authentication portal.

In order to change the page title edit this section:

In order to change the company logo edit the img tag, use a .png or .svg image. To adjust the size of your logo change the width and height parameters.

Note: .svg images with transparent background are recommended for a better look and feel.

In order to change page title background color, create your own class on the style.css file and replace bg-dark with your custom class:

In order to change the background and text color of the page change the bg class:

Here are the available classes, note that the background and text color change accordingly:

bgbg2bg3
bg4bg5bg6


If you want to use an image as background or a different color on the style.css file, edit the CSS class bg-img and use it.

Caution: The background image can not look properly on mobile devices because of its size and the text can be difficult to read due to the image colors.

The use of an image as the background looks like the next image:

The class bg5 looks like the next image:

The class bg6 looks like the next image:

In order to change the page content with your own terms and conditions edit the below section:

In order to level up the authentication portal, you can add animations without complexity just edit the animation-name after the animated class, on this example, it is used two animations. In order to see the available animations, visit animate.css:

This is the final look of the custom web authentication portal with animations, select on the Result tab in order to see a live example.

Tip: You can easily edit the background colors and fonts as you want, just create a new class on the style.css file and use it.

Upload The Custom Web Authentication Portal to the 9800 WLC

You must have the below files on your project folder:

Upload the files one by one via TFTP or FTP via CLI to the 9800 bootflash: with the command:

In order to configure the custom web authentication portal, follow the Cisco Catalyst 9800 Series Wireless Controller Software Configuration Guide

Verify

On your computer open the login.html file with a web browser and confirm that the animations and content is correct.

Troubleshoot

Sugar Wrong Server Location User Name Or Password Please Try Again Get

Ensure that all the files are not on subfolders when you upload them on the 9800 WLC and do not have a different name.

Configuring Local WebAuth with Custom Pages using the WebAuth Bundle on 9800 17.3.1 code

This section covers a step-by-step process on how to install and configure Custom WebAuth Bundle in Cat 9800.

1. Download the Wireless LAN Controller Web Authentication Bundle (WLC_WEBAUTH_BUNDLE_1.0.zip) from Cisco.com:
https://software.cisco.com/download/home/286316412/type/282791507/release/16.10.1

Note: The bundle is the same for all 9800 controllers. For example, you can download the file from the 9800-40 and use it for 9800-L or virtual 9800-CL

2. For customizing the bundle, unzip the bundle to a folder. Open each HTML file that needs to be edited as explained above, and you can upload the logo along with it. The file names are not important, you can call them anything you want.


After this step, delete the login.tar file because we would need to generate a new one.


Select all the files and right mouse click and select 7-Zip (assuming you have the free 7-Zip program installed or similar program) and choose to Add to archive…

Give it any name and choose tar as the Archive format:

3. Then navigate to the 9800


Administration > Management > Backup & Restore > change the file type to Web Auth Bundle and upload just the customized .tar file

By default, the 9800 will create a folder inside the bootflash: and will call it whatever you called your .tar file and all the files will be in that folder:

If you have HA setup then you need to run 17.3 code (or future releases) because of this enhancement bug:

CSCvr05309 : copy webauth tar bundle to standby bootflash also incase of HA setup

To check on both HA (Active and Standby), assuming a file called customized.tar was uploaded

9800-1#show bootflash: | s customized
9800-1#show stby-bootflash: | s customized

Note: The files that have been uploaded manually will not be synced to the HA Standby.

Note: You do not need success.html file to make custom webauth work, but if you need that, you can simply create one and add it to the .tar file and upload that tar file to the 9800 WLC

4. Edit the WebAuth Global Parameter Map and set a virtual IP address. The omission of the virtual IP address may cause images not to display properly at the portal page.

Sugar Wrong Server Location User Name Or Password Please Try Again Sign

Note: Once the virtual IP address is set, wireless clients display the website warning on the browser because the controller's virtual interface sends the URL via HTTPS and is not trusted due to the absence of a signed certificate attached to it. In such case, follow the procedure to generate a CSR and install a valid certificate.

Only if HTTPS is not required, these two commands can be run in order for the URL to be sent via HTTP only:

User

5. Next step is to create a new Parameter Map. Navigate from 9800 GUI>>Security>>Web-Auth>>Add

Once created, click on the parameter map name to edit:

Checking “Disable Success Window” is to disable the 9800 default success page and not the success.html. If using both, the guest will see dual success pages, one from the 9800 “default success page” and the other from the custom success.html.

Even if you disable all success pages (Disable Success Window and no success.html used) the mobile devices will see the success page like below while PCs will see it for a second and will go away.

Example from iPhone:

If you click on the blue icon beside any page, the 9800 will try to load that and you can choose the pages as below

6. Next step is to tag the parameter map to the WLAN (Cat9800 GUI>>Tags and Profiles>>WLAN). In this example, the WLAN authenticates the guests from local 9800 guest accounts first and then from ISE (RADIUS Server).

Note: AAA and pre-auth ACL configurations can optionally be added in this step.

Sample config for ISE or any RADIUS Server:
radius server ISE
address ipv4 x.x.x.x auth-port 1812 acct-port 1813
timeout 5
retransmit 3
automate-tester username dummy probe-on
key XXXXXXXXXXX
exit
aaa group server radius RADIUS-GROUP
server name ISE
exit
aaa authentication dot1x ISE-Method group RADIUS-GROUP
aaa authorization network ISE-Method group RADIUS-GROUP
aaa accounting identity default start-stop group RADIUS-GROUP
aaa authentication webauth default local group RADIUS-GROUP
end

Sugar Wrong Server Location User Name Or Password Please Try Again Free

Get

Note: As evident from the last CLI command, local user authentication check happens first then ISE/RADIUS. You can limit the authentication to local only or to ISE/RADIUS only or leave it as above for both, meaning the user, in this case, will be checked locally first then if it’s not there then will be checked against RADIUS.

To add local guest users, navigate to Configuration>>Security>>Guest User

How to create android user registration app including same email exists condition with User Login and insert User Name, Email, Password on dynamic online server in android studio tutorial with all the source code.

Project Description : In this tutorial we would going to create an android application with three different activities performs the task of User Registration where application user insert their First Name, Last Name, Email and Password. All that details would store – insert directly into MySQL database present on online hosting server. The technology to insert All the data on server including receiving and inserting data is performed using PHP language. After register user would goto login screen where he put its Email and Password to login into application. After successfully login user would redirect to the User Profile Dashboard screen. So here is the complete step by step tutorial for Android Server Login And Registration With PHP MySQL.

Main features in this project :

  • User Registration Form Including same email exist condition so duplicate email user would not register again.

Project File Description :

Sugar Wrong Server Location User Name Or Password Please Try Again Meme

Activity Files in this project:

  1. MainActivity.java
  2. UserLoginActivity.java
  3. DashboardActivity.java

Java files in this project :

  1. HttpParse.java

Layout files in this project :

  1. activity_main.xml
  2. activity_user_login.xml
  3. activity_dashboard.xml

PHP files in this project :

  1. DatabaseConfig.php
  2. UserRegistration.php
  3. UserLogin.php

Contents in this project Android Server Login And Registration With PHP MySQL :

  1. Watch Live Demo Video.
  2. Create database including table on your hosting server.
  3. Create PHP script to receive and insert registration and login details into MySQL database.
  4. Start a new android application project.
  5. Add internet permission.
  6. Start Coding.

Next step is to create a database on your online server and inside that database create a fresh table which will used to insert User registration details like i did in below screenshot.

3. Create PHP script to receive and insert registration and login details into MySQL database :

Code for DatabaseConfig.php file.

Code for UserRegistration.php file.

Code for UserLogin.php file.

4. Start a new android application project .

5. Add internet permission :

Open your Project’s AndroidManifest.xml file and add below internet permission.

Code for MainActivity.java file.

Code for UserLoginActivity.java file.

Code for DashboardActivity.java file.

Code for HttpParse.java file.

Code for activity_main.xml layout file.

Code for activity_user_login.xml layout file.

Code for activity_dashboard.xml file.

Code for AndroidManifest.xml file.

Screenshots:

Download Code

Related Posts