angular-http-batcher icon indicating copy to clipboard operation
angular-http-batcher copied to clipboard

service url always taking http:// instead of https://

Open arunangshude opened this issue 5 years ago • 3 comments

We are facing some issues. While calling the service url https:// endpoint it gets converted automatically to http:// and therefore getting 404 error.

arunangshude avatar Aug 28 '19 07:08 arunangshude

How do you reproduce this? I have used it with https endpoints without trouble.

On Wed, Aug 28, 2019, 17:50 arunangshude [email protected] wrote:

We are facing some issues. While calling the service url https:// endpoint it gets converted automatically to http:// and therefore getting 404 error.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jonsamwell/angular-http-batcher/issues/43?email_source=notifications&email_token=AA4F7IMLIYWBYPOUIXXZD3TQGYU4BA5CNFSM4IQ6EL32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HH3BWNA, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4F7IPTIKRVTCVIR2MYPMDQGYU4BANCNFSM4IQ6EL3Q .

jonsamwell avatar Aug 28 '19 11:08 jonsamwell

Hi Jon,

Thanks for you reply ☺

I did the same way which is documented. Below is the description of the urls

serviceUrl : is a azure APIM url (.Net WebApi app configured under azure APIM) batchEndpointUrl : is a azure web app url (.Net MVC Web App deployed in azure app services)

Earlier both url (serviceUrl, batchEndpointUrl) was http and it was in a single asp.net MVC web app. It was working fine.

Now our domains are configured with https and different app all together. Below is the error coming (for company policy I am not able to share actual urls).

HTTP/1.1 404 Not Found Content-Type: application/json; charset=utf-8

{"Message":"No HTTP resource was found that matches the request URI 'http:// ..../EventApi/ParticipationGroups/33690'.","MessageDetail":"No type was found that matches the controller named 'EventApi'."}

Please help to resolve this issue.

Thanks and Regards, Arun

On Wed, Aug 28, 2019 at 4:55 PM Jon Samwell [email protected] wrote:

How do you reproduce this? I have used it with https endpoints without trouble.

On Wed, Aug 28, 2019, 17:50 arunangshude [email protected] wrote:

We are facing some issues. While calling the service url https:// endpoint it gets converted automatically to http:// and therefore getting 404 error.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/jonsamwell/angular-http-batcher/issues/43?email_source=notifications&email_token=AA4F7IMLIYWBYPOUIXXZD3TQGYU4BA5CNFSM4IQ6EL32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HH3BWNA , or mute the thread < https://github.com/notifications/unsubscribe-auth/AA4F7IPTIKRVTCVIR2MYPMDQGYU4BANCNFSM4IQ6EL3Q

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jonsamwell/angular-http-batcher/issues/43?email_source=notifications&email_token=AIDILE32Q6PEOQQO6DQHBDLQGZOD5A5CNFSM4IQ6EL32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5KZHGI#issuecomment-525702041, or mute the thread https://github.com/notifications/unsubscribe-auth/AIDILE5GHMZKYIH46FSQZBDQGZOD5ANCNFSM4IQ6EL3Q .

-- Thanks and Regards, Arunangshu De.

arunangshude avatar Aug 28 '19 12:08 arunangshude

@arunangshude could you post the configuration code?

jonsamwell avatar Sep 02 '19 05:09 jonsamwell