[Aerogear-users] Wildfly port change and Internet requests

Summers Pittman supittma at redhat.com
Wed Jul 20 08:50:56 EDT 2016


So I have Apache proxying SSL to a wildfly instance because I didn't want
to set up the same certificate in Wildfly.  I ended up having to add
"proxy-address-forwarding="true" to my http listener stanza.

I know it isn't the same thing you have but it sounds like a similar
problem IE WildFly isn't getting the https memo correctly.

On Tue, Jul 19, 2016 at 5:51 PM, Christopher Fahey <chris at dealerrewards.net>
wrote:

> So it seems that the problem revolves around the use of SSL in the
> settings.  You can administer and access it locally using HTTP but as soon
> as you access it from the internet, it requires SSL.  But now I changed it
> to require SSL all of the time, and I cannot log in at all since it says I
> need HTTPS to get to the login screen.  Is there a setting somewhere I can
> change to put it back the way it was?
>
> Christopher Fahey
> DealerRewards, Inc.
> Maryland Branch Office
> (410) 924-3185
> ------------------------------
> This electronic message transmission contains information from
> DealerRewards Inc. This message is confidential. It may also be privileged
> or otherwise protected by work-product immunity or other legal rules. If
> you have received it by mistake, please let us know by email reply and
> delete it from your system; you may not copy this message or disclose its
> contents to anyone.
> DISCLAIMER: Since 2006, the U.S. Government has been monitoring all
> internet communications. If you have information that you do not wish to
> have monitored, please send it using regular postal services to the address
> listed on our website.
> ------------------------------
> On 7/19/2016 12:48 PM, Christopher Fahey wrote:
>
> Thanks but that did not change anything.  I am still getting the same
> error both in the logs and in the browser after changing the baseUrl
> setting in Keycloak.  Any other thoughts?  I can access keycloak from the
> internet and my local network but cannot access Aerogear from the Internet,
> only the local network.
>
> Christopher Fahey
> DealerRewards, Inc.
> Maryland Branch Office
> (410) 924-3185
> ------------------------------
> This electronic message transmission contains information from
> DealerRewards Inc. This message is confidential. It may also be privileged
> or otherwise protected by work-product immunity or other legal rules. If
> you have received it by mistake, please let us know by email reply and
> delete it from your system; you may not copy this message or disclose its
> contents to anyone.
> DISCLAIMER: Since 2006, the U.S. Government has been monitoring all
> internet communications. If you have information that you do not wish to
> have monitored, please send it using regular postal services to the address
> listed on our website.
> ------------------------------
> On 7/19/2016 9:20 AM, Sebastien Blanc wrote:
>
> Looking at the logs, I think it's KeyCloak that can not resolve the UPS
> url since it's using a relative URL (/ag-push) and you change the port ...
> Try to go your Keycloak console and change the baseURL(and redirect URIs)
>  of the unified-push-server-js application.  You might some CORS issues
> after that but at least you can try.
>
>
> On Tue, Jul 19, 2016 at 4:04 PM, Christopher Fahey <
> <chris at dealerrewards.net>chris at dealerrewards.net> wrote:
>
>> Here is the log.  I believe that Wildfly is serving up the error since I
>> can get through to Wildfly when I initially try that URL without the
>> application path.
>>
>> Chris
>>
>>
>> On 7/18/2016 3:45 PM, Summers Pittman wrote:
>>
>>
>>
>> On Mon, Jul 18, 2016 at 4:38 PM, Christopher Fahey <
>> chris at dealerrewards.net> wrote:
>>
>>> Hopefully someone can help me.  I want to progress to the next step of
>>> development by configuring our server to handle requests from over the
>>> internet.  Currently the server is only handling internal lan requests but
>>> it is somewhat limiting.  The port number of 8080 is not an available port
>>> number for our IP address through the firewall so I changed the Wildfly
>>> port number to 8623 and altered the firewall accordingly.   I can still
>>> access the AeroGear server on the local lan IP using the new port number
>>> and I can access the Wildfly server over the internet on port 8623 but when
>>> I try to access the application on the port over the internet, I receive an
>>> error "Internal Server Error".
>>>
>>
>> Can you get us a gist of the logs?  That may help.
>>
>> Additionally, is the request that goes through the firewall actually
>> making it to WildFly.  IE is WildFly serving the internal server error.
>>
>>
>>>
>>> Does anyone know why I am receiving this error and how to fix it?  I am
>>> familiar with Tomcat but clueless about Wildfly and even more so on how
>>> AeroGear works within Wildfly.  Any help is appreciated.
>>>
>>> Christopher Fahey
>>>
>>> --
>>>
>>> Christopher Fahey
>>> DealerRewards, Inc.
>>> Maryland Branch Office
>>> (410) 924-3185 <%28410%29%20924-3185>
>>> ------------------------------
>>> This electronic message transmission contains information from
>>> DealerRewards Inc. This message is confidential. It may also be privileged
>>> or otherwise protected by work-product immunity or other legal rules. If
>>> you have received it by mistake, please let us know by email reply and
>>> delete it from your system; you may not copy this message or disclose its
>>> contents to anyone.
>>> DISCLAIMER: Since 2006, the U.S. Government has been monitoring all
>>> internet communications. If you have information that you do not wish to
>>> have monitored, please send it using regular postal services to the address
>>> listed on our website.
>>> ------------------------------
>>>
>>> _______________________________________________
>>> Aerogear-users mailing list
>>> Aerogear-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>
>>>
>>
>>
>> _______________________________________________
>> Aerogear-users mailing listAerogear-users at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/aerogear-users
>>
>>
>>
>> _______________________________________________
>> Aerogear-users mailing list
>> Aerogear-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>
>>
>
>
> _______________________________________________
> Aerogear-users mailing listAerogear-users at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/aerogear-users
>
>
>
>
> _______________________________________________
> Aerogear-users mailing listAerogear-users at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/aerogear-users
>
>
>
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20160720/ed1d09f1/attachment.html 


More information about the Aerogear-users mailing list