Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Getting Bad Request when I use a hostname. (400)

Featured Replies

Posted

Just noticed yesterday that when I try to bring up the nodelink website with a hostname it is failing.   The host is resolving fine via DNS supplied by pfsense and when I use IP:port address it also works fine.    

http://cairo:8090/index.htm returns:

Connection →close
Content-Length →35
Content-Type →text/html; charset=utf-8
Date →Sun, 01 Apr 2018 14:18:10 GMT
Server →Mono-HTTPAPI/1.0

Status: 400 Bad Request
Body: <h1>Bad Request (Invalid host)</h1>

 

2018-04-01 08:58:42 - ISY NodeLink Server v0.9.12 started [4]
2018-04-01 08:58:42 - Mono version: 5.10.1.20 (tarball Thu Mar 29 12:41:14 UTC 2018)
2018-04-01 08:58:42 - Web config server started (http://xxx.xxx.xxx.xxx:8090)

 

let me know if you can reproduce.

Thanks,

Bill B.

 

Edited by BillB66

  • Author

DNS resolution is really out of the picture by now.   The local webserver is not liking the hostname vs ip.   DNS already occurred locally via the local DNS server (pfSense)  to resolve the host name to ip and then connect to the server on the client side.

Thanks,

Bill B.

 

Archived

This topic is now archived and is closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.