Skip to main content
added 53 characters in body
Source Link

The problem seems to be related to accessing the internet becausegenerally and not just accessing the token provider. Indeed, executing the following script within the container returns "Offline"

The problem seems to be related to accessing the internet because executing the following script within the container returns "Offline"

The problem seems to be related to accessing the internet generally and not just accessing the token provider. Indeed, executing the following script within the container returns "Offline"

added 321 characters in body
Source Link

The problem seems to be related to accessing the internet because executing the following script within the container returns "Offline"

echo -e "GET http://google.com HTTP/1.0\n\n" | nc google.com 80 > /dev/null 2>&1

if [ $? -eq 0 ]; then
    echo "Online"
else
    echo "Offline"
fi
Offline

The problem seems to be related to accessing the internet because executing the following script within the container returns "Offline"

echo -e "GET http://google.com HTTP/1.0\n\n" | nc google.com 80 > /dev/null 2>&1

if [ $? -eq 0 ]; then
    echo "Online"
else
    echo "Offline"
fi
Offline
added 201 characters in body
Source Link
volumes:
- ./resolv.conf:/etc/resolv.conf 
``
This

This also adds the entries in the /etc/resolv.conf but the app still cannot get the token.

The error is

An error alsohas addsoccurred thein entriesTimed inKeyCloak theAuthentificated `/etc/resolv.conf`Service
api_1 but the| app still cannot get the token System.Net.Http.HttpRequestException: Resource temporarily unavailable (oauth2.XXX.com:443)
volumes:
- ./resolv.conf:/etc/resolv.conf 
``
This  also adds the entries in the `/etc/resolv.conf` but the app still cannot get the token. 
volumes:
- ./resolv.conf:/etc/resolv.conf 

This also adds the entries in the /etc/resolv.conf but the app still cannot get the token.

The error is

An error has occurred in Timed KeyCloak Authentificated Service
api_1  |       System.Net.Http.HttpRequestException: Resource temporarily unavailable (oauth2.XXX.com:443)
added 1 character in body
Source Link
Loading
added 6 characters in body
Source Link
Loading
added 497 characters in body
Source Link
Loading
added 90 characters in body
Source Link
Loading
added 30 characters in body
Source Link
Loading
added 8 characters in body
Source Link
Loading
added 18 characters in body
Source Link
Loading
added 20 characters in body
Source Link
Loading
Source Link
Loading