Comments (3)
Hi @Xenopathic,
Thanks for reporting this problem.
We simply use URI
class to parse the given uri and create BoltServerAddress
from it.
Interestingly URI.create( "bolt://a_b:7687" ).getHost()
returns null
. This seems to be a JDK issue, see http://bugs.java.com/view_bug.do?bug_id=6587184.
We will investigate how to work around this problem. Is it possible for you to switch to -
instead of _
for now?
from neo4j-java-driver.
@lutovich Yes, thankfully GitLab CI also provides host aliases without underscores, so I don't have any problems, just thought that this was an interesting issue that should be raised as a bug
from neo4j-java-driver.
Thanks for raising this, I was previously unaware that Docker took this approach with URIs.
The RFCs relating to URI syntax, and more specifically those related to host naming, permit only alphanumerics, hyphens and dots in this portion of the URI however. Given that, I'm going to close this issue as a wontfix. We would be fighting something of an uphill battle with URI parsing libraries across all our supported languages if we chose to support this. I see this as something of a Docker quirk/issue instead.
from neo4j-java-driver.
Related Issues (20)
- Routing servers are not updated in time when opening a new session with a different database. HOT 3
- Neo4J Tests: Unable to connect Neo4J server in Tests with `@DataNeo4JTest` HOT 1
- Deadlock in BasicPullResponseHandler from neo4j-java-driver when used in a reactive way while cancelling unfinished Reactor subscription HOT 5
- Regression: Concurrent deletion of a Node no longer results in a TransientException HOT 4
- Unable to catch and properly handle timeout acquiring connection from pool exception
- Spring boot embedded neo4j: not able to connect from client when in docker container HOT 1
- Fatal error occurred in the pipeline HOT 1
- Changing the exception thrown to `RuntimeException` breaks binary / drop-in compatibility
- Invalid OSGi meta-data
- Message PULL .. cannot be handled by a session in the READY state HOT 7
- Java driver & Netty HOT 5
- Neo4j credential rotation during application runtime HOT 3
- Query execution threads are not interrupted/terminated when the driver is closed (neo4j driver version 5.9.0 and above) HOT 8
- Error in reactive flow when adding BlockHound HOT 7
- Possible to Encounter ConcurrentModificationException in SessionFactoryImpl HOT 9
- Use of ReflectionConfigurationResources results in warning starting with GraalVM for JDK 21 (23.1) HOT 3
- Application hang after Neo4j connection did not respond HOT 10
- Vulnerability in the dependency netty-codec HOT 4
- A transaction cannot run with threadpool HOT 4
- spring-boot-starter-data-neo4j(3.0.6)-> spring-data-neo4j(7.0.5)-> neo4j-java-driver(5.7.0) ->Cannot invoke "org.neo4j.driver.summary.InputPosition.line()" because "position" is null
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo4j-java-driver.