Skip to main content
Question

For some reason the HTTPCaller doesn't yield any output on FME Server, but does on FME desktop

  • December 1, 2022
  • 2 replies
  • 108 views

joy
Enthusiast
Forum|alt.badge.img+14
  • Enthusiast

For some reason the .fmw script does work on FME desktop ( 2021.2.3) and does yield an output (in my case a geojson). When I import the script on FME Server (version 2021.2.4) then the script is completed without raising any error, but doesn't write the file on a map. I am quite sure that  the Published parameter "Destination JSON file" is correctly written. 

When I look at the view details tab after the script has been completed, I see a lot of statements with Nuke or TeeFactory. I read on the following link in the answer of merlingeorge: https://community.safe.com/s/question/0D54Q00009fDZGRSA4/disabled-nuker-1-50-teefactory- that it might have to do with version incompatibility. Might that also be the case in my situation? I would assume there wouldn't be much differences between FME desktop 2021.2.3 en 2021.2.4. By the way, some lines below have been omitted due to security concerns.

 

40	2022-12-1 15:38:40 | Creating writer for format:
41	2022-12-1 15:38:40 | Creating reader for format:
42	2022-12-1 15:38:40 | MULTI_READER(MULTI_READER): Will fail with first member reader failure
43	2022-12-1 15:38:40 | Using Multi Reader with keyword `MULTI_READER' to read multiple datasets
44	2022-12-1 15:38:40 | Using MultiWriter with keyword `MULTI_WRITER' to output data (ID_ATTRIBUTE is `multi_writer_id')
45	2022-12-1 15:38:40 | Writer output will be ordered by value of multi_writer_id
46	2022-12-1 15:38:40 | Loaded module 'Geometry_func' from file 'D:\Program Files\FMEServer\Server\fme\plugins/Geometry_func.dll'
47	2022-12-1 15:38:40 | FME API version of module 'Geometry_func' matches current internal version (3.8 20210302)
48	2022-12-1 15:38:40 | Loaded module 'HTTPFactory' from file 'D:\Program Files\FMEServer\Server\fme\plugins/HTTPFactory.dll'
49	2022-12-1 15:38:40 | FME API version of module 'HTTPFactory' matches current internal version (3.8 20210302)
50	2022-12-1 15:38:40 | Emptying factory pipeline
51	2022-12-1 15:38:40 | Creator_CREATED Disabled Nuker -1 16 (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)
52	2022-12-1 15:38:40 | Creator_for_Token_2_CREATED Brancher -1 17 (BranchingFactory): Branched 0 input features -- 0 features routed to the target factory, and 0 features routed to the fallback factory.
53	2022-12-1 15:38:40 | Creator_2_XML_Creator (CreationFactory): Created 1 features
54	2022-12-1 15:38:40 | Creator_2_Cloner (TeeFactory): Cloned 1 input feature(s) into 1 output feature(s)
55	2022-12-1 15:38:40 | Creator_2_CREATED Brancher -1 22 (BranchingFactory): Branched 1 input feature -- 1 feature routed to the target factory, and 0 features routed to the fallback factory.
56	2022-12-1 15:38:40 | _CREATOR_BRANCH_TARGET (TeeFactory): Cloned 1 input feature(s) into 1 output feature(s)
57	2022-12-1 15:38:40 | HTTPCaller_3 Output Transformer Output Nuker (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)
58	2022-12-1 15:38:40 | HTTPCaller_3 <REJECTED> Transformer Output Nuker (TeeFactory): Cloned 1 input feature(s) into 0 output feature(s)
59	2022-12-1 15:38:40 | HTTPCaller_2 (Disabled) Nuker (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)
60	2022-12-1 15:38:40 | HTTPCaller (Disabled) Nuker (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)
61	2022-12-1 15:38:40 | Destination Feature Type Routing Correlator (RoutingFactory): Tested 0 input feature(s), wrote 0 output feature(s): 0 matched merge filters, 0 were routed to output, 0 could not be routed.
62	2022-12-1 15:38:40 | Final Output Nuker (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)
63	2022-12-1 15:38:40 | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
64	2022-12-1 15:38:40 | Features Read Summary
65	2022-12-1 15:38:40 | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
66	2022-12-1 15:38:40 | ==============================================================================
67	2022-12-1 15:38:40 | Total Features Read 0
68	2022-12-1 15:38:40 | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
69	2022-12-1 15:38:40 | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
70	2022-12-1 15:38:40 | Features Written Summary
71	2022-12-1 15:38:40 | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
72	2022-12-1 15:38:40 | ==============================================================================
73	2022-12-1 15:38:40 | Total Features Written 0
74	2022-12-1 15:38:40 | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
75	2022-12-1 15:38:40 | Translation was SUCCESSFUL with 0 warning(s) (0 feature(s) output)
76	2022-12-1 15:38:40 | FME Session Duration0.4 seconds. (CPU0.1s user, 0.0s system)
77	2022-12-1 15:38:40 | END - ProcessID2116, peak process memory usage49868 kB, current process memory usage49868 kB

 

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+54

The line

58	2022-12-1 15:38:40 | HTTPCaller_3 <REJECTED> Transformer Output Nuker (TeeFactory): Cloned 1 input feature(s) into 0 output feature(s)

makes me think HTTPCaller_3 is outputting a rejected feature. What does it say? Connect a Logger transformer to the Rejected outputport to display the content of the rejected feature in the log.

 

With version differences, I do not expect this (server being slightly newer than desktop) to be the issue, but hard to say without testing.

 

About server 2021.2.4, please check the article Known Issue: FME Server missing validation which may result in an unwanted redirect upon login to determine if you should upgrade.


joy
Enthusiast
Forum|alt.badge.img+14
  • Author
  • Enthusiast
  • December 2, 2022
nielsgerrits wrote:

The line

58	2022-12-1 15:38:40 | HTTPCaller_3 <REJECTED> Transformer Output Nuker (TeeFactory): Cloned 1 input feature(s) into 0 output feature(s)

makes me think HTTPCaller_3 is outputting a rejected feature. What does it say? Connect a Logger transformer to the Rejected outputport to display the content of the rejected feature in the log.

 

With version differences, I do not expect this (server being slightly newer than desktop) to be the issue, but hard to say without testing.

 

About server 2021.2.4, please check the article Known Issue: FME Server missing validation which may result in an unwanted redirect upon login to determine if you should upgrade.

@nielsgerrits​  My colleague put a logger after the rejected output port and was able to solve the issue with the information from the logger. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings