question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Support non-IP address based development URLs

See original GitHub issue

Describe the bug

Since migrating to version 12 of the SDK it will no longer connect to Azurite in a docker container.

Exception or Stack Trace

dm-store_1                        | 2020-02-03 13:51:19.946 ERROR 1 --- [nio-8080-exec-2] u.g.h.d.errorhandler.ApiErrorAttributes  : Status code 501, "Path or Http-Method does not match any emulated command.
dm-store_1                        | Possible causes include
dm-store_1                        |   - missing account name path parameter
dm-store_1                        |   - Unsupported Http-Method on resource
dm-store_1                        |   - Unsupported / Not implemented "comp" query parameter on resource"

To Reproduce

Create a docker compose file with Azurite and try to access it using it’s container name.

For example: https://github.com/hmcts/rpa-em-ccd-orchestrator/blob/master/docker-compose-dependencies.yml#L152-L202

Code Snippet

This is the change that causes the problem:

https://github.com/Azure/azure-sdk-for-java/pull/6156/files#diff-c498bc9cb41a9cfda139edbe2bd692c9R105-R110

Expected behavior

It should be possible to use Azurite with a non-IP address connection string.

Screenshots

N/A

Setup (please complete the following information):

  • OS: Ubuntu 18.04
  • IDE : IntelliJ
  • Version of the Library used: 12.3.0

Additional context

Relates to #6140

Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
linusnortoncommented, Feb 3, 2020

Not quite, I am trying to use http://azure-storage-emulator-azurite:10000/devstoreaccount1 as part of a docker compose file that uses the Azurite container: https://hub.docker.com/_/microsoft-azure-storage-azurite.

It uses to work with version 8 but stopped when I upgraded to 12.2.0. Using 12.3.0 didn’t help either.

1reaction
JonathanGilescommented, Feb 3, 2020

Thanks for using our Azure SDK and reporting this issue. @rickle-msft will take a closer look at this issue and get back to you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What URLs does BugHerd support?
BugHerd supports most standard URLs and IP addresses. BugHerd can also handle URLs containing: subdomains. pathnames.
Read more >
530654 - Published Chrome Update URLs are not all-inclusive
Read firewall logs and see that Chrome is trying to update the update executables from an IP address that does not resolve from...
Read more >
Prepare Your Network or Web Server for iCloud Private Relay
iCloud Private Relay is a new internet privacy service built into iCloud that allows users to connect to and browse the web more...
Read more >
What is Web bug (Web beacon)? | Definition from TechTarget
A Web bug, also known as a Web beacon, is a file object that is placed on a Web page or in an...
Read more >
Support - Bug Search Tool Help - Cisco
You have reached the Help and FAQ page for Cisco Bug Search Tool (BST). ... Example: LAT does not work unless you have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found