billmanh
billmanh
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
Hey thanks for that @triggan . Not my origional question but it's a solid bonus.
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
I suppose there might be some way to take the pre-baked container, source that in a new build file and copy your config files to it. That should work. I haven't started working on that thought. However, I think that's the pattern I'm going to try.
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
Windows. So I'm unblocked. Thanks for your help. However, @spmallette If I wanted to modify the credentials of the pre-baked container, how would I do that? Don't you have to build it in order to place the secruity file?
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
No description
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
@colegreer , if the server sends a "GraphBinaryMessageSerializerV1" and I'm using bytecode, then the differences between the platforms shouldn't matter, right? I should be able to conenct on a windows machine. Is there annother step that I'm missing? Perhaps the async loop thing?
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
Yup! That is exactly what I was origionally looking for. I was able to get that from looking at the docker buildfile, but thanks for confirming. I'm able to build now. Now if I can just get the client issue (which isn't my OG issue)
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
But that could be an issue with my cleint, not the server.
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
Yeah, I'm still getting the: ~\anaconda3\lib\site-packages\aiohttp\streams.py in read(self) 614 self._waiter = self._loop.create_future() 615 try: --> 616 await self._waiter 617 except (asyncio.CancelledError, asyncio.TimeoutError): 618 self._waiter = None ServerDisconnectedError: Server disconnected
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
Is that on Windows?
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected this is a windows/linux issue regarding handling async is that right?
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
Sounds like a client issue, but is there an issue with how I'm connecting?
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
Interestingly, was able to get the serializers settings from that, however still unable to connect. File "C:\Users\william.harding\anaconda3\envs\exoplanets\lib\site-packages\aiohttp\streams.py", line 604, in read await self._waiter aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x000001FD10DE6430>
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
Looking at the dockerfile, I see that the config looks like a buildtime configuration. Can you tell me which config it runs to get the correct serializes? CONF_FILE=$1
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
Yeah, my validation is just running a script with the python line: graph = Graph() g = graph.traversal().withRemote(DriverRemoteConnection('ws://localhost:8182/gremlin','g')) print('Number of nodes {}, number of edges {}.'.format(g.V().count().next(),g.E().count().next()))
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
@spmallette , is it possible to see the repo that generates that dockerfile? If I could see the buildfile and config then I might be able to answer my own question. I'll bet it's just written right there.
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
However, I did try that container and got a new error RuntimeError: Event loop is closed when running that image. Any idea? The server gave out a longer error [WARN] c.c.m.CsvReporter - Error writing to org.apache.tinkerpop.gremlin.server.GremlinServer.user-agent.Python/3.8 aiohttp/3.7.4 java.io.IOException: No such file or directory
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
I think my reasoning for not doing that was that I wouldn't be able to customize the security or configuration if it was a pre-baked image. I'll want to be able to edit the config process. Using the pre-baked container, can I build it with my own config file?
33 replies
ATApache TinkerPop
Created by billmanh on 8/26/2023 in #questions
Trying to run a local version for a test, what is the correct serializer?
Yeah, I'm creating a server (hosting), then I want to connect to it. I'm just looking for the right ioserializer that's current per my gremlin version.
33 replies