Skip to content

Commit

Permalink
Suggest broader scope of causes in error message
Browse files Browse the repository at this point in the history
The gateway may return a 403 HTTP error not only when tunnel mode
is not enabled, but also when the realm is incorrect.
  • Loading branch information
DimitriPapadopoulos committed May 7, 2020
1 parent 6770ca1 commit 2e53c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ static void *ssl_read(void *arg)
* a PPP packet:
* HTTP/1.1 403 Forbidden
*/
log_error("This SSL-VPN portal does not allow tunnel mode.\n");
log_error("Could not authenticate to the gateway. Please make sure tunnel mode is allowed by the gateway, check the realm, etc.\n");
break;
}

Expand Down

0 comments on commit 2e53c8e

Please sign in to comment.