Hi Arnout,

I am not getting error in my logs nor when I do a postmen/chrome request
except this:

This site can’t be reached
dev.domainname.in refused to connect.

where-else http protocol works fine with the same deployment

On Tue, Apr 18, 2017 at 5:02 PM, Arnout Engelen <
arnout.enge...@lightbend.com> wrote:

> Hello,
>
> What error do you get when trying to access the https URL? Perhaps verbose
> 'curl' logging might be helpful?
>
>
> Kind regards,
>
> Arnout
>
> On Tue, Apr 18, 2017 at 7:39 AM, <abde...@wealthtech.in> wrote:
>
>> Well I am able to deploy the code to the Server and domain name is
>> pointing correctly to akka Http - so http://DomainName.COM is working
>> fine now ... but same isnt working with https URL i.e
>> https://DomainName.COM ..
>>
>> I am unable to figure out what am I missing as I have no error reported
>> in my logs.
>>
>>
>> On Monday, April 17, 2017 at 5:18:23 PM UTC+5:30, abd...@wealthtech.in
>> wrote:
>>>
>>> Hi,
>>>
>>> I have configured my AKKA Code to import and use SSL in its HTTP via
>>> SSLContext ....The SSL I have used is purchased from GeoTrust (Third Party)
>>> and SSL certificate is configured to serve for specific hostname / domain
>>> name like "tech.com" - How do I configure Akka to listen for this
>>> hostname and not for the IP Address directly - So that the SSL works as
>>> needed.
>>>
>>> problem faced: if I send a request using postman on http protocol it
>>> works well but https requests fails - as I havent dont any hostname
>>> configuration in Akka.
>>>
>>> I am getting some clue on http://doc.akka.io/docs/akk
>>> a-http/current/java/http/configuration.html but I am confused how do I
>>> use this configuration file in my code and following configuration on the
>>> above link makes me confuse
>>>
>>>  # The proxy configurations to be used for requests with the specified
>>>       # scheme.
>>>       proxy {
>>>         # Proxy settings for unencrypted HTTP requests
>>>         # Set to 'none' to always connect directly, 'default' to use the 
>>> system
>>>         # settings as described in 
>>> http://docs.oracle.com/javase/6/docs/technotes/guides/net/proxies.html
>>>         # or specify the proxy host, port and non proxy hosts as 
>>> demonstrated
>>>         # in the following example:
>>>         # http {
>>>         #   host = myproxy.com
>>>         #   port = 8080
>>>         #   non-proxy-hosts = ["*.direct-access.net"]
>>>         # }
>>>         http = default
>>>
>>>         # Proxy settings for HTTPS requests (currently unsupported)
>>>         https = default
>>>       }
>>>
>>>
>>>  # If this setting is empty the server only accepts requests that carry a
>>>     # non-empty `Host` header. Otherwise it responds with `400 Bad Request`.
>>>     # Set to a non-empty value to be used in lieu of a missing or empty 
>>> `Host`
>>>     # header to make the server accept such requests.
>>>     # Note that the server will never accept HTTP/1.1 request without a 
>>> `Host`
>>>     # header, i.e. this setting only affects HTTP/1.1 requests with an empty
>>>     # `Host` header as well as HTTP/1.0 requests.
>>>     # Examples: `www.spray.io` or `example.com:8080`
>>>     default-host-header = ""
>>>
>>>
>>> --
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/c
>> urrent/additional/faq.html
>> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to akka-user+unsubscr...@googlegroups.com.
>> To post to this group, send email to akka-user@googlegroups.com.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Arnout Engelen
> *Senior Software Engineer*
> E: arnout.enge...@lightbend.com
> T: https://twitter.com/raboofje
>
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
> current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Akka User List" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/akka-user/yPfP7c6Zloo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Abdeali Chandanwala

Wealth Technology & Services Pvt Ltd
Web: Wealthtech.in <http://wealthtech.in>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to